Mend agent skills
Standardized, portable AI agent skills that proactively bootstrap your codebase for autonomous development.
npx -y skills add yu-iskw/meta-agent-skills --skill mend-agent-skillsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Verifies and updates the commands within existing Agent Skills to ensure they match the current codebase state.
SKILL.md
2.0 KB, 495 tokens by cl100k_base, as published. Nobody here has run it
Mend Agent Skills
Purpose
This skill iterates through existing agent skills, verifies that their embedded commands (e.g., make lint, npm test) are still valid in the current codebase, and updates them if they are broken or outdated.
When to Use
- When the
Makefileor task runner configuration (e.g.,package.json,pyproject.toml) has changed. - When an agent reports that a command in a skill failed to execute.
- As a periodic health check to prevent "bit rot" in the agentic layer.
Instructions
1. Identify Target Platform
- Check for existing configuration directories:
.claude/-> Claude Code.cursor/-> Cursor.gemini/-> Gemini CLI.codex/-> Codex
- If multiple or none are found, or if you are unsure, use
AskQuestionto ask the user which platform to prioritize.
2. Audit Skills
- Iterate through each
SKILL.mdfile in the platform's skills directory (e.g.,.claude/skills/). - Identify commands defined in tables or instruction blocks. Look for keywords like
Command,Step, or code blocks containing shell commands.
3. Verify and Mend Commands
- For each extracted command:
- Determine its intended working directory.
- Verify: Check if the command/target is still valid.
- If it's a
makecommand, check theMakefile. - If it's an
npm/pnpm/yarncommand, checkpackage.json. - If it's a language-specific tool (e.g.,
pytest,ruff), verify the tool is configured.
- If it's a
- Mend:
- If the command is invalid, search for a replacement (e.g., if
make testbecamemake unit-test). - If a replacement is found, update the
SKILL.mdfile usingStrReplace. - If no replacement is found, mark the skill as "Broken" and report it.
- If the command is invalid, search for a replacement (e.g., if
4. Final Report
- Summarize:
- Total skills audited.
- Commands successfully mended.
- Skills requiring manual intervention (no replacement found).