Generate workflow files from blueprint — outputs gh-aw markdown or GitHub Actions YAML
From awfulnpx claudepluginhub xiaolai/awful-for-claude --plugin awful/genGenerates an image directly from the provided prompt. Auto-enhances short prompts (<10 words), delegates to image generator agent, and adds a one-line creative comment.
/genExecutes the `/gene` command with all arguments provided to `/gen`, serving as a direct alias for alternative invocation.
/gen**Your response MUST be written in the language specified by the locale code (default: en-US).**
Generate workflow files from the awful blueprint. Reads workflows/BLUEPRINT.md, determines output format, and produces .github/workflows/ files ready to commit.
Read workflows/BLUEPRINT.md. If it doesn't exist:
No blueprint found at workflows/BLUEPRINT.md.
Run /awful:design first to create a blueprint.
Parse the YAML frontmatter. Validate:
agents: array is present and non-emptyname and rolerouting: array has at least one entryReport any validation errors clearly before proceeding.
Run commands/shared/format.md to get the output format. Display the selection:
Output format: {gh-aw markdown | GitHub Actions YAML}
mkdir -p .github/workflows
For GitHub Actions YAML format with separate prompt files, also:
mkdir -p .github/workflows/agents
Dispatch the generator agent (agents/generator.md) with:
templates/The generator will:
After generation completes, show:
Generated {n} workflow file(s) ({format}):
{for each file:}
.github/workflows/{agent-name}.{md|yml}
Event: {trigger event}
Permissions: {list}
Loop prevention: bot-actor-guard{, fork-PR-guard if PR-triggered}
Also created:
.github/labels.yml — {n} labels
{If gh-aw format:}
Next steps:
1. Review the generated files
2. Commit and push
3. Apply labels: gh label import .github/labels.yml
4. Compile workflows: gh aw compile .github/workflows/*.md
{If Actions YAML format:}
Next steps:
1. Review the generated files
2. Add ANTHROPIC_API_KEY as a repo secret: gh secret set ANTHROPIC_API_KEY
3. Commit and push
4. Apply labels: gh label import .github/labels.yml
If workflow files already exist:
# Generated by awful comment at top)If the user runs /awful:gen again after updating the blueprint: