一键导入
spec
Spec
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Spec
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Cut a PPDS release — CHANGELOG refresh, version bump, tag push sequence, CI monitoring, post-publish verification. Use when preparing a new prerelease or stable release across CLI, TUI, MCP, Extension, and NuGet libraries.
Triage and merge open dependabot PRs per docs/MERGE-POLICY.md — classify each PR (auto-merge / verify-then-merge / manual review), enable auto-merge for safe ones, run targeted test suites for risky ones, and surface anything needing human judgment. Use when there's a backlog of dependabot PRs, after a quiet period, or as a routine drain.
AI self-verification of implemented work across surfaces (extension, CLI, MCP, TUI, workflow). Use after implementation to verify code works in its runtime environment.
Create, triage, and manage GitHub issues per PPDS backlog conventions. Use when creating issues, grooming the backlog, reviewing what to work on next, or filing bugs.
Brainstorm ideas into specs and plans through collaborative dialogue. Use when starting a new feature, exploring an idea, or designing a system — before any implementation.
Gates
| name | spec |
| description | Spec |
Create, update, or reconcile a specification following PPDS conventions. Three modes: forward (create new), update (modify existing), reconcile (align spec with code). Ensures consistency, cross-references related specs, and enforces numbered acceptance criteria.
$ARGUMENTS = spec name (e.g., connection-pooling for existing, new-feature for new)
Read these files before doing anything else:
specs/CONSTITUTION.md — non-negotiable principles (includes Spec Laws SL1–SL5)specs/SPEC-TEMPLATE.md — structural templatespecs/*.md and grep each for **Code:** lines to build a code-path-to-spec map. This replaces the README index.Forward mode — spec does not exist (specs/$ARGUMENTS.md not found):
Update mode — spec exists, user requests specific changes:
Code: header lineReconcile mode — spec exists, user wants to align spec with code (/spec <name> --reconcile or when significant code divergence is detected):
Code: pathsUse the code-path-to-spec map from Step 1 to find related specs. Match the spec's Code: paths against the directories being touched. Always include specs/architecture.md and specs/CONSTITUTION.md.
For new specs: Walk through the template section by section with the user. One section at a time, ask if it looks right before moving to the next. Follow the brainstorming pattern — multiple choice questions when possible, open-ended when needed.
For existing specs: Present the drift analysis and proposed changes. Get user approval before modifying.
For both:
This is a HARD GATE. The spec is not complete without:
If the user tries to skip ACs, remind them: Constitution I3 requires numbered acceptance criteria before implementation begins.
specs/$ARGUMENTS.mdspecs/README.md by running python scripts/generate-spec-readme.py (or manually scraping frontmatter from all specs if the script doesn't exist yet)docs(specs): add/update {spec-name} specification
Co-Authored-By: {use the format from the system prompt}