best-practices

Solid

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

AI & Automation 1,073 stars 124 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 | |-------|---------|---------| | **task-intent-analyzer** | Understand what user is trying to do | Task type, gaps, edge cases, transformation guidance | | **best-practices-referencer** | Find relevant patterns from references/ | Matching examples, anti-patterns to avoid, transformation rules | | **co...

Details

Author
MoizIbnYousaf
Repository
MoizIbnYousaf/Ai-Agent-Skills
Created
5 months ago
Last Updated
1 months ago
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category