Get help for agency commands, agents, and skills
Provides interactive help for agency commands, agents, and skills in CLI format.
/plugin marketplace add squirrelsoft-dev/agency/plugin install agency@squirrelsoft-dev-tools[command|agent|skill]Provide interactive help for agency commands, agents, and skills in a CLI-style format.
/agency:helpDisplay overview help screen listing all available commands, agents, and skills organized by category.
/agency:help <name>Display detailed help for the specified command, agent, or skill.
Examples:
/agency:help work - Show help for the work command/agency:help orchestrator - Show help for the orchestrator agent/agency:help github-integration - Show help for the github-integration skillCheck if an argument was provided:
Display a CLI-style help screen with the following structure:
AGENCY COMMANDS
Workflow automation commands for the complete development lifecycle
USAGE
/agency:<command> [arguments] [options]
/agency:help <command|agent|skill>
CORE COMMANDS
work <issue> Work on any issue (auto-detects GitHub/Jira)
plan <issue|description> Create implementation plan (no execution)
implement <plan-file> Implement from existing plan
WORKFLOW COMMANDS
sprint [milestone] Implement entire sprint
triage [filter] Triage issues
parallel [scope] Find parallelizable work
worktree <issue> Create git worktree for issue
QUALITY COMMANDS
review [target] Comprehensive code review
test [target] Generate comprehensive tests
security [--full] Security audit workflow
OPTIMIZATION COMMANDS
optimize [--profile] Performance optimization
refactor <target> Refactoring workflow
DOCUMENTATION COMMANDS
document [target] Generate documentation
adr <decision> Create Architecture Decision Record
GETTING HELP
/agency:help Show this help screen
/agency:help <command> Show detailed command help
/agency:help <agent> Show agent information
/agency:help <skill> Show skill information
EXAMPLES
/agency:work 123 Work on issue #123
/agency:plan next Plan next available issue
/agency:review PR-456 Review pull request
/agency:help work Get help for work command
For detailed information, use: /agency:help <command|agent|skill>
Implementation Steps:
.claude/commands/agency-*.md filesagents/ directoriesskills/ directoriesWhen user provides an argument, determine what type of help to show:
Step 1: Identify the target type
.claude/commands/agency-{arg}.md)agents/*/{arg}.md)skills/{arg}/SKILL.md)Step 2: Display Command Help
If it's a command, read the command file and display:
COMMAND: /agency:<name>
DESCRIPTION
<description from frontmatter>
USAGE
/agency:<name> <argument-hint from frontmatter>
EXAMPLES
<extract examples from command file>
WORKFLOW PHASES
<extract phase information from command file>
AGENTS USED
<extract agents mentioned in command file>
SKILLS USED
<extract skills referenced in command file>
OPTIONS
<extract any flags/options mentioned>
SEE ALSO
<related commands>
Step 3: Display Agent Help
If it's an agent, read the agent file and display:
AGENT: <agent-name>
DESCRIPTION
<description from frontmatter>
CATEGORY
<category based on directory: engineering, testing, design, etc.>
TOOLS AVAILABLE
<tools from frontmatter>
SKILLS REQUIRED
<skills from frontmatter>
PRIMARY USE CASES
<extract use cases from "Primary Use Cases" section>
WHEN TO SELECT
<extract from "When to Select This Agent" section>
COMMANDS
<extract from "Commands This Agent Responds To" section>
COLLABORATION
<extract from "Cross-Agent Collaboration" section>
LOCATION
<file path>
SEE ALSO
<related agents from collaboration section>
Step 4: Display Skill Help
If it's a skill, read the skill file and display:
SKILL: <skill-name>
DESCRIPTION
<description from frontmatter>
TRIGGERS
<triggers from frontmatter>
WHEN TO USE
<extract from "When to Use This Skill" section>
KEY TOPICS
<extract section headings from content>
QUICK REFERENCE
<extract from "Quick Reference" section if exists>
FILES
Main: skills/<skill>/SKILL.md
References: <list files in references/>
Examples: <list files in examples/>
RELATED SKILLS
<extract from "Related Skills" section>
USAGE
Activate this skill by mentioning any of these phrases in your request:
<list trigger phrases>
Step 5: Not Found Message
If the target is not found:
NOT FOUND: <name>
Could not find command, agent, or skill named "<name>"
Did you mean one of these?
<list similar commands using fuzzy matching>
<list similar agents>
<list similar skills>
Available commands: /agency:help
Available agents: /agency:help agents
Available skills: /agency:help skills
Handle special cases:
/agency:help commands: List all commands with brief descriptions
/agency:help agents: List all agents by category
/agency:help skills: List all skills with descriptions
# Use Glob to find all command files
Glob: pattern=".claude/commands/agency-*.md"
# Extract command names from filenames
# Example: agency-work.md -> work
# Example: agency-plan.md -> plan
Pattern: All agency commands follow .claude/commands/agency-{name}.md naming convention
# Use Glob to find all agent files
Glob: pattern="agents/**/*.md"
# Organize by directory (category):
# - agents/engineering/* -> Engineering category
# - agents/testing/* -> Testing category
# - agents/design/* -> Design category
Pattern: Agents are organized by role category in subdirectories
# Use Glob to find all skill files
Glob: pattern="skills/*/SKILL.md"
# Extract skill names from directory names:
# - skills/github-integration/SKILL.md -> github-integration
# - skills/testing-strategy/SKILL.md -> testing-strategy
Pattern: Each skill has its own directory with SKILL.md as the main file
# Read file content using Read tool
Read: file_path="[discovered-file-path]"
# Extract YAML frontmatter:
# 1. Find content between first two --- markers
# 2. Parse YAML to extract:
# - description
# - triggers (for skills)
# - allowed-tools (for commands)
# - argument-hint (for commands)
# 3. Handle missing or malformed frontmatter gracefully
Fallback: If frontmatter parsing fails, extract description from first paragraph
Algorithm for "NOT FOUND" suggestions:
Calculate similarity score for user input vs. all available names
Rank suggestions by similarity score
Show top 5 suggestions across all categories
Example:
User input: "workk" (typo)
Top suggestions:
- work (command) - Work on any issue
- worktree (command) - Create git worktree for issue
- workflow-agent (agent) - Manages workflow orchestration
- for listscodeWhen command/agent/skill file doesn't exist:
Recovery: Show "NOT FOUND" message (see Phase 3, Step 5) with suggestions
When frontmatter is malformed or missing:
Recovery: Display partial information, note limitations
When content sections are missing:
When multiple items match search term:
Example: If searching "test" matches both "test-agent" and "testing-strategy" skill, list both with full context
/agency:helpShows the main overview help screen with all commands listed.
/agency:help workCOMMAND: /agency:work
DESCRIPTION
Work on any issue (auto-detects GitHub/Jira)
USAGE
/agency:work <issue-id|url|'next'>
EXAMPLES
/agency:work 123 Work on issue #123
/agency:work next Work on next available issue
/agency:work https://... Work on issue from URL
WORKFLOW PHASES
1. Fetch - Retrieve issue details from GitHub/Jira
2. Plan - Create implementation plan
3. Review Plan - User reviews and approves plan
4. Implement - Execute implementation
5. Test - Run tests and verify
6. Review - Code review
7. PR - Create pull request
AGENTS USED
- orchestrator - Coordinates the workflow
- Plan agent - Creates implementation plan
- Specialist agents - Execute implementation
- Reality Checker - Reviews final output
SKILLS USED
- github-integration or jira-integration
- agency-workflow-patterns
- testing-strategy
SEE ALSO
/agency:plan Create plan without executing
/agency:implement Execute from existing plan
/agency:help Show all commands
/agency:help frontend-developerAGENT: frontend-developer
DESCRIPTION
Expert frontend developer specializing in modern web technologies
CATEGORY
Engineering
TOOLS AVAILABLE
Read, Write, Edit, Bash, Grep, Glob, Task, WebFetch
SKILLS REQUIRED
Essential: nextjs-16-expert, typescript-5-expert, tailwindcss-4-expert
Optional: testing-strategy, github-integration
PRIMARY USE CASES
- Building React/Next.js user interfaces
- Component architecture and design systems
- Frontend performance optimization
- UI/UX implementation
WHEN TO SELECT
- Implementing user-facing features
- Creating reusable UI components
- Frontend bug fixes
- Styling and responsive design
COMMANDS
Primary: /agency:work, /agency:implement
Secondary: /agency:optimize, /agency:refactor
COLLABORATION
Receives work from: Backend Architect, UI Designer
Provides work to: Reality Checker, Testing agents
Works alongside: Senior Developer
LOCATION
agents/engineering/frontend-developer.md
SEE ALSO
backend-architect - Backend implementation
ui-designer - UI design
senior-developer - Full-stack development
/agency:help github-integrationSKILL: github-integration
DESCRIPTION
Master GitHub integration using gh CLI, GitHub API, issue/PR management
TRIGGERS
- "github integration"
- "gh cli"
- "github api"
- "github issue detection"
- "github actions"
WHEN TO USE
- Automating GitHub operations
- Building GitHub-based workflows
- Parsing GitHub URLs
- Managing issues and pull requests
- Creating GitHub Actions
KEY TOPICS
- GitHub CLI (gh) Mastery
- GitHub API Patterns
- Issue and PR Detection
- GitHub Actions Integration
- Sprint Planning with GitHub Projects
QUICK REFERENCE
Essential gh commands:
gh issue list --label <label>
gh pr create --fill
gh pr merge --squash --auto
Key API endpoints:
GET /repos/{owner}/{repo}/issues
POST /repos/{owner}/{repo}/issues
FILES
Main: skills/github-integration/SKILL.md
References:
- gh-cli-reference.md (complete CLI reference)
- github-api-patterns.md (API patterns)
- github-actions-integration.md (workflow templates)
Examples:
- gh-cli-scripts.md (shell scripts)
- api-usage-examples.md (TypeScript examples)
- issue-detection-patterns.md (regex patterns)
RELATED SKILLS
- github-workflow-best-practices
- agency-workflow-patterns
- jira-integration
USAGE
Activate this skill by mentioning any trigger phrase:
"Show me github integration patterns"
"How do I use gh cli to create issues?"
"Parse github issue URLs"
This command leverages reusable prompt components for consistency across the agency plugin:
Referenced in Error Handling section:
prompts/error-handling/scope-detection-failure.md - Patterns for handling missing or ambiguous targetsprompts/error-handling/tool-execution-failure.md - File not found and tool errors (Read, Glob failures)prompts/error-handling/ask-user-retry.md - User decision patterns for ambiguous matchesUsage: Error handling patterns ensure consistent user experience when help targets aren't found
Referenced in Output Format Guidelines section:
prompts/reporting/summary-template.md - Standard formatting conventions
Usage: Output follows agency-wide formatting standards for professional CLI appearance
Referenced in Implementation Details section:
.claude/commands/agency-*.mdagents/**/*.mdskills/*/SKILL.mdUsage: Same discovery patterns used by other commands for reliability
These components are NOT used by the help command but may be referenced in help output when describing other commands:
prompts/issue-management/ - Used by work/plan/sprint commandsprompts/git/ - Used by commands that create PRs/commitsprompts/quality-gates/ - Used by implement/work commandsprompts/specialist-selection/ - Used by orchestrator workflowsprompts/planning/ - Used by plan/implement commandsprompts/progress/ - Used by multi-phase commandsNote: When showing help for these commands, you may reference these components in the output to explain their workflow