一键导入
new-feature
Create a new feature with proposal, retrospective, and branch. Use when starting new development work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new feature with proposal, retrospective, and branch. Use when starting new development work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Parallel map-reduce bulk ingest for large source sets. Map phase dispatches read-only knowledge-extractor agents (≤N-wide, default Haiku) emitting per-source JSON extracts; Python routes extracts by target library file (fuzzy-merging new topics, pre-allocating new files, flagging oversized topics); reduce phase dispatches one agent-knowledge-updater per file (parallel, one writer per file); single shelf-index rebuild + one log.md entry. Resumable. Supersedes kb-ingest-batch.
Initialise a project for knowledge base use. Appends the [Knowledge Base] section to the project's CLAUDE.md, creates the library/ directory structure, optionally seeds with three example library files from the Agentic SDLC research, and reports next steps. Run once after installing sdlc-knowledge-base.
Drive agent-knowledge-updater over a batch of staged files in library/raw/. Tracks progress in .batch-progress.json for resume support. Sequential by default; --parallel <N> opt-in (max 5). Single shelf-index rebuild and one consolidated log.md entry at the end.
Health-check the project knowledge base. Looks for contradictions between files, stale claims that newer sources have superseded, orphan files with no inbound cross-references, important concepts mentioned but lacking their own page, missing cross-references, and data gaps. Returns a structured report; does not auto-fix.
Stage source files into library/raw/, converting non-markdown formats via markitdown (PDF/DOCX/PPTX/XLSX/HTML/CSV) or pandoc (TeX/EPUB/RST/ORG). Adds provenance frontmatter. No agent dispatch.
Pure-Python knowledge base statistics dashboard. Reads shelf-index and log.md; emits Inventory, Layer distribution, Domain distribution, Recent Activity, and Staleness sections. No agent dispatch. Read-only.
| name | new-feature |
| description | Create a new feature with proposal, retrospective, and branch. Use when starting new development work. |
| disable-model-invocation | false |
| argument-hint | <number> <name> [title] |
Create a new feature with all required artifacts. Arguments:
$0 — Feature number (e.g., 70)$1 — Feature name for branch (e.g., plugin-migration)$2+ — Optional title (defaults to name with spaces)Create the feature proposal at docs/feature-proposals/$0-$1.md
FEATURE_NUMBER → $0FEATURE_NAME → $1FEATURE_TITLE → $2 (or derive from $1 by replacing hyphens with spaces)CREATED_DATE → today's date (YYYY-MM-DD)Create the retrospective at retrospectives/$0-$1.md
Create the feature branch
git checkout main
git pull
git checkout -b feature/$1
/sdlc-core:validate --syntax
If the validate skill is not available (e.g., first-time setup), run the inline fallback:
python -c "
import ast, pathlib
for f in pathlib.Path('.').rglob('*.py'):
if '.venv' in str(f): continue
ast.parse(f.read_text())
print('Syntax OK')
"
If .github/workflows/ does not exist or contains no workflow files:
No CI/CD workflow found. Run /sdlc-core:setup-ci to add GitHub Actions validation.