prompt-composer
Automated prompt generation from pattern library. Input asset specifications → output production-ready Gemini prompt with validated patterns, negative constraints, and previous attempt corrections applied.
npx skills add majiayu000/claude-skill-registry --skill prompt-composer --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Prompt-Composer Skill ## Purpose Eliminates manual prompt construction. Loads pattern library → applies templates → inserts asset specs → outputs Gemini-ready prompt. Prevents copy-paste errors and pattern inconsistency. ## Input Format ```json { "asset_id": "ASSET-3", "asset_name": "Nocturnal Canopy Pattern", "asset_type": "pattern_tile", "resolution": "512x512", "mode": "Gallery", "specimens": ["Eucalyptus", "Wattle", "Banksia", "Gum nuts"], "primary_focus": "Botanical only (no fauna)", "special_requirements": ["Seamless tiling", "Edge-matching critical"], "previous_attempt": { "score": 85, "violations": ["Upper-left 25% (max 20%)", "Edge mismatch"] } } ``` ## Pattern Library Integration Loads validated patterns from `/docs/northcote-asset-generation-patterns.md`: **Pattern 1: Production Intent** ``` MAXIMUM RESOLUTION: Generate at highest quality (no compression) EXPORT FORMAT: PNG with zero artifacts PRODUCTION ASSET: Not concept exploration—final deliverable ``` **Pattern 2: Geographic Authenticity** ``` ENDEMIC TEST: Every specimen must answer "Did this organism challenge European taxonomy?" AUSTRALIAN ONLY: NO European fauna, generic specimens, northern hemisphere species
- Purpose
- Input Format
- Pattern Library Integration
- Prompt Assembly Structure
- Automation Logic
- Integration Points
- Token Optimization
- Usage Example
- Efficiency Gain
- Error Prevention
What does the prompt-composer skill do?
Automated prompt generation from pattern library. Input asset specifications → output production-ready Gemini prompt with validated patterns, negative constraints, and previous attempt corrections applied.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill prompt-composer --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.
