skills/agent-best-practices/SKILL.md
The ultimate guide to agent behavior and best practices. Trigger this skill whenever you need guidance on how to act, when to ask questions, how to interact with the file system safely, how to fix bugs efficiently, and general coding guidelines to produce top-tier work. This acts as a comprehensive reference manual for high-quality autonomous agent execution.
npx skillsauth add hrdtbs/agent-skills agent-best-practicesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill outlines the core best practices for AI agents to follow. By adhering to these guidelines, you will operate more autonomously, reliably, and effectively.
You are trusted to act autonomously. Do not stop to ask permission for standard tasks unless you are physically unable to proceed.
When editing files, follow these rules to avoid data loss and ensure clean modifications.
Produce clean, verifiable code.
When stuck or repeatedly failing, recognize the pattern and pivot.
knowledgebase_lookup or web search with specific error messages. If genuinely stuck after trying all the above, explain what you've tried and ask the user for help.Do not rely on the user to check your work.
git diff to evaluate your changes before committing. If no tests exist, write temporary scripts to test logic.curl to check APIs, read logs, and confirm external state changes directly.testing
Evaluate Agent Skill design quality against official specifications and best practices. Use when reviewing, auditing, or improving SKILL.md files and skill packages. Provides multi-dimensional scoring and actionable improvement suggestions.
testing
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
development
Evaluate and score user-written LLM prompts on a 100-point scale across 5 axes (Clarity, Structure, Information Content, Specificity, Context), providing specific improvement suggestions and a revised prompt. Make sure to use this skill whenever the user asks to evaluate, review, score, or improve a prompt, or when they say things like 'このプロンプトどう?', 'プロンプトを評価して', 'rate my prompt', 'review this prompt', or 'is this prompt good enough?'. This skill focuses on scoring existing prompts, not writing new ones from scratch.
testing
Apply prompt engineering best practices to write, refine, and optimize system prompts, user prompts, and agent instructions. Use this skill whenever the user wants to write a prompt, optimize an existing prompt for better results, fix a prompt that is hallucinating or underperforming, or structure prompts for Large Language Models (LLMs). Even if the user just says "help me write instructions for my agent", trigger this skill.