sectional-deep-review
Skill2 starsChanged 6 days agoMITView on GitHub
Deep review for a large foundation spec (>1000 lines, many subsections) by splitting it into pattern groups + a final full-spec composition pass. Triggers when reviewing a large foundation spec that needs pattern-group splitting (review execute, type=sectional); NOT for a small spec (use spec_board).
In this repository78 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adversary-test-planSkill
- api-and-interface-designSkill
- architecture-coherence-reviewSkill
- cavemanSkill
- consistency-checkSkill
- cross-spec-consistency-checkSkill
- deprecation-and-migrationSkill
- documentation-and-adrsSkill
- frontend-design-ttySkill
- frontend-ui-engineeringSkill
- get-api-docsSkill
- impl-plan-reviewSkill
- improve-codebase-architectureSkill
- knowledge-captureSkill
- knowledge-processorSkill
- pre-build-spec-auditSkill
- retroactive-spec-updateSkill
- scopingSkill
- sectional-deep-reviewSkill
- session-diagnosisSkill
- shipping-and-launchSkill
- show-open-tasksSkill
- source-spec-reduceSkill
- spec-authoringSkill
- task-creationSkill
- task-status-updateSkill
- transparency-headerSkill
- ux-authoringSkill
- youtube-subtitlesSkill
- adversary-test-planSkill
- api-and-interface-designSkill
- architecture-coherence-reviewSkill
- bedrock-drillSkill
- bootSkill
- cavemanSkill
- close-retroSkill
- code-review-boardSkill
- consistency-checkSkill
- convergence-loopSkill
- councilSkill
- cross-spec-consistency-checkSkill
- deprecation-and-migrationSkill
- documentation-and-adrsSkill
- frameSkill
- frontend-design-ttySkill
- frontend-ui-engineeringSkill
- get-api-docsSkill
- impl-plan-reviewSkill
- improve-codebase-architectureSkill
- knowledge-captureSkill
- knowledge-processorSkill
- pre-build-spec-auditSkill
- python-code-quality-enforcementSkill
- retroactive-spec-updateSkill
- return-summarySkill
- risk-followup-routingSkill
- root-cause-fixSkill
- scopingSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 9 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Read and follow framework/work-principle.md before taking up work.
- Distinctive: line 31
Never reviewed OR significantly changed.
- Distinctive: line 46
Spec structure: read it completely. Inventory subsections (number, title, lines).
- Very specific: line 62
Before initiating a software review intended to satisfy a mandatory result, readiness or completion boundary, load …
- Distinctive: line 105
After all sectional fixes.
- Very specific: line 152
Not for small specs (<300 lines) — use spec_board directly for those.
- Very specific: line 154
No cross-spec check — use architecture_coherence_review.
- Distinctive: line 155
No standalone fixes — fixes by MCA, under Buddy's coordination.
- Distinctive: line 168
All pattern groups individually reviewed and fixed.
- Distinctive: line 181
Abort: not foreseen — escalate to the user instead of aborting.
- Very specific: line 188
No code review → code_review_board.
- Very specific: line 189
No cross-spec review → architecture_coherence_review.
- Distinctive: line 196
NOT: all groups in one pass. INSTEAD group by group, SAVE in between.
- Distinctive: line 268
Does not fit in one session.
- Distinctive: line 286
No uncommitted WIP on the relevant files.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Read and follow framework/work-principle.md before taking up work.
Resolve this reference against the framework root; retain the consumer CWD.
Skill: sectional-deep-review
Buddy checklist + operational detail for deep review of large
foundation specs. Board runs themselves follow spec_board/SKILL.md.
When to call
- Spec > 1000 lines with > 5 subsections.
- Foundation character (consumed by many others).
- Never reviewed OR significantly changed.
- Cross-spec interfaces as the primary risk.
- A single board pass would spread reviewers thin.
Sequence
PHASE 0 — PREP (structure → cross-ref → groups → order → briefs)
PHASE 1 — SECTIONAL REVIEWS (N groups, fixed individually)
PHASE 2 — FULL REVIEW (Deep Board + discourse on the complete post-fix spec)
PHASE 3 — CONVERGENCE + DONEPhase 0 — PREP (Buddy)
- Spec structure: read it completely. Inventory subsections (number, title, lines). Identify internal dependencies.
- Cross-reference map: per subsection: consumers (SPEC-MAP),
neighbour refs (grep), code impl (
src/), consumer assumptions. Targeted first, then complete. - Pattern groups: 3-5 groups by functional cohesion, shared consumers, internal coupling. 3-8 sections each, ~300-700 lines. Max 800 per group. Per group: sections + core risk + board mode + reference brief.
- Order: dependency order. Critical groups first. Max 1 Deep.
- Reference briefs: per group: neighbour passages, code files, consumer expectations.
Mandatory consuming owner
Before initiating a software review intended to satisfy a mandatory result,
readiness or completion boundary, load skills/_protocols/evidence-pointer-schema.md
§9. Resolve one exact owner and capture before dispatch. Declare code subject
state/output exclusions before enumeration and check that they omit no required
reviewed inputs. Use persisted-success capture stdout for producer metadata and
pass each assigned slot, scope/focus and history neutrally. Preserve complete
returns verbatim with actual actors, paths and raw-byte digests before consumption.
A canonical verdict path is only a locator; retain prior payloads before replacing
it. Buddy's explicit current decision selects the current reports of the final
applicable review and names any history; it answers each adoption diagnostic. Adopt it through §9, then check the applicable policy before any
mandatory result/readiness write or completion. Current negative evidence supports
repair; it grants no success permission. Identity does not replace substantive
coverage, source interpretation, severity/risk rules or authorization.
Preserve the parent review owner's exact identity through group/full/convergence handoffs; nested board calls must not create competing captures. Each relevant fix requires retry and fresh capture before its existing applicable verification. Earlier group reports remain attributed history after later fixes. Completion consumes the complete-spec final/convergence attempt, never accumulated old group approvals. Its explicit decision must pass spec_success before forward task writes.
Phase 1 — SECTIONAL REVIEWS
Each group = its own board run. Fixed individually.
Per group:
- Agents receive: relevant sections + reference brief + dispatch template (GAP-03).
- Board mode:
- LOAD-BEARING / ARCH-marked → Deep.
- >500 lines → Deep.
- Known cross-spec risks → Deep.
- Otherwise → Standard (escalates on ≥1C / ≥3H).
- Board run per
spec_board/SKILL.md(team selection, assembly, dispatch). - Chief consolidates. Deep: + discourse → Chief-2.
- SAVE (NON-NEGOTIABLE).
- NEEDS-WORK → fix (MCA, only sections of this group) →
spec_versionbump → SAVE.
Phase 2 — FULL REVIEW
After all sectional fixes. Complete updated spec.
- Reference: full neighbour specs + code interfaces + consumer specs.
- Focus: cross-pattern composition, gaps between groups, systemic issues.
- Context-isolated — agents do NOT know the sectional findings.
- Foundation flag → chief gets the DR scorecard.
- Board run per
spec_board/SKILL.md(Deep + discourse). - SAVE → fix on NEEDS-WORK.
Phase 3 — CONVERGENCE
Standard Deep Convergence (spec_board/SKILL.md):
Pass 2+: 4 agents (Adv + Adv2 + Impl + Impact),
context-isolated.
Final: 2 agents (Adv + Impl). 0C + 0H → board_result = APPROVED after current spec_success qualification.
Post-pass (NON-NEGOTIABLE)
- SAVE after EVERY group and after the full review.
- Sectional fixes committed individually.
- Bump
spec_versionon every fix. - Content preservation: →
_protocols/content-preservation.md.
Contract
INPUT
- Required: spec > 1000 lines with > 5 subsections.
- Required: foundation character (consumed by many others).
- Required: SPEC-MAP read (cross-reference map derivable).
- Optional: previous board results — for delta judgment.
- Context:
spec_board/SKILL.md(board runs follow its mechanics),_protocols/content-preservation.md,dispatch-template.md.
OUTPUT
DELIVERS:
- Sectional findings: per pattern group: board verdict + findings + fixes (committed individually).
- Full-spec verdict: Deep Board + discourse on the entire post-fix spec.
- Convergence result: 0C+0H after every pass (Deep Convergence).
- SAVE after every group: persisted review files.
DOES NOT DELIVER:
- Not for small specs (<300 lines) — use
spec_boarddirectly for those. - No cross-spec check — use
architecture_coherence_review. - No standalone fixes — fixes by MCA, under Buddy's coordination.
ENABLES:
- Review: deep review for foundation specs that are too large for a single board pass.
- Build specify: bring a foundation spec to board-ready level.
- Convergence: structured progress across groups + a full-spec pass.
DONE
- Final applicable full-spec/convergence decision adopted and spec_success checked before review-derived forward writes, via task_status_update with the exact owner.
- All pattern groups individually reviewed and fixed.
- Full-spec Deep Board + discourse on the entire post-fix spec executed.
- Convergence: 0C+0H after Deep Convergence (Pass 2+: 4→2 agents).
- SAVE after every group and after the full review.
spec_versionbumped on every fix.
FAIL
- Retry: NEEDS-WORK → fix within the group →
spec_versionbump → next pass (convergence_loop). - Escalate: Deep Convergence max 3 passes without 0C+0H → escalate to the user.
- Abort: not foreseen — escalate to the user instead of aborting.
Boundary
- For small specs (<300 lines) →
spec_boardStandard directly, not sectional. - No code review →
code_review_board. - No cross-spec review →
architecture_coherence_review.
Anti-patterns
- NOT split sections arbitrarily. INSTEAD by semantic boundaries (subsystem, phase, component). Because: arbitrary splits tear context — reviewers lose the thread.
- NOT all groups in one pass. INSTEAD group by group, SAVE in between. Because: 300+ lines per group saturates attention; multiple groups in a row makes it worse.
- NOT ignore findings of one group before fixing the next
group. INSTEAD fix within the group, bump
spec_version, then the next group. Because: cascading findings + content preservation. - NOT final review without a complete tracking table of all sub-group findings. INSTEAD the consolidation-preservation cascade. Because: silent loss threatens at sectional level too.
Skill comparison (boundary detail)
| Dimension | spec_board | sectional-deep | architecture_coherence_review |
| Specs scope | 1 | 1 (large foundation) | All in a contract group |
| Sectional split | No | Yes (pattern groups) | By cluster |
| Passes | 1+ (convergence) | Sectional + full + convergence | 2 |
| Cross-ref in agent context | No | Yes | Yes (complete) |
| Typical agent count | 4-7 | 20-35 | 20-40+ |
Cross-reference map (Phase 0 detail)
| Dimension | Source | Question |
| Consumed-by | SPEC-MAP | Which specs consume this section? |
| HC / neighbour refs | grep + read | Which places reference this pattern? |
| Code impl | src/ | Does code exist? Gaps? |
| Consumer specs | SPEC-MAP + read | What assumptions do consumers make? |
Agent dispatch (overall)
| Phase | Mode | Team | Discourse |
| Sectional (standard) | Standard | 4 + specialists | Buddy decision |
| Sectional (deep) | Deep | 7 + specialists | ALWAYS |
| Full review | Deep | 7 + specialists | ALWAYS |
| Convergence 2+ | Deep | 4 | ALWAYS |
| Verification | Deep | 2 | No |
Specialists per group (IN ADDITION to the base team):
| Group content | Agent |
| API, schema models (e.g. Pydantic), interface schema | code-api-contract |
| Token budget, readability | board-consumer |
| Security, auth | board-adversary-2 |
| Cross-spec interfaces | board-impact |
Typical: ~26-32 agents + discourse + convergence.
Architecture (responsibility split)
sectional-deep-review → WHAT (scoping, grouping, cross-ref, order)
└── spec_board → HOW (agents, discourse, convergence)
└── Board agents → reviews, findingsArtifact paths
| Artifact | Path |
| Sectional review | docs/reviews/board/{spec}-{group}-{role}-pass{N}.md |
| Sectional verdict | docs/reviews/board/{spec}-{group}-verdict-pass{N}.md |
| Sectional discourse | docs/reviews/board/{spec}-{group}-discourse-{role}.md |
| Full review | docs/reviews/board/{spec}-full-{role}-pass{N}.md |
| Full verdict | docs/reviews/board/{spec}-full-verdict-pass{N}.md |
Session planning
Does not fit in one session. Realistic pacing per spec:
- Session A: phase 0 (prep) + groups 1-2.
- Session B: groups 3-4 + fixes.
- Session C: full review + convergence.
Constraints
- Dispatch neutral. No Buddy analysis in the prompt.
- Focus points from cross-ref YES, solution hypotheses NO.
- Full review: context-isolated (does not know the sectional findings).
- Content preservation on fixes: →
_protocols/content-preservation.md.
Pre-conditions
docs/specs/SPEC-MAP.mdis up to date.- Target spec exists in
docs/specs/. - Neighbour specs exist.
- No uncommitted WIP on the relevant files.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

