Skip to content

Commit f84d0b1

Browse files
committed
feat: Enhance CLI commands with structured documentation and improved workflows
- Updated husky command documentation for comprehensive CI checks and error handling. - Introduced new workflow orchestrator command for managing complex automation workflows. - Enhanced add-changelog command with current state checks and structured output. - Improved commit command with repository state insights and structured usage. - Updated performance audit command with current performance context and structured tasks. - Enhanced create-feature command with project context checks and structured tasks. - Improved security audit command with current environment checks and structured tasks. - Updated setup-development-environment command with current environment checks. - Enhanced svelte component creation command with project context checks and structured tasks. - Improved sync-status command with current sync state checks and structured tasks. - Updated sprint planning command with current sprint context checks and structured tasks. - Enhanced generate-tests command with current testing setup checks and structured tasks. - Improved code review command with current state checks and structured tasks.
1 parent 137d030 commit f84d0b1

File tree

16 files changed

+2231
-141
lines changed

16 files changed

+2231
-141
lines changed

COMMANDS_GUIDE.md

Lines changed: 909 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 57 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,57 @@
1-
Follow RED-GREEN-REFACTOR cycle approch based on @~/.claude/CLAUDE.md:
2-
1. Open todo.md and select the first unchecked items to work on.
3-
2. Carefully plan each item, then share your plan
4-
3. Create a new branch and implement your plan
5-
4. Check off the items on todo.md
6-
5. Commit your changes
1+
---
2+
allowed-tools: Read, Edit, Bash
3+
argument-hint: [workflow-name]
4+
description: Execute GitHub Actions locally using act
5+
model: sonnet
6+
---
7+
8+
# Act - GitHub Actions Local Execution
9+
10+
Execute GitHub Actions workflows locally using act: $ARGUMENTS
11+
12+
## Current Workflows
13+
14+
- Available workflows: !`find .github/workflows -name "*.yml" -o -name "*.yaml" | head -10`
15+
- Act configuration: @.actrc (if exists)
16+
- Docker status: !`docker --version`
17+
18+
## Task
19+
20+
Execute GitHub Actions workflow locally:
21+
22+
1. **Setup Verification**
23+
- Ensure act is installed: `act --version`
24+
- Verify Docker is running
25+
- Check available workflows in `.github/workflows/`
26+
27+
2. **Workflow Selection**
28+
- If workflow specified: Run specific workflow `$ARGUMENTS`
29+
- If no workflow: List all available workflows
30+
- Check workflow triggers and events
31+
32+
3. **Local Execution**
33+
- Run workflow with appropriate flags
34+
- Use secrets from `.env` or `.secrets`
35+
- Handle platform-specific runners
36+
- Monitor execution and logs
37+
38+
4. **Debugging Support**
39+
- Use `--verbose` for detailed output
40+
- Use `--dry-run` for testing
41+
- Use `--list` to show available actions
42+
43+
## Example Commands
44+
45+
```bash
46+
# List all workflows
47+
act --list
48+
49+
# Run specific workflow
50+
act workflow_dispatch -W .github/workflows/$ARGUMENTS.yml
51+
52+
# Run with secrets
53+
act --secret-file .env
54+
55+
# Debug mode
56+
act --verbose --dry-run
57+
```

0 commit comments

Comments
 (0)