zxdxjtu/harness/sdd-init
Claude Code and agent skill by zxdxjtu/harness
- community
Checking that the SKILL.md file is still in the repository.
Initialize SDD harness for a project — scan codebase, generate config, full-spec, full-design
Install
npx vskill@latest install zxdxjtu/harness/sdd-initSKILL.md
SDD Init — Project Initialization
You are initializing the SDD (Spec-Driven Development) harness for this project. This is a one-time setup that scans the codebase and creates the foundational documents.
Parameter: $ARGUMENTS — optional project type override
Step 1: Check Existing State
If .harness/config.json already exists:
- Read it and show current configuration to user
- Ask if they want to re-initialize (this will overwrite existing config)
- If no → exit with "Harness already initialized. Run
/proposalto start a new feature."
Step 2: Create Directory Structure
Step 3: Scan Codebase & Detect Project Type
Analyze the repository to auto-detect:
- Project type: Check for indicators:
package.jsonwith both client/server dirs →fullstackpackage.jsonwith express/fastify/koa →apipackage.jsonwithmain/exportsfields, no server →library.harness/baseline/exists →clonepubspec.yamlor React Native config →mobilesetup.py/pyproject.tomlwith FastAPI/Django →apigo.modwith net/http →api
- Tech stack: List languages, frameworks, databases detected
- Test framework: Check for jest, vitest, mocha, pytest, go test, etc.
- Build/lint commands: Read package.json scripts, Makefile, etc.
If $ARGUMENTS includes --type, use that override instead of auto-detection.
Present findings to user via AskUserQuestion:
- "检测到项目类型: {type},技术栈: {stack}。是否正确?"
- Let user confirm or override
Step 4: Generate config.json
Write .harness/config.json:
Step 5: Generate Full Spec (Baseline)
Scan the codebase and generate .harness/full-spec.md — a high-level specification of the EXISTING project:
Step 6: Generate Full Design (Baseline)
Generate .harness/full-design.md — a high-level design document of the existing architecture:
Step 7: Present Summary
Show the user:
- Config summary (project type, tech stack, eval dimensions)
- Module count and key modules found
- Existing feature count
Then:
Ask: "初始化完成。是否要开始一个新 Feature?(我会引导你进入需求设计阶段)"
If user confirms → execute /proposal logic directly (Auto-Navigate).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sdd-init/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zxdxjtu/harness/sdd-init)