Index of every page on this site: llms.txt
All skills
Run it yourself

Simplify a codebase or selected changes while preserving required behavior.

Use this Skill: https://skilld.dev/gh/khoahyh/skills/subtract

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referenceschange-scopes.md

≈393 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Change Scopes

Use the requested baseline and keep edits inside the target. Identify protected staged, unstaged, and untracked work before mutation. History rewriting requires a separate explicit request.

Scope Baseline and mutation
Unstaged Tracked worktree delta against the index. Edit the worktree; leave the index unchanged. Include untracked files only when named.
Staged Index delta against HEAD. When staged and unstaged target paths are disjoint, edit and restage only touched target paths. For overlapping paths, ask whether to use combined uncommitted scope; leave those paths untouched without that choice.
Uncommitted Tracked changes against HEAD plus untracked files. Edit the worktree; preserve existing index entries.
Committed Explicit commit or range. Produce follow-up worktree edits without changing the index or rewriting history. Isolate targets with local edits in a clean task-owned worktree, or ask how to handle the overlap.

For committed scope:

  • A single commit compares with its first parent, or the empty tree for a root commit.
  • A..B compares A with B; A...B compares their merge-base with B.
  • With no range, compare HEAD with its merge-base with the repository's default branch. Ask for a base only when repository configuration and remote HEAD do not identify one unambiguously.

Carry established task ownership into any worktree choice. If an overlap cannot be isolated safely, report the affected paths as blocked and continue only on independent authorized targets.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides instructions for simplifying codebases by identifying and removing redundant or dead code. It includes procedural safeguards such as establishing change scopes and baselines to ensure modifications are focused and verifiable.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at fb2abb3. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 3 months ago
disable-model-invocation
true

README badge

README badge for khoahyh/skills/subtract