-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
User Story
As a developer setting up a new project (or adding dev-sop-engine to an existing one), I want to run npx dev-sop-engine to scaffold the required config files interactively or with sensible defaults.
Current Pain Point
Today, onboarding requires:
- Manually copying
.claude/directory structure - Creating
sop.jsonwith rules, logging, skills, agents config - Creating
.mcp.jsonwith server declarations - Setting up
settings.jsonfor hook routing - Copying hook scripts (engine.sh, validators, loggers)
This is error-prone and requires understanding the full structure upfront.
Proposed Solution
npx dev-sop-engine init (or just npx dev-sop-engine) that:
-
Interactive mode (default): Prompts for:
- Which rules to enable (require-issue, no-main-commit, push-before-switch)
- Whether to enable logging
- Which skills/agents to include
- MCP server config
-
Defaults mode (
--defaultsor-y): Generates a working starter config with:.claude/directory with sop.json, settings.json.claude/hooks/with engine.sh and basic validators.mcp.jsonat project root- Sensible defaults enabled
-
Minimal mode (
--minimal): Just the skeleton files without hooks/validators
Example Usage
# Interactive setup
npx dev-sop-engine init
# Quick start with defaults
npx dev-sop-engine init --defaults
# Minimal skeleton only
npx dev-sop-engine init --minimalContext
Discovered this need while setting up openclaw fork - had to use an agent to explore ~/dev-sop-engine structure and understand what to copy. This flow should be streamlined.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels