best-practices
Transforms vague prompts into optimized Claude Code prompts. Adds verification, specific context, constraints, and proper phasing. Invoke with /best-practices.
npx skills add MoizIbnYousaf/Ai-Agent-Skills --skill best-practices --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 | |-------|---------|---------| |
- Start Here
- If "Transform directly"
- If "Build context first"
- What Each Agent Returns
- After Agents Return
- Agent Definitions
- Transformation Workflow
- The 5 Transformation Principles
- 1. Add Verification (Highest Priority)
- 2. Provide Specific Context
- 3. Add Constraints
- 4. Structure Complex Tasks in Phases
- 5. Include Rich Content
- Output Format
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.
