pharaoh-review-completeness
OfficialAudit needs for complete review and approvals.
Authoruseblocks
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Use when inspecting one or more needs for review / approval-chain completeness. Flags needs missing required :reviewer: or :approved_by: fields per the project's artefact catalog. Emits one finding per incomplete need via pharaoh-finding-record.
Core Features & Use Cases
- Atomicity
- (a) Indivisible — one lookup + one field-presence check per need.
- (b) Input:
{project_dir, need_ids?: list[str]}(ifneed_idsomitted, iterate all). Output:[{need_id, missing_roles: [str]}](empty list if all complete). - (c) Reward: deterministic — field-present vs field-absent. 100% target on fixture.
- (d) Reusable: audit orchestrators, standalone CI gate, pre-merge check.
- (e) Composable: read-only over needs.json + artefact-catalog.yaml.
- Process
-
Step 1: Load artefact catalog
- For each artefact type, extract
required_roles— which may includereviewer,approved_by, or be absent (no review required). -
Step 2: Load needs
- Read
<project_dir>/needs.json(or the pre-built bazel artefact). For each need matchingneed_ids(or all needs if none given), determine its artefact type from its ID prefix. -
Step 3: Check required roles
- For each need whose type has
required_roles, verify each required role field is present in the need's options and non-empty. Collect missing roles. -
Step 4: Emit findings
- For each need with at least one missing role, emit a finding record:
-
{ "need_id": "<id>", "missing_roles": ["reviewer", "approved_by"] } - Output is a JSON list of such objects, wrapped in a single fenced
jsonblock. Empty list →[]. - Input / output example
- Input call (as audit subagent):
-
pharaoh-review-completeness on project <Score dir> for all component-level reqs - Output:
-
[ {"need_id": "gd_req__timestamp_recording", "missing_roles": ["approved_by"]} ] - Failure modes
artefact-catalog.yamlabsent → emit[]with stderr warning; skill is a no-op without tailoring.needs.jsonabsent → emit[]with stderr warning.- Malformed artefact catalog → emit
[]with stderr warning"artefact-catalog malformed". - Composition
- Consumed by
pharaoh-audit-fanoutas sub-area 4. Each returned finding is passed topharaoh-finding-recordwithcategory: missing_reviewerorcategory: missing_approval.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pharaoh-review-completeness Download link: https://github.com/useblocks/pharaoh/archive/main.zip#pharaoh-review-completeness Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.