Skip to content

Commit d209e97

Browse files
committed
feat: Add custom tools configuration support
- Implement configuration schema for custom tools - Add tool execution system with command executor - Update documentation with examples and best practices
1 parent ecc8909 commit d209e97

29 files changed

+3361
-6
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
.output
77
composer.lock
88
coverage
9-
docs
109
vendor
1110
node_modules
1211
.php-cs-fixer.cache

context.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,31 @@ import:
66
variables:
77
name: Context Generator
88

9+
tools:
10+
- id: run-tests
11+
description: Run unit tests
12+
env:
13+
COMPOSER_ALLOW_SUPERUSER: 'true'
14+
commands:
15+
- cmd: composer
16+
args:
17+
- test
18+
19+
- id: code-quality
20+
description: Run code quality checks
21+
env:
22+
COMPOSER_ALLOW_SUPERUSER: 'true'
23+
commands:
24+
- cmd: composer
25+
args:
26+
- cs-fix
27+
- cmd: composer
28+
args:
29+
- refactor
30+
- cmd: composer
31+
args:
32+
- psalm
33+
934
prompts:
1035
- id: my-local-prompt
1136
description: My local prompt

0 commit comments

Comments
 (0)