writing-skills
यह क्या करती है
यह बताती है कि AI एजेंट के लिए स्किल कैसे बनाएं या बदलें, और उस पर भरोसा करने से पहले उसके काम करने की पुष्टि कैसे करें। यह उन लोगों के लिए है जो एजेंट स्किल बनाते या सुधारते हैं।
कब इस्तेमाल करें
- ✓जब आप अपने एजेंट के लिए शून्य से नई स्किल बनाना चाहते हों।
- ✓जब आपको मौजूदा स्किल बदलनी हो और पक्का करना हो कि वह अब भी काम करती है।
- ✓जब आप स्किल तैनात करने से पहले जांचना चाहते हों कि वह काम करती है।
Skill का लिंक
https://github.com/obra/superpowers/blob/main/skills/writing-skills/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं अपने AI सहायक के लिए एक नई स्किल लिखना चाहता हूं, और पक्का करना चाहता हूं कि वह सच में काम करती है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह हर स्किल को एक टेस्ट की तरह मानती है। एजेंट पहले स्किल के बिना काम को असफल होते देखता है, फिर स्किल लिखता है, फिर पुष्टि करता है कि एजेंट उसका पालन करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Writing Skills
Overview
Writing skills IS Test-Driven Development applied to process documentation.
Personal skills live in your runtime's skills directory (~/.claude/skills/ on Claude Code) — see codex-tools.md or gemini-tools.md for the path on those runtimes. Codex, Copilot CLI, and Gemini CLI all also recognize ~/.agents/skills/ as a cross-runtime alias.
You write test cases (pressure scenarios with subagents), watch them fail (baseline behavior), write the skill (documentation), watch tests pass (agents comply), and refactor (close loopholes).
Core principle: If you didn't watch an agent fail without the skill, you don't know if the skill teaches the right thing.
REQUIRED BACKGROUND: You MUST understand superpowers:test-driven-development before using this skill. That skill defines the fundamental RED-GREEN-REFACTOR cycle. This skill adapts TDD to documentation.
Official guidance: For Anthropic's official skill authoring best practices, see references/anthropic-best-practices.md. This document provides additional patterns and guidelines that complement the TDD-focused approach in this skill.
What is a Skill?
A skill is a reference guide for proven techniques, patterns, or tools. Skills help future agents find and apply effective approaches.
Skills are: Reusable techniques, patterns, tools, reference guides
Skills are NOT: Narratives about how you solved a problem once
TDD Mapping for Skills
| TDD Concept | Skill Creation |
|---|---|
| Test case | Pressure scenario with subagent |
| Production code | Skill document (SKILL.md) |
| Test fails (RED) | Agent violates rule without skill (baseline) |
| Test passes (GREEN) | Agent complies with skill present |
| Refactor | Close loopholes while maintaining compliance |
| Write test first | Run baseline scenario BEFORE writing skill |
| Watch it fail | Document exact rationalizations agent uses |
| Minimal code | Write skill addressing those specific violations |
| Watch it pass | Verify agent now complies |
| Refactor cycle | Find new rationalizations → plug → re-verify |
The entire skill creation process follows RED-GREEN-REFACTOR.
When to Create a Skill
Create when:
- Technique wasn't intuitively obvious to you
- You'd reference this again across projects
- Pattern applies broadly (not project-specific)
- Others would benefit
Don't create for:
- One-off solutions
- Standard practices well-documented elsewhere
- Project-specific conventions (put in your instructions file)
- Mechanical constraints (if it's enforceable with regex/validation, automate it—save documentation for judgment calls)
Skill Types
Technique
Concrete method with steps to follow (condition-based-waiting, root-cause-tracing)
Pattern
Way of thinking about problems (flatten-with-flags, test-invariants)
Reference
API docs, syntax guides, tool documentation (office docs)
Directory Structure
skills/
skill-name/
SKILL.md # Main reference (required)
supporting-file.* # Only if needed
Flat namespace - all skills in one searchable namespace
Separate files for:
- Heavy reference (100+ lines) - API docs, comprehensive syntax
- Reusable tools - Scripts, utilities, templates
Keep inline:
- Principles and concepts
- Code patterns (< 50 lines)
- Everything else
Writing SKILL.md
A skill's description says only when to use it: triggering conditions and
symptoms, starting with "Use when...". It never summarizes the skill's
workflow, because an agent that reads a workflow summary follows it instead
of reading the skill.
When you write or change a skill's frontmatter, name or description, or need to cut its size, read references/discovery.md: the SKILL.md template, description and keyword guidance, naming, token budgets, and cross-referencing other skills.
Flowcharts
When you add or change a flowchart in a skill, read references/flowcharts.md first: when a flowchart earns its place, the graphviz conventions, and how to render one.
Code Examples
One excellent example beats many mediocre ones
Choose most relevant language:
- Testing techniques → TypeScript/JavaScript
- System debugging → Shell/Python
- Data processing → Python
अक्सर पूछे जाने वाले सवाल
क्या इस स्किल के लिए प्रोग्रामिंग जानना ज़रूरी है?
ज़रूरी नहीं। स्किल सादे टेक्स्ट निर्देश हैं, इसलिए यह उन लोगों के लिए लिखी गई है जो साफ़ चरण लिख सकते हैं।
क्या यह स्किल बताती है कि स्किल का टेस्ट कैसे करें?
हां। यह कहती है कि स्किल के साथ और बिना, दोनों तरह से एजेंट चलाकर नतीजों की तुलना करें, फिर खत्म करें।
निजी स्किल कहां सेव होनी चाहिए?
स्किल कहती है कि निजी स्किल रनटाइम के skills फ़ोल्डर में जाएं, जैसे Claude Code सेटिंग्स के तहत skills फ़ोल्डर।
जानकारी
लेखक का मूल विवरण
Use when creating new skills, editing existing skills, or verifying skills work before deployment
repo: obra/superpowers
लोकप्रियता
- GitHub स्टार
- 311k
- रैंकिंग में स्थान
- #99
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
brainstorming
311kयह आपके एजेंट को केंद्रित सवाल पूछकर और साफ़ विकल्प रखकर, कुछ भी नया बनाने से पहले यह समझने में मदद करती है कि आप असल में क्या चाहते हैं।
executing-plans
311kयह आपके एजेंट को मौजूदा सेशन में लिखी इम्प्लीमेंटेशन योजना को चरण-दर-चरण पूरा करने में मदद करती है, हर चरण के बाद अगला शुरू करने से पहले उसकी जांच करके।
finishing-a-development-branch
311kयह आपके एजेंट को तैयार कोड को टेस्ट चलाकर समेटने में मदद करती है, फिर merge करने, pull request खोलने या branch रखने के साफ़ विकल्प देती है।
receiving-code-review
311kयह आपके एजेंट को कोड समीक्षा की टिप्पणियों को ध्यान से परखने में मदद करती है, कुछ भी बदलने से पहले हर बिंदु को कोड से मिलाकर।
मिलती-जुलती skills
writing-for-agents
310kAI एजेंट्स के लिए साफ़ निर्देश कैसे लिखें, यह समझाती है, जिसमें स्किल, AGENTS.md और CLAUDE.md फ़ाइलें शामिल हैं, ताकि एजेंट अनुमानित ढंग से व्यवहार करे।
bengali-nlp
280kयह आपके एजेंट को Bengali text प्रोसेस करने देता है। यह भाषा को समझने और उसके text को normalize करने जैसी उसकी खास बातों को संभालने में मदद करता है।
prompt-caching-strategy
280kआपके एजेंट को language models के लिए prompts को बेहतर बनाने में मदद करता है। यह देखता है कि prompts कैसे बने हैं, और जानकारी दोबारा इस्तेमाल करके खर्च घटाने और जवाब तेज़ करने के तरीके सुझाता है।