/humanize-gen-plan
Generate a structured implementation plan from a draft document. Validates input, checks relevance, analyzes for issues, and generates a complete plan.md with acceptance criteria.
$ npx -y skills add PolyArch/humanize --skill humanize-gen-plan --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/humanize-gen-plan
Context preview
The summary Claude sees to decide when to auto-load this skill.
Generate a structured implementation plan from a draft document. Validates input, checks relevance, analyzes for issues, and generates a complete plan.md with acceptance criteria.
SKILL.md
humanize-gen-plan.SKILL.mdname: humanize-gen-plan
description: Generate a structured implementation plan from a draft document. Validates input, checks relevance, analyzes for issues, and generates a complete plan.md with acceptance criteria.
type: flow
user-invocable: false
disable-model-invocation: true
Humanize Generate Plan
Transforms a rough draft document into a well-structured implementation plan with clear goals, acceptance criteria (AC-X format), path boundaries, and feasibility suggestions.
The installer hydrates this skill with an absolute runtime root path:
{{HUMANIZE_RUNTIME_ROOT}}flowchart TD
BEGIN([BEGIN]) --> VALIDATE[Validate input/output paths<br/>Run: {{HUMANIZE_RUNTIME_ROOT}}/scripts/validate-gen-plan-io.sh --input <draft> --output <plan>]
VALIDATE --> CHECK{Validation passed?}
CHECK -->|No| REPORT_ERROR[Report validation error<br/>Stop]
REPORT_ERROR --> END_FAIL([END])
CHECK -->|Yes| READ_DRAFT[Read input draft file]
READ_DRAFT --> CHECK_RELEVANCE{Is draft relevant to<br/>this repository?}
CHECK_RELEVANCE -->|No| REPORT_IRRELEVANT[Report: Draft not related to repo<br/>Stop]
REPORT_IRRELEVANT --> END_FAIL
CHECK_RELEVANCE -->|Yes| ANALYZE[Analyze draft for:<br/>- Clarity<br/>- Consistency<br/>- Completeness<br/>- Functionality]
ANALYZE --> HAS_ISSUES{Issues found?}
HAS_ISSUES -->|Yes| RESOLVE[Engage user to resolve issues<br/>via AskUserQuestion]
RESOLVE --> ANALYZE
HAS_ISSUES -->|No| CHECK_METRICS{Has quantitative<br/>metrics?}
CHECK_METRICS -->|Yes| CONFIRM_METRICS[Confirm metrics with user:<br/>Hard requirement or trend?]
CONFIRM_METRICS --> GEN_PLAN
CHECK_METRICS -->|No| GEN_PLAN[Generate structured plan:<br/>- Goal Description<br/>- Acceptance Criteria with TDD tests<br/>- Path Boundaries<br/>- Feasibility Hints<br/>- Dependencies & Milestones]
GEN_PLAN --> WRITE[Write plan to output file<br/>using Edit tool to preserve draft]
WRITE --> REVIEW[Review complete plan<br/>Check for inconsistencies]
REVIEW --> INCONSISTENT{Inconsistencies?}
INCONSISTENT -->|Yes| FIX[Fix inconsistencies]
FIX --> REVIEW
INCONSISTENT -->|No| CHECK_LANG{Multiple languages?}
CHECK_LANG -->|Yes| UNIFY[Ask user to unify language]
UNIFY --> REPORT_SUCCESS
CHECK_LANG -->|No| REPORT_SUCCESS[Report success:<br/>- Plan path<br/>- AC count<br/>- Language unified?]
REPORT_SUCCESS --> END_SUCCESS([END])Input Requirements
**Required Arguments:**
- `--input <path/to/draft.md>` - The draft document
- `--output <path/to/plan.md>` - Where to write the plan
Plan Structure Output
The generated plan includes:
# Plan Title
## Goal Description
Clear description of what needs to be accomplished
## Acceptance Criteria
- AC-1: First criterion
- Positive Tests (expected to PASS):
- Test case that should succeed
- Negative Tests (expected to FAIL):
- Test case that should fail
## Path Boundaries
### Upper Bound (Maximum Scope)
Most comprehensive acceptable implementation
### Lower Bound (Minimum Scope)
Minimum viable implementation
### Allowed Choices
- Can use: allowed technologies
- Cannot use: prohibited technologies
## Dependencies and Sequence
### Milestones
1. Milestone 1: Description
- Phase A: ...
- Phase B: ...
## Implementation Notes
- Code should NOT contain plan terminologyValidation Exit Codes
| Exit Code | Meaning | |-----------|---------| | 0 | Success - continue | | 1 | Input file not found | | 2 | Input file is empty | | 3 | Output directory does not exist | | 4 | Output file already exists | | 5 | No write permission | | 6 | Invalid arguments | | 7 | Plan template file not found |
Usage
# Start the flow
/flow:humanize-gen-plan
# The flow will ask for:
# - Input draft file path
# - Output plan file path
Or with the skill only (no auto-execution):
/skill:humanize-gen-plan
Read more
name: humanize-gen-plan description: Generate a structured implementation plan from a draft document. Validates input, checks relevance, analyzes for issues, and generates a complete plan.md with acceptance criteria. type: flow user-invocable: false disable-model-invocation: true
Humanize Generate Plan
Transforms a rough draft document into a well-structured implementation plan with clear goals, acceptance criteria (AC-X format), path boundaries, and feasibility suggestions.
The installer hydrates this skill with an absolute runtime root path:
{{HUMANIZE_RUNTIME_ROOT}}flowchart TD
BEGIN([BEGIN]) --> VALIDATE[Validate input/output paths<br/>Run: {{HUMANIZE_RUNTIME_ROOT}}/scripts/validate-gen-plan-io.sh --input <draft> --output <plan>]
VALIDATE --> CHECK{Validation passed?}
CHECK -->|No| REPORT_ERROR[Report validation error<br/>Stop]
REPORT_ERROR --> END_FAIL([END])
CHECK -->|Yes| READ_DRAFT[Read input draft file]
READ_DRAFT --> CHECK_RELEVANCE{Is draft relevant to<br/>this repository?}
CHECK_RELEVANCE -->|No| REPORT_IRRELEVANT[Report: Draft not related to repo<br/>Stop]
REPORT_IRRELEVANT --> END_FAIL
CHECK_RELEVANCE -->|Yes| ANALYZE[Analyze draft for:<br/>- Clarity<br/>- Consistency<br/>- Completeness<br/>- Functionality]
ANALYZE --> HAS_ISSUES{Issues found?}
HAS_ISSUES -->|Yes| RESOLVE[Engage user to resolve issues<br/>via AskUserQuestion]
RESOLVE --> ANALYZE
HAS_ISSUES -->|No| CHECK_METRICS{Has quantitative<br/>metrics?}
CHECK_METRICS -->|Yes| CONFIRM_METRICS[Confirm metrics with user:<br/>Hard requirement or trend?]
CONFIRM_METRICS --> GEN_PLAN
CHECK_METRICS -->|No| GEN_PLAN[Generate structured plan:<br/>- Goal Description<br/>- Acceptance Criteria with TDD tests<br/>- Path Boundaries<br/>- Feasibility Hints<br/>- Dependencies & Milestones]
GEN_PLAN --> WRITE[Write plan to output file<br/>using Edit tool to preserve draft]
WRITE --> REVIEW[Review complete plan<br/>Check for inconsistencies]
REVIEW --> INCONSISTENT{Inconsistencies?}
INCONSISTENT -->|Yes| FIX[Fix inconsistencies]
FIX --> REVIEW
INCONSISTENT -->|No| CHECK_LANG{Multiple languages?}
CHECK_LANG -->|Yes| UNIFY[Ask user to unify language]
UNIFY --> REPORT_SUCCESS
CHECK_LANG -->|No| REPORT_SUCCESS[Report success:<br/>- Plan path<br/>- AC count<br/>- Language unified?]
REPORT_SUCCESS --> END_SUCCESS([END])Input Requirements
**Required Arguments:**
- `--input <path/to/draft.md>` - The draft document
- `--output <path/to/plan.md>` - Where to write the plan
Plan Structure Output
The generated plan includes:
# Plan Title
## Goal Description
Clear description of what needs to be accomplished
## Acceptance Criteria
- AC-1: First criterion
- Positive Tests (expected to PASS):
- Test case that should succeed
- Negative Tests (expected to FAIL):
- Test case that should fail
## Path Boundaries
### Upper Bound (Maximum Scope)
Most comprehensive acceptable implementation
### Lower Bound (Minimum Scope)
Minimum viable implementation
### Allowed Choices
- Can use: allowed technologies
- Cannot use: prohibited technologies
## Dependencies and Sequence
### Milestones
1. Milestone 1: Description
- Phase A: ...
- Phase B: ...
## Implementation Notes
- Code should NOT contain plan terminologyValidation Exit Codes
| Exit Code | Meaning | |-----------|---------| | 0 | Success - continue | | 1 | Input file not found | | 2 | Input file is empty | | 3 | Output directory does not exist | | 4 | Output file already exists | | 5 | No write permission | | 6 | Invalid arguments | | 7 | Plan template file not found |
Usage
# Start the flow /flow:humanize-gen-plan # The flow will ask for: # - Input draft file path # - Output plan file path
Or with the skill only (no auto-execution):
/skill:humanize-gen-plan
Derived from the GAAC (GitHub-as-a-Context) project. A Claude Code plugin that provides iterative development with independent AI review. Build with confidence through continuous feedback loops.
Other skills on humanize.
- /ask-codex
Consult Codex as an independent expert. Sends a question or task to codex exec and returns the response.
Open skill - /ask-gemini
Consult Gemini as an independent expert with deep web research. Sends a question or task to Gemini CLI and returns a research-backed response.
Open skill - /humanize-refine-plan
Refine an annotated implementation plan into a comment-free plan and a QA ledger while preserving the gen-plan schema.
Open skill - /humanize-rlcr
Start RLCR (Ralph-Loop with Codex Review) on Codex using the native Stop hook.
Open skill - /humanize
Iterative development with AI review. Provides RLCR (Ralph-Loop with Codex Review) for implementation planning and code review loops.
Open skill

