Agent skill · AI & Agents

best-practices

Transforms vague prompts into optimized Claude Code prompts. Adds verification, specific context, constraints, and proper phasing. Invoke with /best-practices.

MoizIbnYousafgithub.com/MoizIbnYousafGitHub ↗
claude-codecodexcursorMIT
Install
npx skills add MoizIbnYousaf/Ai-Agent-Skills --skill best-practices --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 9
SKILL.md size: 16 KB
Bundled scripts: none
Version: 4.1.0
Path: skills/best-practices/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,114
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Best Practices — Prompt Transformer > Transform prompts by adding what Claude needs to succeed. ## Start Here Based on user's request: **User provides a prompt to transform:** → Ask using AskUserQuestion: - **Question:** "How should I improve this prompt?" - **Header:** "Mode" - **Options:** 1. **Transform directly** — "I'll apply best practices and output an improved version" 2. **Build context first** — "I'll gather codebase context and intent analysis first" **User asks to learn/understand:** → Show the 5 Transformation Principles section **User asks for examples:** → Link to references/before-after-examples.md **User asks to evaluate a prompt:** → Use the Success Criteria eval rubric at the end of this document --- ## If "Transform directly" Apply the 5 principles below and output the improved prompt immediately. ## If "Build context first" Launch 3 parallel agents to gather context: ``` Run these agents IN PARALLEL using the Task tool: - Task task-intent-analyzer("[user's prompt]") - Task best-practices-referencer("[user's prompt]") - Task codebase-context-builder("[user's prompt]") ``` ### What Each Agent Returns | Agent | Mission | Returns | |-------|---------|---------| |

What's inside
Steps it walks through
  1. Start Here
  2. If "Transform directly"
  3. If "Build context first"
  4. What Each Agent Returns
  5. After Agents Return
  6. Agent Definitions
  7. Transformation Workflow
  8. The 5 Transformation Principles
  9. 1. Add Verification (Highest Priority)
  10. 2. Provide Specific Context
  11. 3. Add Constraints
  12. 4. Structure Complex Tasks in Phases
  13. 5. Include Rich Content
  14. Output Format
Ships with 8 files
  • agents/best-practices-referencer.md
  • agents/codebase-context-builder.md
  • agents/task-intent-analyzer.md
  • references/anti-patterns.md
  • references/before-after-examples.md
  • references/best-practices-guide.md
  • references/common-workflows.md
  • references/prompt-patterns.md
More from Ai-Agent-Skills
All skills →
About this skill
What does the best-practices skill do?

Transforms vague prompts into optimized Claude Code prompts. Adds verification, specific context, constraints, and proper phasing. Invoke with /best-practices.

How do I install it?

Run `npx skills add MoizIbnYousaf/Ai-Agent-Skills --skill best-practices --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From MoizIbnYousaf/Ai-Agent-Skills, a repository with 1,114 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going