一键导入
summarize
Use when a pipeline phase completes and needs an audit trail summary. Called by other skills, not directly by users.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when a pipeline phase completes and needs an audit trail summary. Called by other skills, not directly by users.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when a skill needs step tracking, progress visibility, and resume support within a single phase. Called by skills, not directly by users.
Use when breaking down a project phase into stories with acceptance criteria, creating ADRs, or planning infrastructure work. Triggers on /plan, story breakdown, detailed plan, architecture doc.
Use when generating, editing, or merging Low-Level Design (LLD) documents at `docs/lld/<component>.md` or `docs/shield/<feature>/lld-<component>.md`. Triggers on /lld command (Path A) and on /plan TRD-driven authoring (Path B, M2 plan). Owns the backend and infra templates, atomic write, provenance stamp, and §14 Changelog convention.
Use when authoring a new PRD or upgrading a lean PRD to standard. Walks user through 20-section problem-first scaffold (or 10-section lean), pre-populates from prior /research transcript if present, defers Terminologies (§2) until after the rest is drafted (auto-fills from research glossary + scan of body), invokes shield:story-coverage between Sections 6 and 8 and shield:milestone-coverage between Sections 8 and 15, prompts for story Type (new/enhancement/existing), supports custom team templates via .shield.json. Triggers on /prd, write a PRD, author a PRD.
Use when the user invokes /backlog or asks to capture, view, promote, or remove an idea from the project backlog at docs/shield/backlog.json. Triggers on /backlog add|view|remove|promote and on agent-side "capture this as a backlog entry" calls during research/PRD/plan/implement flows.
Use when a plan, architecture doc, or execution plan exists and needs expert review before implementation. Produces a scored analysis with a P0-gated verdict and an enhanced plan. Triggers on /plan-review, review my plan, document review.
| name | summarize |
| description | Use when a pipeline phase completes and needs an audit trail summary. Called by other skills, not directly by users. |
Write the summary using the Write tool to exactly this path:
{output_dir}/{feature}/summary/{N}-{slug}/summary.md
Where {output_dir} comes from .shield.json output_dir field (default docs/shield), {feature} is the feature folder name ({feature-name}-YYYYMMDD), {N} is a sequential number, and {slug} is a short kebab-case descriptor (e.g., 1-research, 2-plan-review). Do NOT use any other path, filename, or directory. The Write tool creates directories automatically.
After writing, update {output_dir}/manifest.json and regenerate {output_dir}/index.html.
Called automatically by each phase's orchestrator at the end of execution. Not invoked directly by users.
The orchestrator passes:
phase_name: The pipeline phase that just completed (research, plan, plan-review, sync, implement-step-N, review-step-N, final-review)phase_output: Structured data about what was doneproject_name: From .shield.jsonrun_id: The current run identifier (date-topic){output_dir}/{feature}/summary/{N}-{slug}/summary.md# <Phase Name> Summary
**Run:** <run_id>
**Date:** <timestamp>
## What was done
- Bullet 1
- Bullet 2
## Key decisions
- Decision 1 (if any)
## Findings
- Finding 1 (if any review findings)
## Next
- What the next phase will do
When phase_name is plan, replace the generic "What was done" bullets with the plan-specific template below. Read the sidecar at {output_dir}/{feature}/plan.json to populate the structural counts.
# Plan Summary
**Run:** <run_id>
**Date:** <timestamp>
## What was done
- **Plan:** <plan name> (<phase>)
- **Milestones (N):** M1 Login core; M2 Password recovery (depends on M1); …
_(Omit this bullet entirely when `sidecar.milestones` is empty.)_
_(For each milestone: `<id> <name>`. Append ` (depends on <id1>, <id2>)` only when depends_on is non-empty.)_
- **Epics:** N epic(s) — <Epic-1 name>, <Epic-2 name>, …
- **Stories:** N total (N ready, N in-progress, N done)
- Architecture doc and detailed execution plan written to <relative path>
## Key decisions
- Decision 1 (if any)
## Next
- Suggested next step (e.g., /plan-review, /pm-sync)
Milestone rendering rules:
sidecar.milestones has ≥ 1 entry → render the Milestones bullet: - **Milestones (N):** M1 <name>; M2 <name> (depends on M1); …sidecar.milestones is empty ([]) → omit the Milestones bullet entirely (back-compat path, no milestones defined)sidecar.milestones.length<id> <name> separated by ; . Append (depends on <ids>) when depends_on is non-empty for that milestone.