Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ data/
.idea/

**/.env
**/.ccpa
**/.ccpa

# Worktrees
.worktrees/
11 changes: 11 additions & 0 deletions examples/basic/.claude/commands/complex-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
description: Test command with complex frontmatter
author: QA Agent
version: 1.0
extra_field: should be ignored
---

# Complex Test Command

This command tests frontmatter parsing with multiple fields.
Only the description should be extracted.
4 changes: 4 additions & 0 deletions examples/basic/.claude/commands/no-frontmatter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# No Frontmatter Command

This command has no frontmatter at all.
The system should handle this gracefully.
10 changes: 10 additions & 0 deletions examples/basic/.claude/commands/test-command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
description: A simple test command for QA verification
---

# Test Command

This is a test command for verifying the dynamic command mapping feature.
When users type /test-command, this command should be executed.

Please respond with "Test command executed successfully!"
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"typecheck": "tsc --noEmit",
"lint": "biome check src",
"lint:fix": "biome check --write src",
"test": "vitest",
"test:run": "vitest run",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"prepublishOnly": "pnpm run build",
"prepare": "husky"
},
Expand Down Expand Up @@ -46,9 +50,11 @@
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@types/node": "^25.0.8",
"@vitest/ui": "^4.0.18",
"husky": "^9.1.7",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
"typescript": "^5.9.3",
"vitest": "^4.0.18"
},
"engines": {
"node": ">=18"
Expand Down
Loading