Skip to content
Back to skills

Learn History

ASecurity

Learn this repository's habits from its git history - hotspots, bug-prone files, files that change together, commit conventions, reverts - and turn them into project memory (Known traps, conventions) or a project skill, with your approval

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentspythongit

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add antoStr/team-workflow --skill learn-history --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Learn History?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Learn History
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/antostr-learn-history/badge)](https://www.skillsdirectory.com/skills/antostr-learn-history)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: learn-history
description: Learn this repository's habits from its git history - hotspots, bug-prone files, files that change together, commit conventions, reverts - and turn them into project memory (Known traps, conventions) or a project skill, with your approval
argument-hint: "[max commits, default 2000]"
disable-model-invocation: true
---

Use the team skill to learn from the history of this repository: $ARGUMENTS

1. Run `python3 <team skill folder>/scripts/tw.py learn --json` (add `--max <n>` when
   the user gave a number) from the repository root. It reads git locally; nothing leaves the
   machine.
2. Read `docs/memory` (MAP, the area cards, PLAYBOOKS). If it is missing, offer
   `/team:setup-memory` first.
3. Turn the facts into proposals, each tied to the evidence (the files and commits):
   - bug-prone files and reverts: a "Known traps" entry in the area card, after reading the
     fix commits (`git show <hash>`) to state the trap in one line;
   - files that change together: a note in the area card, or a finding when the coupling is
     accidental;
   - commit conventions and how often tests change with code: `PLAYBOOKS.md`;
   - when the user wants it, a project skill with these conventions in
     `.claude/skills/<repo>-conventions/SKILL.md` (and `.agents/skills/` for agy).
4. Show the proposals and ask which to apply (AskUserQuestion, multiSelect; `ask_question`
   with `is_multi_select: true` in agy). Write only what the user picks, then run memcheck.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.