Skill.auto add

From causify-ai/helpers · View interactive version

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

How to use this skill

Skill file

Goal

commits

that <PROMPT> should have gotten right the first time

now produce the final <FILE>

from this one diff

Inputs

than guessing

Workflow

Determine the Changes

```bash

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

```

of the file; if the user named a range, use that instead

```bash

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

```

understand the intended end state, not just the deltas:

```bash

> git show <LAST_SHA>:<FILE>

```

Read the Prompt and the Conventions

govern how skills and prompts must be written

already lives elsewhere

Infer the Rules

(e.g. fixing a specific typo, updating a date): say explicitly which

hunks you dropped and why

over three overlapping ones

Improve the Prompt

rule is easy to misread

redundant, remove the old one

Apply via rules.add

change to the user 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

one 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.