--- name: doc-review description: Review a plan, spec, issue, or other SDLC document for implementation readiness. Use when someone asks to review a plan, review a spec, review an issue, or check whether a document is ready to implement. Suggest code-review for a diff or pull request, security-review for a repository security audit, and review-setup when review tools are missing. --- # Doc Review Ask whether this document can drive implementation without invented decisions. ## Rubrics Classify the document, then run the matching phase rubrics. Phases are `idea`, `spec`, and `issue`. The script is `scripts/lifecycle_review.py` at the package root, two directories above this skill. Run that file by its path. Do not resolve the script from the repository checkout you are editing: a standalone install is not that repository's working directory. ```bash # SKILL_DIR is the directory that contains this SKILL.md. # CLAUDE_PLUGIN_ROOT is the package root when the package is installed. if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then S="$CLAUDE_PLUGIN_ROOT/scripts/lifecycle_review.py" else S="$SKILL_DIR/../../scripts/lifecycle_review.py" fi python3 "$S" rubrics list-cores --phase --json python3 "$S" rubrics list-extras --phase --json python3 "$S" rubrics read --phase --slug ``` Apply every core rubric. Apply an extra rubric when its applicability matches the document. This pass does not write a lifecycle record and does not continue into implementation. ## Readiness After the rubrics, do one readiness pass: name missing decisions, contradictions, and untested acceptance criteria. Stop there. When the target is `docs/plans/*.md` and the plan plugin is installed, run that plugin's `scripts/check_plan.py` from its own install directory and include its result. When the plan plugin is absent, say so and continue the rubric review. Write `docs/reviews/` only when the operator asked for a durable review note or the document is about to guide implementation. Otherwise report in the session. Suggest `code-review` for a diff or pull request, `security-review` for a repository security audit, and `review-setup` to survey tool pins.