OpenParable
Skip to content
← Back to skills

Prompt Assembly

Agent Building
prompt-assembly

Prompt Assembly is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Assembles coder and verifier prompts from templates. Use when user says "build a prompt", "assemble a prompt", "assemble prompts", or "generate a prompt" for dispatching work to coding and verification agents.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/prompt-assembly/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/prompt-assembly, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Prompt Assembly

Assemble coder and verifier prompts from templates.

When to Use

When user says "build a prompt", "assemble a prompt", "assemble prompts", or "generate a prompt" for dispatching work to coding and verification agents.

Gathering Information

Before assembling, gather:

Required

  1. Project - Which project? (01-api, 02-ui, etc.)
  2. Job name - Short name for filenames (e.g., "thinking-support")
  3. Job overview - What does this work accomplish?
  4. Current state - Where are we now?
  5. Technical spec - The work to be done (can be inline or from file)
  6. Key files - Which files are involved?

Definition of Done

  1. Job-specific DoD items - Beyond standard checks (tests/format/lint/typecheck)

Optional

  1. Project why - Why we need this work
  2. Known issues - Bugs or errors to address
  3. Avoidances - What should the agent NOT do?

Assembly Process

  1. Gather answers using questions.md
  2. Create config.json with the data
  3. Run: node .claude/skills/prompt-assembly/assemble.js --config config.json
  4. Review generated prompts

Output Options

Output directory priority:

  1. --output /path CLI flag
  2. outputDir field in config.json
  3. Default: projects/{project}/prompts/

Examples:

# Default output
node .claude/skills/prompt-assembly/assemble.js --config config.json

# Custom output directory
node .claude/skills/prompt-assembly/assemble.js --config config.json --output /path/to/project/dir

Output Files

  • {job-name}-coder.md - For implementation agent
  • {job-name}-verifier.md - For verification agent

Files

  • templates/coder-prompt.hbs - Coder prompt template
  • templates/verifier-prompt.hbs - Verifier prompt template
  • assemble.js - Template assembly script
  • questions.md - Questions checklist