From f80839cd99bf602d7cbe9a53b0086b89af5978d9 Mon Sep 17 00:00:00 2001 From: Rongsong Shen Date: Mon, 11 May 2026 08:19:42 +0000 Subject: [PATCH] add cc-std --- CLAUDE.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 1f183f46..8868b2ca 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -115,3 +115,50 @@ Rules: - If graphify-out/wiki/index.md exists, navigate it instead of reading raw files - For cross-module "how does X relate to Y" questions, prefer `graphify query ""`, `graphify path "" ""`, or `graphify explain ""` over grep — these traverse the graph's EXTRACTED + INFERRED edges instead of scanning files - After modifying code files in this session, run `graphify update .` to keep the graph current (AST-only, no API cost) + + +# Agentic SDLC and Spec-Driven Development + +Kiro-style Spec-Driven Development on an agentic SDLC + +## Project Context + +### Paths +- Steering: `.kiro/steering/` +- Specs: `.kiro/specs/` + +### Steering vs Specification + +**Steering** (`.kiro/steering/`) - Guide AI with project-wide rules and context +**Specs** (`.kiro/specs/`) - Formalize development process for individual features + +### Active Specifications +- Check `.kiro/specs/` for active specifications +- Use `/kiro:spec-status [feature-name]` to check progress + +## Development Guidelines +- Think in English, generate responses in English. All Markdown content written to project files (e.g., requirements.md, design.md, tasks.md, research.md, validation reports) MUST be written in the target language configured for this specification (see spec.json.language). + +## Minimal Workflow +- Phase 0 (optional): `/kiro:steering`, `/kiro:steering-custom` +- Phase 1 (Specification): + - `/kiro:spec-init "description"` + - `/kiro:spec-requirements {feature}` + - `/kiro:validate-gap {feature}` (optional: for existing codebase) + - `/kiro:spec-design {feature} [-y]` + - `/kiro:validate-design {feature}` (optional: design review) + - `/kiro:spec-tasks {feature} [-y]` +- Phase 2 (Implementation): `/kiro:spec-impl {feature} [tasks]` + - `/kiro:validate-impl {feature}` (optional: after implementation) +- Progress check: `/kiro:spec-status {feature}` (use anytime) + +## Development Rules +- 3-phase approval workflow: Requirements → Design → Tasks → Implementation +- Human review required each phase; use `-y` only for intentional fast-track +- Keep steering current and verify alignment with `/kiro:spec-status` +- Follow the user's instructions precisely, and within that scope act autonomously: gather the necessary context and complete the requested work end-to-end in this run, asking questions only when essential information is missing or the instructions are critically ambiguous. + +## Steering Configuration +- Load entire `.kiro/steering/` as project memory +- Default files: `product.md`, `tech.md`, `structure.md` +- Custom files are supported (managed via `/kiro:steering-custom`)