skills
English | 中文
Agent skills by @luoling8192, in one repository. Works with Claude Code, Codex, Cursor, and every other agent skills.sh supports.
Skills
| Skill | Use it for | Source |
|---|
agent-rsi | Retrospective after every task: counts mistakes and proven methods, writes regression tests, ADRs, and postmortems, and promotes anything seen twice into AGENTS.md | this repository |
software-design-philosophy | Design review based on A Philosophy of Software Design: deep modules, information hiding, complexity | software-design-philosophy-skill |
technical-writing | Chinese internal technical writing: design docs, review notes, postmortems, sharing posts | technical-writing |
ai-coding-discipline | Coding discipline that prevents common AI coding anti-patterns | ai-coding-principles |
ddia-principles | Data system design based on Designing Data-Intensive Applications | ai-coding-principles |
create-pr-with-evidence | Pull requests with verifiable change context, architecture evidence, and before/after screenshots | create-pr-with-evidence-skill |
Install
All skills, for the agents detected on your machine:
npx skills add luoling8192/skills
One skill, globally, for specific agents:
npx skills add luoling8192/skills --skill agent-rsi --global --agent claude-code --agent codex
List without installing:
npx skills add luoling8192/skills --list
Update later with npx skills update.
agent-rsi with its Stop hook (Claude Code)
npx skills add installs skill files only, so the agent runs agent-rsi when it decides to. To have Claude Code ask for a retrospective automatically after every task that edited files, committed, opened a pull request, or deployed, install the plugin, which adds a Stop hook:
/plugin marketplace add luoling8192/skills
/plugin install agent-rsi@luoling8192-skills
The hook needs python3. It asks at most once per stretch of new work. A read-only stretch passes through unless it spent 15 minutes or more in tools and the stats script found a time sink. The prompt quotes the top findings.
For agents without hooks, add a line to your global rules file (~/AGENTS.md, ~/.codex/AGENTS.md, or ~/.claude/CLAUDE.md):
- After any task that changed code, config, pull requests, or deployments, run the `agent-rsi` skill.
With or without hooks, also add this line. Agents follow a stale rule file over the code in front of them in about 90% of conflicts; this sentence reverses that and makes the agent report the mismatch, which is how agent-rsi learns that a rule is out of date (arXiv 2610.30571):
- When a repository's documentation and its existing code disagree, follow the conventions used in the existing code, and in your final reply point out each inconsistency you found between the documentation and the code.
How agent-rsi works