Skill.auto add

From gpsaggese/helpers · View interactive version

Skill.auto add is an AI agent skill from the GitHub repository gpsaggese/helpers. Update a skill or prompt using lessons learned from a file's Git history

How to use this skill

Skill file

Goal

should have gotten right the first time

final <FILE>

one diff

Inputs

guess

Workflow

Determine the Changes

```bash

> git log --oneline --follow -- <FILE>

```

If the user named a range, use that instead

```bash

> git diff <FIRST_SHA> <LAST_SHA> -- <FILE>

```

state, not just the deltas:

```bash

> git show <LAST_SHA>:<FILE>

```

Read the Prompt and the Conventions

prompts are written

already lives elsewhere

Infer the Rules

fix, a date update). Say which hunks you dropped and why

Improve the Prompt

easy to misread

redundant, remove the old one

Apply via rules.add

first, then apply it once approved

Output

Report, in this order:

  1. The commit range and files inspected
  2. A table of inferred rules: change observed -> rule -> covered / new
  3. The proposed diff to <PROMPT>
  4. Anything you deliberately did not encode, and why

Verification

diff inspected

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.