mit einem Klick
init
Initialize SDP in a new or existing project
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
Initialize SDP in a new or existing project
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
Execute ONE executable leaf workstream with TDD, guard enforcement, and ws-verdict output
Multi-agent quality review (QA + Security + DevOps + SRE + TechLead + Documentation + PromptOps)
Execute ONE executable leaf workstream with TDD, guard enforcement, and ws-verdict output
Multi-agent quality review (QA + Security + DevOps + SRE + TechLead + Documentation + PromptOps)
Software architect for system boundaries, design patterns, and integration tradeoffs.
Beads task tracker integration for SDP workflows.
| name | init |
| description | Initialize SDP in a new or existing project |
| version | 1.0.0 |
| changes | [{"Initial release":"project detection, config scaffolding, harness setup"}] |
Initialize SDP (Spec-Driven Protocol) in the current project directory.
When user invokes @init or sdp init:
Auto-detect project characteristics:
# Detect language
if [ -f "go.mod" ]; then LANG="go"
elif [ -f "pyproject.toml" ] || [ -f "requirements.txt" ]; then LANG="python"
elif [ -f "pom.xml" ] || [ -f "build.gradle" ]; then LANG="java"
elif [ -f "package.json" ]; then LANG="nodejs"
elif [ -f "Cargo.toml" ]; then LANG="rust"
else LANG="unknown"
fi
# Detect framework (language-specific)
# Detect existing SDP artifacts
Create the following (skip existing):
docs/
roadmap/ROADMAP.md # Feature roadmap
workstreams/ # Workstream tracking
drafts/ # Discovery drafts
.sdp/ # SDP internal state
checkpoints/
AGENTS.md # Agent instructions (harness-neutral)
For each selected harness, create appropriate config:
.claude/settings.json (hooks), .claude/commands/ (slash commands).codex/ with symlinks to prompts/skills/.cursor/ with .cursorrules and skill symlinks.opencode/opencode.json with agent cardsAll harness configs point to the same canonical source: prompts/skills/ and prompts/agents/.
Based on detected language, set up appropriate quality gate commands:
| Language | Build | Test | Lint |
|---|---|---|---|
| Go | go build ./... | go test ./... | go vet ./... |
| Python | pip install . | pytest | ruff check . |
| Node.js | npm run build | npm test | npm run lint |
| Rust | cargo build | cargo test | cargo clippy |
| Java | mvn compile | mvn test | mvn checkstyle:check |
Write the detected gates into AGENTS.md.
If beads selected:
bd init
sdp health passes| Flag | Description |
|---|---|
--auto | Skip all questions, accept defaults from detection |
--lang <lang> | Force specific language |
--harness <list> | Comma-separated list of harnesses to configure |
SDP initialized: {project_name}
Language: {detected}
Harnesses: {configured list}
Quality gates: {build}, {test}, {lint}
Issue tracker: {selected}
Next steps:
@vision "your product idea" # Start from scratch
@reality --quick # Analyze existing codebase
@feature "add X" # Plan a feature
| Symptom | Fix |
|---|---|
| Skill produces no output | Re-run @init with --auto flag to skip prompts; verify you have write permissions in current directory |
| Harness config not created | Check harness CLI is installed; re-run @init --harness <name> for missing harness |
| "bd init fails" | Verify beads CLI installed (bd --version); run bd init manually |
| Quality gates not detected | Manually specify: @init --lang <lang> |