.github_gpt/skills/generate_command/SKILL.md
Create a new custom slash command following conventions and best practices
npx skillsauth add the-rabak/compound-engineering-plugin generate_commandInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create a new custom slash command in .github/commands/ that is specific, testable, and aligned with repository conventions.
.github/commands/[name].md. Subdirectories such as workflows/ are allowed.$ARGUMENTS for dynamic inputs.CLAUDE.md.git diff.<task>, <requirements>, and <constraints>.---
name: command-name
description: Brief description of what this command does (max 100 chars)
argument-hint: "[what arguments the command accepts]"
---
# Command Title
Brief description of what this command does.
## Steps
1. First step with specific details
- Include file paths, patterns, or constraints
- Reference existing code if applicable
2. Second step
- Use parallel tool calls when possible
- Check and verify results
3. Final steps
- Run tests
- Run linting
- Review the diff
## Success Criteria
- [ ] Tests pass
- [ ] Code follows the style guide
- [ ] Documentation updated if needed
Implement #$ARGUMENTS following these steps:
1. Research existing patterns
- Search for similar code using Grep
- Read relevant files to understand the approach
2. Plan the implementation
- Think through edge cases and requirements
- Consider test cases needed
3. Implement
- Follow existing code patterns
- Write tests first if doing TDD
- Ensure code follows CLAUDE.md conventions
4. Verify
- Run tests: use the project's test command (for example `npm test`, `pytest`, `cargo test`, or `php artisan test`)
- Run a linter appropriate to the stack
- Check changes with git diff
5. Commit if appropriate
- Stage changes
- Write a clear commit message
.github/commands/[name].md.development
Mutates a single field or content region of an existing self-contained HTML artifact in place (island-first, no-added-facts, injection-safe) without regenerating the document from scratch. Invoked by a workflow command whenever it needs to back-write into an artifact it already composed -- e.g. a ref/status update, or a content rewrite that must re-project the affected view -- never by the user directly.
development
Composes a self-contained, interactive HTML artifact (island-first, single file, token-layer themed, injection-safe) from a workflow command's structured plan payload. Invoked by a workflow command at its artifact-write step -- currently `/workflows:plan` -- never by the user directly.
development
Mutates a single field or content region of an existing self-contained HTML artifact in place (island-first, no-added-facts, injection-safe) without regenerating the document from scratch. Invoked by a workflow command whenever it needs to back-write into an artifact it already composed -- e.g. a ref/status update, or a content rewrite that must re-project the affected view -- never by the user directly.
development
Composes a self-contained, interactive HTML artifact (island-first, single file, token-layer themed, injection-safe) from a workflow command's structured plan payload. Invoked by a workflow command at its artifact-write step -- currently `/workflows:plan` -- never by the user directly.