amd/gaia/coding
Claude Code and agent skill by amd/gaia
- community
Checking that the SKILL.md file is still in the repository.
Work on a codebase — read, search, edit and verify source files. Use when the user asks to fix a bug, add a feature, refactor, explain code, make a test pass, or change anything in a repository. Covers finding the right file, editing safely, and proving the change works before reporting it.
Install
npx vskill@latest install amd/gaia/codingSKILL.md
The same SKILL.md was published earlier as amd/gaia/coding.
Coding
Changing code is different from answering a question: you can be confidently wrong for hours because the answer looked plausible. Everything below exists to close that gap.
Find the code before you change it
You have two searches and they answer different questions:
- `search_file_content` — grep. Use it when you know the string: a function
name, an error message, a config key. Fastest way to find every call site.
- `search_code_index` — semantic. Use it when you know the behaviour but
not the name: "where do we decide which model to load". Run index_codebase once for the repo first; get_index_status says whether it is ready.
Grep first when you have an exact token — it is instant and exhaustive. Reach for the semantic index when grep returns nothing useful because you are guessing at names.
Read the file before you edit it
Not the top of it — use read_file on the part you are changing, plus enough around it to see what else depends on it. An edit written from memory of a similar file is how you delete someone's special case.
edit_file replaces an exact string. If it fails, the file is not what you thought: re-read it, do not retry with a guess. Never fall back to rewriting the whole file to get past a failed edit — that silently reverts anything else in it and rewrites every line's endings, turning a two-line change into a whole-file diff.
Reproduce it first, then fix it
Run the failing thing and read the actual output before changing anything. A bug you have not reproduced is a bug you are guessing at, and the fix for a guess usually lands somewhere real code was fine.
This also gives you the before state. Without it you cannot tell whether you fixed the problem or merely changed the symptom.
Prove it, then say it
A test you did not run is not a test that passed. Tracing the logic in your head is not verification — it is the same reasoning that produced the bug.
This skill grants pytest and python when they are installed on PATH, so run the suite directly with run_shell_command. Prefer the python -m spelling — it puts the project's own directory on sys.path, so it works on a checkout that was never installed, where bare pytest fails to import the project:
python -m adds the current directory to the import path, not src/. For a project whose package lives under src/, scope the path to that one command:
Where only python3 exists, python3 -m pytest works the same way.
pytest often lives only in the project's virtualenv, so it is not on PATH. The skill still loads, but without the pytest grant, so python -m pytest runs only once the user approves it. execute_python_file works too, wherever pytest is importable:
Loading this skill grants pytest and python <script.py> execution without another prompt. Tests and scripts are trusted project code: they can write files, access the network, and launch other programs, including commands the direct CLI policy refuses. These grants do not sandbox their effects. The separate execute_python_file tool still requires per-call approval.
python -c "..." is outside the grant, which requires a reviewable file in the checkout — the user would have to approve that exact line once. Write new code to a file first so the diff shows it, and review what it does before executing it. For a one-off calculation that should not land in the repository at all, run_python takes the snippet through the tool path instead — it asks for approval on every call rather than riding this grant.
The rest of the grant is narrow on purpose. --pdb would hang waiting for a debugger nobody can answer, -p <plugin> imports arbitrary code, --junitxml writes outside the run. python -m pytest --pdb is refused for exactly the same reason pytest --pdb is — -m is not a way around a rule.
For a suite pytest cannot drive — npm, go, cargo, make — you have no grant by default. GAIA ships policies for npm, go, uv, pip, black, isort and ruff, so a project skill can declare the one it needs (shell:execute:npm) and get the same three-tier treatment. make has no policy and will not get one: its argument is a target in a file, so "run make test" means "run whatever the Makefile says", which no approval prompt can honestly describe.
If you could not run something, say so plainly — "I could not execute the suite, so this is unverified" — rather than implying it passed.
Do not break what was already working
Run the WHOLE suite, not just the test you were asked about. A fix that repairs one test and breaks two is a worse state than you started in, and you will not notice if you only look at the one.
If something else fails, that is now your problem, whether or not you caused it. Say which of the two it is.
Committing: yours to propose, theirs to approve
You have git. Reads — status, diff, log, show, branch — run straight through, and you should use them constantly: git diff before you report a change is the cheapest possible check that the diff is only what you meant.
add, commit, checkout, switch, and restore require approval of the exact command before running. Write the commit message as if it is the only thing the reviewer reads, because for a squashed PR it is.
stash list and stash show are reads. stash push, stash save, stash apply, and stash pop require approval; bare stash, stash drop, and stash clear are refused.
The direct Git policy refuses these commands entirely: push, fetch, pull, clone, merge, cherry-pick, revert, bisect, rebase, rm, mv, reset, clean, gc, tag, apply, format-patch, and config. It also refuses commit --amend and reset --hard; these are not alternate spellings. For remote commands, tell the user the exact command. For history-changing commands, stop at the boundary and return the conflict state; the user may run merge --continue, rebase --continue, or the corresponding abort command. For rm, mv, reset, clean, gc, and tag, ask the user to perform the exact change—never substitute a shell command or another Git spelling. Every tag form, including listing tags, is refused.
Publishing, history rewriting, and destroying uncommitted work are the user's to run. When a committed branch wants pushing, say so and stop — "committed on `fix/discount`; run `git push -u origin fix/discount` and I will open the PR" — rather than looking for a spelling that gets through.
The supported Git surface is reads (status, diff, log, show, branch, blame, describe, rev-parse, merge-base, ls-files, ls-tree, cat-file, grep, shortlog, help), local staging and commits (add, commit), approval-gated branch/file operations (checkout, switch, restore, stash), and the read-only remote view. Anything else is refused.
Keep the diff to the change
- Fix the bug you were asked about. Do not reformat, rename, reorder imports, or
"clean up while you're here" — every unrelated line is a line the reviewer has to check.
- Match the file's existing style, even where you would write it differently.
- Do not add comments narrating what the code does. A comment earns its place by
explaining a why that is not obvious from the code.
When you fix one instance, look for the others
The same mistake is rarely alone. A bad subprocess call, a missing encoding, a wrong default — grep for the pattern once you understand it, and say what you found even if you only fixed one. "Fixed here; three more in X, Y, Z" is far more useful than a silent single fix.
Scratch files are yours, not theirs
Runner scripts and scratch output go in the system temp directory — write them there and run them with execute_python_file, which does not care where the file lives. python does: its grant stops at the checkout, so a scratch script outside it is execute_python_file's job, not the shell's.
Writing create_doc.py and temp/ into the root of someone's repository leaves them in the next git status, and they did not ask for them.
Reporting a code change
Lead with whether it works, then what changed:
Both failing tests pass now, and the other six still do.-apply_discountwas subtractingamount * percentinstead ofamount * percent / 100.-format_moneyusedstr(round(...)), which drops the trailing zero in$5.50.
Name the file and line only when the reader needs it to act. Never claim a test run you did not do.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinghub/skills/coding/SKILL.md
Popularity
- Repository stars
- 1,574
- Repository forks
- 174
- 7-day trend score
- 37
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 29 Oct 2026, 25 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/amd/gaia/coding)