sdd-init
Initialize SDD harness for a project — scan codebase, generate config, full-spec, full-design
Skill by zxdxjtu
Chalk Labs
Need help deploying sdd-init?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zxdxjtu-sdd-init
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/sdd-init
What's inside
- Skill name
sdd-init- Description
- Initialize SDD harness for a project — scan codebase, generate config, full-spec, full-design
- License
- MIT
- Instructions
- 147 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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
```bash
ls .harness/config.json 2>/dev/null
```
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 `/proposal` to start a new feature."
## Step 2: Create Directory Structure
```bash
mkdir -p .harness/specs .harness/designs .harness/evidence .harness/reviews .harness/evolution
```
## Step 3: Scan Codebase & Detect Project Type
Analyze the repository to auto-detect:
1. **Project type**: Check for indicators:
- `package.json` with both client/server dirs → `fullstack`
- `package.json` with express/fastify/koa → `api`
- `package.json` with `main`/`exports` fields, no server → `library`
- `.harness/baseline/` exists → `clone`
- `pubspec.yaml` or React Native config → `mobile`
- `setup.py` / `pyproject.toml` with FastAPI/Django → `api`
- `go.mod` with net/http → `api`
2. **Tech stack**: List languages, frameworks, databases detected
3. **Test framework**: Check for jest, vitest, mocha, pytest, go test, etc.
4. **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`:
```json
{
"project_type": "{detected or user-specified}",
"tech_stack": ["{list of detected technologies}"],
"eval_dimensions": "{project_type mapping: fullstack→fullstack, api→api-service, library→library, clone→clone-visual}",
"test_framework": "{detected}",
"test_command": "{detected, e.g. npm test}",
"build_command": "{detected, e.g. npm run build}",
"lint_command": "{detected, e.g. npm run lint}",
"dev_url": "{if applicable, e.g. http://localhost:3000}",
"stewardship_enabled": true,
"entropy_cleanup_enabled": true,
"evolution": {
"spec_template_version": 1,
"iteration_count": 0
}
}
```
## Step 5: Generate Full Spec (Baseline)
Scan the codebase and generate `.harness/full-spec.md` — a high-level specification of the EXISTING project:
```markdown
# Project Specification — {project name}
## Generated: {ISO timestamp}
## Status: baseline
## Overview
{1-2 paragraph description of what this project does, based on README, code structure, and key files}
## Module Inventory
| Module | Path | Responsibility | Key Dependencies |
|--------|------|---------------|-----------------|
{one row per top-level module/directory}
## Existing Features
{List of existing features/capabilities detected from code, routes, components, etc.}
## Architecture Summary
{High-level architecture: monolith/microservice, frontend framework, backend framework, DB, etc.}
## Conventions Detected
- Naming: {camelCase/snake_case/etc.}
- File organization: {by feature/by type}
- Error handling pattern: {detected pattern}
- State management: {if applicable}
```
## Step 6: Generate Full Design (Baseline)
Generate `.harness/full-design.md` — a high-level design document of the existing architecture:
```markdown
# Project Design — {project name}
## Generated: {ISO timestamp}
## Status: baseline
## Architecture Diagram
{ASCII diagram of major components and their relationships}
## Module Dependency Graph
{ASCII diagram showing module dependencies}
## Data Model Summary
{Key entities and their relationships, if detectable}From zxdxjtu/harness, MIT.
More from zxdxjtu/harness
- 0.466score
tdd-align
zxdxjtu
Generate three-layer tests from spec — tests are the alignment contract
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
entropy-clean
zxdxjtu
Post-wave entropy cleanup — remove debug artifacts, enforce style, ensure git hygiene
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
eval-fix
zxdxjtu
Adversarial fix loop: read eval report → fix gaps → re-evaluate → repeat until convergence
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
evaluate
zxdxjtu
Adversarial evaluation: compare dev product against reference baseline using Playwright MCP
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
harness-init
zxdxjtu
Initialize Harness for your project — learn repo, team norms, generate customized framework
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
harness-status
zxdxjtu
Restore state, health check, determine current phase, suggest next step
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
proposal
zxdxjtu
Start a new feature proposal — guided spec + design generation
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
spec-review
zxdxjtu
Multi-person spec review with line-by-line comments and resolution tracking
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
steward
zxdxjtu
Module stewardship guardian — check code changes against AGENT.md boundaries and contracts
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
archive
zxdxjtu
Phase 3: merge spec/design deltas, code review, atomic commits, push, and trigger self-evolution
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
baseline
zxdxjtu
Capture baseline of a reference product using Playwright MCP for clone/replicate scenarios
SkillDFreshness: D★ 8Claude Code +9 - 0.463score
help
zxdxjtu
Explain Harness plugin and available commands
SkillDFreshness: D★ 8Claude Code +9
Signals
- Stars
- 8
- Forks
- 3
- Open issues
- 1
- Last commit (this folder)
- Mar 28, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/zxdxjtu/harness
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from zxdxjtu
- 0.466score
eval-fix
zxdxjtu
Adversarial fix loop: read eval report → fix gaps → re-evaluate → repeat until convergence
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
evaluate
zxdxjtu
Adversarial evaluation: compare dev product against reference baseline using Playwright MCP
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
baseline
zxdxjtu
Capture baseline of a reference product using Playwright MCP for clone/replicate scenarios
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
entropy-clean
zxdxjtu
Post-wave entropy cleanup — remove debug artifacts, enforce style, ensure git hygiene
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
archive
zxdxjtu
Phase 3: merge spec/design deltas, code review, atomic commits, push, and trigger self-evolution
SkillDFreshness: D★ 8Claude Code +9 - 0.466score
harness-init
zxdxjtu
Initialize Harness for your project — learn repo, team norms, generate customized framework
SkillDFreshness: D★ 8Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get sdd-init running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
sdd-init skill. Agent Mart. https://agentmart.dev/skills/zxdxjtu-sdd-init (last updated 2026-10-24)