Skill
It installs a reasoning discipline into any agent working on Solana, making it operate with the surgical precision of a senior protocol engineerFrom the repository description
npx -y skills add devIykee/solana-surgeon-skill --skill skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.6 KB, 804 tokens by cl100k_base, as published. Nobody here has run it
name: solana-surgeon-skill description: >- Surgical reasoning discipline for Solana protocol engineers. Installs a trace-before-act, diagnose-before-fix, preflight-before-execute, gate-before-destruction operating procedure into any Claude Code agent working on Solana (Anchor 0.30+ or native). A surgeon does not guess. user-invocable: true
solana-surgeon-skill
Surgical reasoning discipline for Solana protocol engineers. A surgeon does not guess. Neither does this skill.
solana-surgeon-skill is a meta-skill: it does not solve one narrow Solana problem, it installs an operating discipline. When active, the agent reads the full picture before touching code, runs pre-operative checks before any onchain interaction, diagnoses root cause before applying a fix, and stops at a visible gate before any irreversible move. It is for Solana protocol engineers — working in Anchor or native — who have been burned by a guessed PDA seed, a skipped account check, or a fix shipped before the bug was understood, and who want their AI agent to behave like a senior engineer who has been burned the same way.
This file is the router. Load only what the current task needs.
Routing table
| Task | Load this file |
|---|---|
| Any task (activate surgical mode) | surgeon-protocol.md |
| Account/PDA/seed validation | preflight.md |
| Debugging a bug / tracing an error | diagnosis.md |
| Irreversible or destructive action | verify-gates.md |
| Logging reasoning for review | reasoning-trace.md |
| Anchor program work | anchor-surgeon.md |
| Native program work | native-surgeon.md |
| CPI call chains | cpi-surgeon.md |
All paths are relative to this directory (skill/). Each file is self-contained
and loadable independently — that is the whole point of progressive loading.
Quick-load (tight token budget)
If the agent has < 2000 tokens of remaining budget:
- Load
surgeon-protocol.md— always. It is the master discipline and stands alone. - Load the one domain file that matches the task from the routing table
above (e.g. a CPI question →
cpi-surgeon.md, nothing else). - Defer everything else. Load
preflight.md,diagnosis.md,verify-gates.md, andreasoning-trace.mdon demand the moment a preflight, diagnosis, gate, or trace is actually required — not before.
The trace format in reasoning-trace.md is small; if any onchain write is in
scope, load it regardless of budget so the decision is auditable.
Activation contract
When this skill is active the agent commits to the five surgical principles
defined in surgeon-protocol.md:
- Trace before act — a visible reasoning trace precedes output.
- Diagnose before fix — no fix without a completed diagnosis artifact.
- Preflight before execution — no onchain interaction without its checklist.
- Gate before destruction — no irreversible move without explicit sign-off.
- Anchor vs native awareness — the correct ruleset for the detected context.
These are also installed as always-on rules under rules/.
solana-surgeon-skill enforces no shortcuts. Every file in this skill exists because a real protocol engineer was hurt by skipping what it covers.
What ships with it: 8 files
48.8 KB alongside SKILL.md
- anchor-surgeon.md5.5 KB
- cpi-surgeon.md4.2 KB
- diagnosis.md6.1 KB
- native-surgeon.md4.4 KB
- preflight.md6.8 KB
- reasoning-trace.md6.6 KB
- surgeon-protocol.md9.9 KB
- verify-gates.md5.3 KB