feat(config): add execution context profiles for mode-specific agent output (#1827)
* feat(config): add execution context profiles for mode-specific agent output * fix(config): add enum validation for context config key Validate context values against allowed enum (dev, research, review) in cmdConfigSet before writing to config.json, matching the pattern used for model_profile validation. Add rejection test for invalid context values.
This commit is contained in:
21
get-shit-done/contexts/dev.md
Normal file
21
get-shit-done/contexts/dev.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Dev Context Profile
|
||||
|
||||
Agent output guidance for dev mode. Loaded when `context: dev` is set in config.json.
|
||||
|
||||
## Output Style
|
||||
|
||||
- Concise, action-oriented responses
|
||||
- Lead with the code change or command, follow with brief rationale
|
||||
- Skip preamble — assume the developer has full context
|
||||
- Use inline code references (`file:line`) over prose descriptions
|
||||
|
||||
## Focus Areas
|
||||
|
||||
- Working code that compiles and passes tests
|
||||
- Minimal diff — change only what is necessary
|
||||
- Flag side effects or breaking changes immediately
|
||||
- Surface the next actionable step at the end of every response
|
||||
|
||||
## Verbosity
|
||||
|
||||
Low. One-liner explanations unless the change is non-obvious. Omit background theory, alternative approaches, and caveats that do not affect the current task.
|
||||
Reference in New Issue
Block a user