Tooluck logoTooluck
SKILL.md

code

Agent skill fromjeremylongshore/tons-of-skills-marketplace

Use BEFORE generating, refactoring, reviewing, or debugging code. Trigger phrases include "write a function/script/class for X", "review this code/diff/PR", "refactor this", "debug this error", "is this implementation correct", "what's wrong with this code", "improve this code", "translate from X to Y", or any prompt with a code block the user wants you to act on. Also fires when planning architectural changes, picking algorithms or data structures, or evaluating dependency upgrades. Calls the code MCP tool to retrieve an engineering scaffold (failure pattern, procedure, correct-pattern example, verification step) before generating. Catches hallucinated APIs, lost edge cases, premature algorithm commitment, silent contract violations, refactors that change behavior masked by passing tests. Do NOT trigger for pure code reading with no action requested, simple syntax questions, file system operations, running existing tests, or confirming an existing pattern is fine.

How to install code

install code
# install the tons-of-skills-marketplace pack with the skills CLI
npx skills add jeremylongshore/tons-of-skills-marketplace

# or add only this skill to Claude Code: copy the folder

plugins/community/ejentum-code/

# into

~/.claude/skills/ejentum-code/ (all projects)

.claude/skills/ejentum-code/ (one project)

plugins/community/ejentum-code/SKILL.md

MITFull file
1# Code Harness
2
3When this skill triggers, call the `code` tool from the `ejentum` MCP server. Pass a 1-2 sentence framing of WHAT you are coding or reviewing as the `query` argument. Include the failure risk to avoid where possible.
4
5Good query: `review a Python refactor that converts raise UserNotFound to silent default return; tests still pass`
6Bad query: `look at this code`
7
8The tool returns a structured scaffold containing:
9
10- `[CODE FAILURE]`: engineering failure pattern to avoid
11- `[ENGINEERING PROCEDURE]`: steps to follow
12- `[REASONING TOPOLOGY]`: decision flow
13- `[CORRECT PATTERN]`: shape correct code should take
14- `[VERIFICATION]`: self-check
15- `Amplify:` and `Suppress:` signals
16
17Absorb internally. Do NOT echo bracket labels in the user-facing reply. Apply the scaffold's failure-pattern check against your draft before responding; if your code exhibits the named failure, rewrite.
18
19If the API is unreachable, proceed with native engineering. The scaffold enhances; it is not a hard dependency.
20
21Latency cost: ~1 second. Benefit: catches the kinds of behavioral changes and silent contract violations that look plausible but break under real conditions.

Excerpt shown under the repository's MIT license.

More skills in tons-of-skills-marketplace

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates