python-blueprint-review
Review a greenfield Python blueprint against its locked schema before project initialization.
SKILL.mdskills/python-blueprint-review/SKILL.md
GitHubPurpose
Review an authored greenfield blueprint.md and return a contract-quality verdict before executor handoff.
Trigger / When to use
Use this skill when:
- a drafted greenfield
blueprint.mdalready exists and needs review before execution - the workflow needs a domain-specific check for blueprint v1 section order, exact
Required Skills, structural locatability, and greenfield lane fit - the expected output is a review verdict with blocking issues rather than blueprint authoring or project initialization
Do not use this skill when:
- the task is to author or repair the blueprint; use
python-blueprint-authoring - the task is to execute a valid blueprint; use
python-project-init-greenfield - the task is to review a skill folder, topic plan, or implementation diff
- the repository is clearly retrofit-shaped and needs a retrofit contract instead of greenfield blueprint review
Inputs
- the target
blueprint.mdpath - the active skill-library root used to validate
Required Skills - the locked blueprint v1 review rules already consumed by
python-project-init-greenfield - any concrete repository facts needed to judge greenfield-versus-retrofit lane fit
Process
- Confirm the task is blueprint-contract review, not authoring, execution, or generic skill-folder review.
- Read the target
blueprint.mdand all local review references before judging it. - Review the blueprint against the locked blueprint v1 contract.
- Confirm the six required headings exist and stay in the exact order already consumed by
python-project-init-greenfield. - Reject added compatibility aliases, reordered headings, or other schema drift.
- Confirm the six required headings exist and stay in the exact order already consumed by
- Check
## Acceptance Criteriastrictly.- A fenced
yaml [sensing-assertions]block must appear immediately under the heading. - Treat prose before the fenced block, malformed block structure, or missing
kind/target/expectedfields as blocking issues. - Reject any assertion
kindoutside the blueprint v1 supported subset:path_exists,path_type,command_available.
- A fenced
- Validate
## Required Skillsagainst the current library by exact name.- Check
skills/<skill-name>/SKILL.mdfor every named item. - Do not normalize case,
_, or-, and do not accept placeholders or “close enough” aliases.
- Check
- Check locatability and greenfield fit.
- Require concrete package names, paths, entrypoints, and tool choices where execution depends on them.
- Treat abstract structure, contradictory locators, or retrofit-style preservation/migration pressure as review failures.
- Return exactly one JSON object and no trailing prose:
verdict:approvedorneeds-reworkblocking_issues: array of objects withissue,section, andfix
- Stop at review.
- Do not rewrite the blueprint on behalf of the author.
- Do not execute initialization steps or approve unrelated repository changes.
Examples
- Positive: Review a drafted greenfield
blueprint.mdwhose sections stay in locked v1 order, whoseyaml [sensing-assertions]block appears immediately under## Acceptance Criteria, whose required skills match current-library directory names exactly, and whose structure namessrc/weather_service/main.py; return JSON with"verdict": "approved"and an emptyblocking_issuesarray. - Negative: Review a blueprint that uses
python_testing_pytest, places prose before the fenced sensing block, introduces an unsupported assertionkind, says only “modern src layout”, or asks to preserve legacy files, then respond with authoring suggestions or executor actions instead of a blocking review verdict.
Outputs
- exactly one machine-consumable JSON verdict object
verdict:approvedorneeds-reworkblocking_issues: concrete contract failures with the failing section and required fix- reroute guidance only as part of a blocking issue fix when the blueprint belongs in another lane
Validation
Required Checks
blueprint.mdis provided and locatable before review begins- all six locked schema v1 sections are present in exact order: Project Overview → Required Skills → Toolchain Expectation → Structural Invariants → Quality Thresholds → Acceptance Criteria
## Acceptance Criteriastarts with a parseableyaml [sensing-assertions]fenced block immediately under the heading (no prose before it)- every sensing assertion includes
kind,target, andexpected - every sensing assertion
kindis within the v1 supported subset:path_exists,path_type,command_available - no placeholder values remain in required fields
- every required skill name matches a real current-library directory name exactly (no case,
-, or_normalization)
Quality Checks (best effort)
- naming consistency — module names and skill references use consistent case convention throughout the blueprint
- dependency version specificity — no bare
latestor unpinned version ranges in Toolchain Expectation or Quality Thresholds
On Soft Fail
- mark the review as INCOMPLETE
- do not emit
approved; emitneeds-rework - list which schema sections are missing, out of order, or incomplete as blocking issues with
fixguidance
Failure Handling
Missing Context
- BLOCKED — if
blueprint.mdis not provided or cannot be located at the stated path, stop and ask for the correct path before proceeding; do not attempt a partial review
Ambiguous Requirement
- if a blueprint section is structurally present but semantically ambiguous, record it as a warning inside
blocking_issueswith a concretefixnote; do not block approval solely for non-schema ambiguity unless the executor would need to guess to proceed
Execution Limitation
- if locked blueprint v1 reference files (e.g.,
references/blueprint-v1-review-checks.md) cannot be read, note the limitation explicitly in the verdict; proceed using the schema rules embedded in this SKILL.md and the# Processsteps
Verification
- confirm the review stays inside blueprint-contract review scope
- confirm the section order is exactly Project Overview -> Required Skills -> Toolchain Expectation -> Structural Invariants -> Quality Thresholds -> Acceptance Criteria
- confirm
## Acceptance Criteriastarts with a parseableyaml [sensing-assertions]block - confirm every sensing assertion includes
kind,target, andexpected - confirm every sensing assertion
kindstays within the v1 supported subset:path_exists,path_type,command_available - confirm every required skill name matches a real current-library directory name exactly
- confirm structural invariants are concrete and locatable enough for executor consumption without guessing
- confirm retrofit-looking requests are rejected or rerouted instead of absorbed into greenfield approval
- confirm the final output is one JSON object with no prose outside it
Red Flags
- the blueprint adds or renames headings instead of reusing the locked v1 contract
- acceptance prose appears before the fenced
yaml [sensing-assertions]block - the blueprint introduces a sensing assertion
kindoutsidepath_exists,path_type, orcommand_available - a required skill name differs only by case,
_, or-from a real library skill Structural Invariantscontain only phrases such as “clean”, “modern”, or “sensible”- the blueprint tries to preserve, migrate, or coexist with meaningful legacy files while claiming to be greenfield
- the review response drifts into blueprint authoring or init execution advice
Common Rationalizations
- “The executor can normalize the skill names later.”
- “The structure is obvious, so abstract wording is fine.”
- “This repo mostly exists already, but greenfield review is close enough.”
- “We can add the sensing block after init works once.”
- “Returning suggestions is enough even if the verdict is missing.”
Boundaries
- Do not author or repair the blueprint.
- Do not execute
python-project-init-greenfield. - Do not invent a new blueprint schema or widen blueprint v1.
- Do not normalize missing or invalid
Required Skillsnames. - Do not tolerate abstract or contradictory locators that the executor would need to guess.
- Do not review skill folders, topic plans, or implementation diffs with this skill.
- Do not emit anything except the single JSON verdict object.
Local references
examples.md: approved and needs-rework blueprint-review scenarios, including section-order, sensing-block, locatability, and lane-mismatch caseschecklist.md: repeatable higher-risk review checks before returning the final verdictreferences/blueprint-v1-review-checks.md: locked section-order, sensing-block placement, and blueprint-v1 schema-alignment review rulesreferences/review-verdict-contract.md: JSON verdict shape, blocking-issue expectations, and review-output boundariesreferences/greenfield-fit-and-reroute.md: greenfield-versus-retrofit review criteria and reroute expectationsreferences/required-skills-and-locatability-checks.md: exact-name required-skill validation and structural-locatability review checks