Skip to main content
skill CX Codex

07-command-generate — Claude Code skill: what it does, how to install

07-command-generate generates flat slash commands across the AI assistants enabled in your repository. Useful when you need to scaffold or edit single-step commands without manual path wiring.

MIT ★ 571 updated 2026-10-29

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add ai-driven-dev/framework
/plugin install aidd-context@aidd-framework
Open on GitHub

What 07-command-generate does

The skill transforms user intent into a canonical slash command and outputs it according to the target paths of confirmed host environments. Execution follows a strict three-phase pipeline: capture-command extracts the goal, paths, and arguments, write-command writes the target definitions, and validate inspects output files. Every action must pass its internal check before the workflow advances to the next step.

Formatting follows assets/command-template.md, while path conventions and syntax constraints are drawn from documents inside references/. The tool handles only flat one-shot commands: multi-step workflows, background agents, and lifecycle hooks cannot be built with it.

What it helps with

  • scaffold a flat slash command file across project tools
  • convert a single prompt into a structured command template
  • verify frontmatter and argument requirements across command files

Example prompts for the agent

  • Generate a slash command to run unit tests with coverage reporting
  • Scaffold a slash command that formats staged files before commit
  • Create a quick review command targeting changed TypeScript files

How to install 07-command-generate

1Plugin marketplace

/plugin marketplace add ai-driven-dev/framework
/plugin install aidd-context@aidd-framework

This installs the whole aidd-context plugin with all its skills

2Skills CLI (Vercel)

npx skills add ai-driven-dev/framework --skill 07-command-generate -a claude-code

3Manually: put the files in place

~/.claude/skills/07-command-generate/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/07-command-generate/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about 07-command-generate

How to install 07-command-generate in Claude Code?

Add the marketplace source and install the package with two commands: run /plugin marketplace add ai-driven-dev/framework, then run /plugin install aidd-context@aidd-framework.

What does 07-command-generate do?

It captures your goal and generates one-shot slash command files positioned correctly for the AI tools your repository uses.

Can it build multi-step agent skills or hooks?

No. The skill is scoped strictly to flat one-shot slash commands and explicitly excludes rules, hooks, or complex subagent configurations.

Source text

SKILL.md · MIT
---
name: 07-command-generate
description: Generate a flat slash command across the host AI tools a project uses. Use when the user wants to create, scaffold, or refactor a one-shot slash command. Not for multi-step skills or other artifacts like rules, agents, hooks.
argument-hint: goal
---

# Command Generate

Write one canonical slash command from intent and render it per confirmed host tool that supports commands, or once as a plugin source.

## Actions

| #   | Action            | Role                                      | Input        |
| --- | ----------------- | ----------------------------------------- | ------------ |
| 01  | `capture-command` | Capture the goal, location, and arguments | user request |
| 02  | `write-command`   | Write the command file per supported tool | the goal     |
| 03  | `validate`        | Check each command file                   | the files    |

Run the actions in order, `01 → 03`, and run each action's `## Test` before the next.
Before running an action, read its file in `actions/`, not only the table or assets.

## References

- `references/command-authoring.md`: the contract (forms, placement, frontmatter, arguments, conventions).
- `references/tool-paths.md`: per-tool command path, frontmatter, unsupported tools, the gate.

## Assets

- `assets/command-template.md`: command file scaffold.

© AI-Driven Dev · MIT · ai-driven-dev/framework

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set80

The whole set →

Project sponsors

Companies that keep this analytics open