Agent skill · AI & Agents

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.

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

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

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/ai-llm/prompt-composer/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-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

What's inside
Steps it walks through
  1. Purpose
  2. Input Format
  3. Pattern Library Integration
  4. Prompt Assembly Structure
  5. Automation Logic
  6. Integration Points
  7. Token Optimization
  8. Usage Example
  9. Efficiency Gain
  10. Error Prevention
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going