Skip to content
Skills Library
AI & agents · Automation

improve-skill

/improve-skill

Fix a Last Mile skill that did the wrong thing, from inside the project where it went wrong. Decides whether the lesson belongs in the project's rules file or in the skill, makes the smallest change to the skill in The Last Mile repo (never the synced copy), keeps every project detail out because the repo is public, runs the checks and opens a pull request. Also adds a store or build trap other apps would hit to the ship skill's traps, through a fork when the user cannot push. Use when the user says a skill misfired, "improve the skill", "fix session-end", "that skill should have done X", or w

Licence
MIT
Last repository change
28.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Fix a Last Mile skill that did the wrong thing, from inside the project where it went wrong. Decides whether the lesson belongs in the project's rules file or in the skill, makes the smallest change to the skill in The Last Mile repo (never the synced copy), keeps every project detail out because the repo is public, runs the checks and opens a pull request. Also adds a store or build trap other apps would hit to the ship skill's traps, through a fork when the user cannot push. Use when the user says a skill misfired, "improve the skill", "fix session-end", "that skill should have done X", or w

Triggers from the description

improve the skillfix session-endthat skill should have done X
Original author description

Fix a Last Mile skill that did the wrong thing, from inside the project where it went wrong. Decides whether the lesson belongs in the project's rules file or in the skill, makes the smallest change to the skill in The Last Mile repo (never the synced copy), keeps every project detail out because the repo is public, runs the checks and opens a pull request. Also adds a store or build trap other apps would hit to the ship skill's traps, through a fork when the user cannot push. Use when the user says a skill misfired, "improve the skill", "fix session-end", "that skill should have done X", or w

How it works

  1. 0. What went wrong
  2. 1. Decide where the fix belongs
  3. 2. Reach The Last Mile
  4. 3. Make the smallest change
  5. 4. Check and open the pull request
  6. 5. Finish
Original SKILL.md headings · 75 lines, 616 words
SKILL.md preview
---
name: improve-skill
description: Fix a Last Mile skill that did the wrong thing, from inside the project where it went wrong. Decides whether the lesson belongs in the project's rules file or in the skill, makes the smallest change to the skill in The Last Mile repo (never the synced copy), keeps every project detail out because the repo is public, runs the checks and opens a pull request. Also adds a store or build trap other apps would hit to the ship skill's traps, through a fork when the user cannot push. Use when the user says a skill misfired, "improve the skill", "fix session-end", "that skill should have done X", or when session end lists a skill problem.
---

# Improve skill

The skills get better from real use. This turns one thing that went wrong into
one small, general fix in The Last Mile, without leaking the project it happened in.

## 0. What went wrong

Write it in three lines, from the conversation:

- **Skill:** which one.
- **What it did:** the step and the result.
- **What it should have done.**

If the conversation does not make this clear, ask one question, then wait.

## 1. Decide where the fix belongs

| The lesson is... | Fix it in |
| --- | --- |
| About this project only: a command, a file, a service, an app rule | The project's rules file (`CLAUDE.md` or `AGENTS.md`): the Settings table, Gotchas or Standing decisions. Stop there. |
| About a skill listed in `keepLocal` in `.claude/last-mile/config.json` | That skill in `.claude/skills/<name>/`, which is the project's own version. Then ask whether the general version needs the same lesson; if yes, carry on below. |
| True for any app using the skill | The Last Mile, below. |
| A store rejection or build trap other apps would hit, not yet in `skills/ship/references/traps.md` | A new trap in that file, below. |

Most misfires are a missing project setting, not a broken skill. Check that first.

## 2. Reach The Last Mile

The source repo is `source` in `.claude/last-mile/config.json`
[`namedtoaster/the-last-mile`].

- **A local clone exists:** work there, on a new branch from an up to date `main`.
- **Cloud session:** add the repo to the session with push access (for example an
  add repository tool), clone it into its own folder, and branch from `main`.
- **The user cannot push to it** (most people): fork it with
  `gh repo fork namedtoaster/the-last-mile --clone`, branch in the fork, and open the
  pull request from the fork in step 4. Without `gh`, open an issue instead: the
  "This caught me" form for a trap, the skill problem template for a skill.

Name the branch `improve/<skill>-<few-words>`.

## 3. Make the smallest change

Edit `skills/<skill>/SKILL.md`, or the reference file the step points to. For a
trap, add one entry to `skills/ship/references/traps.md` under the right heading, in
the shape `CONTRIBUTING.md` gives (What happened, Rule, How to check, Source, Status).
Mark it **From experience** unless you opened the official page this session.

- Change the step that went wrong. Do not rewrite the skill around it.
- Word it for any app. Swap this project's names for a plain example.
- **Nothing from the project goes in:** no app name, screen names, copy, user data,
  keys, URLs, device ids or analytics. The repo is public. If the lesson cannot be
  told without them, it belongs in the rules file (step 1).
- Date anything that can go stale. Follow `CONTRIBUTING.md`: plain words, no long
  dashes (em or en).
- Add one line under the unreleased heading in `CHANGELOG.md`.

## 4. Check and open the pull request

1. Run `node scripts/validate.mjs`. Fix what fails until it passes.
2. Commit only the files you changed, push the branch and open a pull request
   that follows `.github/pull_request_template.md`. Say what went wrong in general
   terms and what the change does.

## 5. Finish

- **Never edit the synced copy** in the project's `.claude/skills/<skill>/`. The
  next sync overwrites it. For the rest of this session, follow the fixed step by
  hand.
- Tell the user, in a few lines: what went wrong, where the fix went, and the pull
  request link. Once it is merged, the project picks it up on the next sync: the
  "Sync The Last Mile skills" workflow (daily, or Run workflow from the Actions
  tab), or `node .claude/last-mile/sync.mjs` and a commit.

Versions

RepositoryScoreLicence
This page · namedtoaster/the-last-mile100MIT
mgiovani/cc-arsenal100MIT
maragudk/fabrik100MIT
JQ-WCoding/devkit100MIT
andriiklymiuk/corgi100MIT
av/skills100MIT
alex-kopylov/zweihander100Apache-2.0
ANcpLua/ancplua-claude-plugins100MIT

Database snapshot: 13.11.2026 · package version 407488fb3af0 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100lesson-eval
    After a bug fix or a review comment, decide whether the lesson is worth keeping (Save, Improve, Absorb, Drop), write it in the project's lessons file in a fixed format, and promote lessons that repeat across projects into kit or project rules. Use after fixing a bug, after a…
  • 100write-skill
    Create a new agent skill, or improve an existing one, inside this skills repo, following its housekeeping rules. Use when asked to "write a skill", "make this a skill", "save this as a skill", "turn what we just did into a skill", or "improve the X skill".
  • 86sync
    Bring this project's copy of The Last Mile skills up to date, then commit and push it, so the next session on any device has the latest skills. Works from the phone, nothing to run by hand. Use when the user says "sync", "update the skills", "get the latest Last Mile", or a Last…
  • 100skill-creator
    Create, edit, evaluate, and debug the skills in this repo, including running their evals and fixing a description that fails to trigger. Use when user says 'help me build a new skill', 'add a skill for X', 'run the evals for the tf skill', 'run the behavioral evals', 'my skill…
  • 100skill-improve
    Improve existing skills after use. When Claude uses a skill and discovers issues (outdated steps, missing edge cases, unclear instructions, wrong assumptions), suggest "/skill-improve" after the current task completes. Also use when user says "fix this skill", "this skill is…
  • 100add-skill
    Use in the agent-skills repo when the user asks to add a new shared skill, change or split one in skills/, move a section to a reference file, or fix a failing check. Writes the skill to the rules in AGENTS.md, runs the skill and prose checks and the temp home install, and…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.