Compare commits
6 Commits
1ca5033bc8
...
42491d3dd0
| Author | SHA1 | Date | |
|---|---|---|---|
| 42491d3dd0 | |||
| a9cc1dc309 | |||
| 1020865026 | |||
| b4650c03b8 | |||
| 8d3915ad0e | |||
| 0046a87130 |
@@ -19,6 +19,17 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PreToolUse": [
|
||||
{
|
||||
"matcher": "Write|Edit",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "f=$(jq -r '.tool_input.file_path // empty'); printf '%s' \"$f\" | grep -Eq '(\\.(test|spec)\\.[cm]?[jt]sx?$)|/__tests__/' && jq -n '{hookSpecificOutput:{hookEventName:\"PreToolUse\",additionalContext:\"test-driven-development skill: the MAIN agent must not author test files. Each test is written by a test-writer sub-agent (via the Agent tool) from the public interface alone. If you are running /implement or any TDD flow and have not loaded /test-driven-development, load it now and delegate this test to the sub-agent. If you ARE the test-writer sub-agent, disregard this reminder.\"}}' || true"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"model": "opus"
|
||||
|
||||
@@ -30,7 +30,7 @@ Always branch off `main`, never off a sibling task branch.
|
||||
|
||||
### 3. Implement
|
||||
|
||||
Build the work described in the task's "What to build" section, satisfying its acceptance criteria. Use `/test-driven-development` where possible, at the seams already agreed when the spec or task was written.
|
||||
Build the work described in the task's "What to build" section, satisfying its acceptance criteria. ALWAYS use `/test-driven-development`, at the seams already agreed when the spec or task was written.
|
||||
|
||||
Run typechecking regularly, single test files regularly, and the full test suite once at the end.
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
source "$HOME/.cargo/env.fish"
|
||||
test -f "$HOME/.cargo/env.fish"; and source "$HOME/.cargo/env.fish"
|
||||
|
||||
@@ -13,5 +13,3 @@ set -gx VISUAL nvim
|
||||
set --export BUN_INSTALL "$HOME/.bun"
|
||||
set --export PATH $BUN_INSTALL/bin $PATH
|
||||
|
||||
# Pi
|
||||
fish_add_path "/home/alexion/.local/opt/node-v24.18.0-linux-x64/bin"
|
||||
|
||||
@@ -6,7 +6,7 @@ SETUVAR __fish_initialized:4300
|
||||
SETUVAR _fisher_jorgebucaran_2F_fishtape_files:\x7e/\x2econfig/fish/functions/fishtape\x2efish\x1e\x7e/\x2econfig/fish/completions/fishtape\x2efish
|
||||
SETUVAR _fisher_plugins:jorgebucaran/fishtape
|
||||
SETUVAR _fisher_upgraded_to_4_4:\x1d
|
||||
SETUVAR fish_user_paths:/home/alexion/\x2elocal/opt/node\x2dv24\x2e18\x2e0\x2dlinux\x2dx64/bin\x1e/home/alexion/Android/Sdk/platform\x2dtools
|
||||
SETUVAR fish_user_paths:/home/alexion/\x2elocal/bin\x1e/home/alexion/Android/Sdk/platform\x2dtools
|
||||
SETUVAR pure_begin_prompt_with_current_directory:true
|
||||
SETUVAR pure_check_for_new_release:false
|
||||
SETUVAR pure_color_at_sign:pure_color_mute
|
||||
|
||||
Reference in New Issue
Block a user