Skip to content
Agentmart
Submit a tool

expand

Turn one user criticism into a principle-level fix: find the violated principle, every similar occurrence, and fix the shared cause.

Skill by btseytlin

IndexedWTFPL★ 46
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/btseytlin-expand

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Turn one user criticism into a principle-level fix: find the violated principle, every similar occurrence, and fix the shared cause. Use only when the user explicitly invokes expand, $expand, /up:expand, or /skill:expand.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/expand

What's inside

Skill name
expand
Description
Turn one user criticism into a principle-level fix: find the violated principle, every similar occurrence, and fix the shared cause. Use only when the user explicitly invokes expand, $expand, /up:expand, or /skill:expand.
License
WTFPL
Instructions
46 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# Expand a criticism

The user pointed at one instance of a problem. Treat it as a sample, not the whole problem. Find the principle behind it, find every place that breaks that principle, and fix them all.

## Steps

1. Restate the criticism. Find what the user is really saying. Write the smallest general description of the problem that still covers the pointed-out case.
2. Name the violated principle. One sentence. It must explain why the pointed-out code is wrong, not only that it is wrong.
3. Describe the correct behavior. Say what the code would do if it followed the principle.
4. Find every violation. Search the codebase and related files for more instances of the same kind of issue. Include code, config, docs, and tests. Read each hit before counting it. List each with `file:line`.
5. Plan the fix. Prefer fixing the shared cause over patching each instance. If one helper, base class, or convention created the instances, change that.
6. Fix it. Apply the plan, then run the relevant checks. Re-search with the step 4 queries to confirm no violation is left.
7. Report briefly.

## Approval gate

After step 5, ask the user to approve the plan if the change is major. Do not ask in hands-off mode or when the user already told you to proceed without asking.

Hands-off mode is on when the first argument token is the literal `handsoff`, or when the active task file has `**Mode:** hands-off`. Strip the `handsoff` token before reading the criticism. In hands-off mode, follow the `handsoff` contract and log the decision.

A change is major when it does any of these:

- Changes a public interface, schema, or file format.
- Deletes or replaces a module.
- Changes behavior that callers outside the violating code rely on.
- Touches enough files that the user could not review it in one sitting.

## Rules

- Do not stop at the pointed-out instance. A fix to only that spot is a failed run.
- Do not widen the principle to make more hits. Each listed violation must break the same principle from step 2.
- If you find no other violations, say so and show the searches you ran.
- If a violation needs a decision the user must make, list it as open and do not guess.

## Report

```
Problem: <general description from step 1>
Principle: <violated principle>
Found: <count> violations
- <file:line> — <what was wrong>
Fixed: <what changed, shared cause first>
Open: <violations left and why, or none>
```

From btseytlin/ultrapack, WTFPL.

More from btseytlin/ultrapack

Signals

Stars
46
Forks
12
Open issues
1
Last commit (this folder)
Oct 13, 2026 (15 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
WTFPL
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from btseytlin

Cite this page

expand skill. Agent Mart. https://agentmart.dev/skills/btseytlin-expand (last updated 2026-10-24)