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).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Sectional Deep Review?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nasheqify-sectional-deep-review-forge)
---
name: sectional-deep-review
description: >
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).
status: active
verification_tier: 1
evidence_layout: per_finding
invocation:
primary: workflow-step
secondary: [user-facing, sub-skill]
disable-model-invocation: false
uses: [spec_board, _protocols/context-isolation, _protocols/content-preservation, _protocols/dispatch-template, _protocols/evidence-pointer-schema]
---
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 + DONE
```
## Phase 0 — PREP (Buddy)
1. **Spec structure:** read it completely. Inventory subsections
(number, title, lines). Identify internal dependencies.
2. **Cross-reference map:** per subsection: consumers (SPEC-MAP),
neighbour refs (grep), code impl (`src/`), consumer
assumptions. Targeted first, then complete.
3. **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.
4. **Order:** dependency order. Critical groups first. Max 1
Deep.
5. **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:
1. Agents receive: relevant sections + reference brief +
dispatch template (GAP-03).
2. Board mode:
- LOAD-BEARING / ARCH-marked → Deep.
- \>500 lines → Deep.
- Known cross-spec risks → Deep.
- Otherwise → Standard (escalates on ≥1C / ≥3H).
3. Board run per `spec_board/SKILL.md` (team selection,
assembly, dispatch).
4. Chief consolidates. Deep: + discourse → Chief-2.
5. **SAVE (NON-NEGOTIABLE).**
6. NEEDS-WORK → fix (MCA, only sections of this group) →
`spec_version` bump → SAVE.
## Phase 2 — FULL REVIEW
After all sectional fixes. Complete updated spec.
1. Reference: full neighbour specs + code interfaces + consumer
specs.
2. Focus: cross-pattern composition, gaps between groups,
systemic issues.
3. Context-isolated — agents do NOT know the sectional findings.
4. Foundation flag → chief gets the DR scorecard.
5. Board run per `spec_board/SKILL.md` (Deep + discourse).
6. **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_version` on 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_board` directly
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_version` bumped on every fix.
### FAIL
- **Retry:** NEEDS-WORK → fix within the group → `spec_version`
bump → 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_board` Standard
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, findings
```
## Artifact 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.md` is up to date.
- Target spec exists in `docs/specs/`.
- Neighbour specs exist.
- No uncommitted WIP on the relevant files.