Agent skill · AI & Agents

prompt-enricher

Phase 0.2 — Enriches the raw user prompt with discovered constraints, ambiguities, likely edge cases, and suggested scope boundaries. Runs after context-gatherer, before idea-explorer questions. Generates enriched-prompt.md in the state directory.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill prompt-enricher --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/ai-llm/prompt-enricher/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Prompt Enricher Runs **automatically as Phase 0.2**, after context-gatherer and before `idea-explorer` questions. Purpose: transform the raw user prompt into a grounded, constraint-aware brief that prevents the spec from ignoring known realities of the codebase. ## Entry conditions - `context.md` must exist in `.claude/feature-state/{slug}/` (run context-gatherer first) - Generates `enriched-prompt.md` and saves to `.claude/feature-state/{slug}/` - Load if already exists (resume flow) ## Step 1: Detect constraints from codebase Read `context.md` and extract constraints relevant to the feature: - **Architectural constraints**: What patterns must be followed? (e.g., "All API routes use verifyAuthRequest") - **Data constraints**: What data model rules exist? (e.g., "soft delete only, never hard delete") - **Infrastructure constraints**: What infrastructure is confirmed vs. uncertain? (e.g., "Stripe webhook is not configured in production") - **Dependency constraints**: What libraries are already in use that shape the approach? ## Step 2: Identify ambiguities From the prompt + context, list decisions that have multiple valid interpretations: Examples: - "Use the existing checkout flo

What's inside
Steps it walks through
  1. Entry conditions
  2. Step 1: Detect constraints from codebase
  3. Step 2: Identify ambiguities
  4. Step 3: Suggest likely edge cases by feature type
  5. Step 4: Suggest scope boundaries
  6. Step 5: Generate enriched-prompt.md
  7. Step 6: Inject into idea-explorer context
  8. Edge case injection by feature type detection
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the prompt-enricher skill do?

Phase 0.2 — Enriches the raw user prompt with discovered constraints, ambiguities, likely edge cases, and suggested scope boundaries. Runs after context-gatherer, before idea-explorer questions. Generates enriched-prompt.md in the state directory.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill prompt-enricher --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going