tlc-spec-driven
यह क्या करती है
यह स्किल AI से फ़ीचर चरणों में योजना और निर्माण करवाती है: स्पेक, डिज़ाइन, कार्यों में बाँटना और निष्पादन। वह गहराई काम के आकार के अनुसार तय करती है और स्पेक मंज़ूर होने से पहले हर प्रोडक्ट सवाल पूछती है। यह सावधान, पता लगाने योग्य फ़ीचर काम चाहने वाले डेवलपर्स के लिए है।
कब इस्तेमाल करें
- ✓जब आप नया फ़ीचर बनने से पहले जाँच योग्य आवश्यकताओं के साथ योजना चाहते हैं।
- ✓जब फ़ीचर इतना बड़ा हो कि उसे स्पेक, डिज़ाइन और कार्य सूची चाहिए।
- ✓जब आप चाहते हैं कि हर आवश्यकता उस टेस्ट से जुड़ी हो जो उसे सिद्ध करे।
Skill का लिंक
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/tlc-spec-driven/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक ऐसा फ़ीचर योजना बनाकर बनाइए जिससे उपयोगकर्ता अपने इनवॉइस CSV में एक्सपोर्ट कर सकें, जाँच योग्य आवश्यकताओं और कार्य सूची के साथ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI स्पेक को संरचित, जाँच योग्य शैली में लिखता है, डिज़ाइन सिर्फ़ तब जोड़ता है जब दायरा उसकी माँग करे, काम को छोटे कार्यों में बाँटता है, फिर हर एक को बनाकर टेस्ट करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Tech Lead's Club - Spec-Driven Development
Plan and implement features with precision. Granular tasks. Clear dependencies. Right tools. Zero ceremony.
┌──────────┐ ┌──────────┐ ┌─────────┐ ┌─────────┐
│ SPECIFY │ → │ DESIGN │ → │ TASKS │ → │ EXECUTE │
└──────────┘ └──────────┘ └─────────┘ └─────────┘
required optional* optional* required
* Agent auto-skips when scope doesn't need it
Critical Rules (read before acting)
Loading this skill's files. Reference files live under references/ in this skill's own directory (where this SKILL.md resides). Resolve them relative to the skill directory, never the workspace root. When a step tells you to read a reference, read it to the end before acting.
Running this skill's scripts. Every scripts/*.py lives under that same skill directory: run python3 <skill-dir>/scripts/<name>.py ..., never python3 scripts/... from the project root. Project data under .specs/ is read and written relative to the project root (pass --root when the cwd is elsewhere). Run a script rather than read it: its messages say what to change. On Windows, where python3 may be the Microsoft Store alias, run python or py -3.
Execution contract - every task, non-negotiable (holds even if you do not open the reference files):
- Ask, then stop for approval. Every gray area that is the user's - scope, product behaviour, a departure from a binding source - is asked before the spec is presented; an assumption never stands in for one. Approving the spec and approving the tasks are the two stops for a human. When nobody is there to answer, end your turn with the questions. Each approval is written as
**Approved**: <date> - user: "<their words>"in spec.md and tasks.md; one the user did not give is never written. Every answer goes into its file in the turn it arrives - the chat does not survive a compaction. - Tests derive from the spec's acceptance criteria and assert spec-defined outcomes - they never mirror the implementation.
- The gate must pass before a task is done - the test runner decides, not self-assessment. One atomic commit per task, with
tasks.mdmarked complete before it - and inside it when the repo tracks.specs/; where the repo ignores.specs/, the commit holds only the code and its tests, and never forces them in. Never batch tasks; never weaken, skip, or delete tests to make them pass. - Every criterion has a check, and every check a proof. tasks.md
## Checksholds one claim per criterion with the project's own test command that selects its test - tests that run together share one**Run <name>**:line, and each check names the line its test prints (Proof: run <name> | <line>). After the LAST task,check_proofs.pyruns each group and lone proof once atHEAD, one at a time, with the build; then a fresh Verifier (author ≠ verifier) runs always, never prompted - it judges whether each check's test would fail if the claim were false, tries examples nobody named, and finds assertions looser than their criterion. Done means every finding is closed by a commit andvalidate_verification.pyexits 0. - A screen is held to its design. A capture that comes with the request binds unless the user called it inspiration; its criterion cites the capture file. Each state a capture draws is saved as
captures/<capture>.running.pngfrom a browser window at the capture's size - an image resized afterwards shows another layout - and a fresh screens sub-agent retakes and judges it (verify-screens.md). - Where rules run. Every rule that changes what a user sees - including filtering, searching, sorting and counting - runs in a layer the repo's tests reach.
- Blast radius: approving a spec or tasks authorizes local implementation and local commits only.
git push, force-push, deploy, production DB changes, and other remote or destructive operations need an explicit go-ahead for that action.
Deterministic gates run before human review - not from memory. A non-zero exit means STOP and fix:
| When | Command |
|---|---|
| Before presenting the spec | validate_spec.py <feature> - EARS criteria, filled assumptions, requirement IDs, and with captures: binding or quoted, cited, shown, departures approved |
| Before presenting the tasks | validate_tasks.py <feature> - granularity, dependencies, Tests and Gate per task, ## Checks with a proof e |
अक्सर पूछे जाने वाले सवाल
क्या हर फ़ीचर को चारों चरणों की ज़रूरत है?
नहीं। AI वे चरण छोड़ देता है जिनकी दायरे को ज़रूरत नहीं।
क्या लिखने से पहले सवाल पूछती है?
हाँ। स्पेक मंज़ूर होने से पहले हर प्रोडक्ट फ़ैसले के बारे में पूछती है।
आवश्यकताएँ कैसे लिखी जाती हैं?
संरचित, जाँच योग्य शैली में, हर आवश्यकता के लिए एक जाँच के साथ।
जानकारी
लेखक का मूल विवरण
Feature planning and implementation with 4 adaptive phases (Specify, Design, Tasks, Execute). Auto-sizes depth by complexity. Asks every product decision before the spec is approved, writes testable requirements in EARS notation, atomic tasks with a gate and a commit each, and one check per criterion with the test that proves it. Captures that come with the request bind, and each screen is judged against them. Ships deterministic Python scripts so the gates are enforced by code, not memory; the project's own tests run once at the end, and an independent Verifier (author != verifier) judges eac
लोकप्रियता
- GitHub स्टार
- 7.1k
- रैंकिंग में स्थान
- #13539
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
component-common-domain-detection
7.1kयह आपके एजेंट को कोडबेस के कई हिस्सों में दोहराए गए बिज़नेस लॉजिक को ढूँढने और उन्हें मिलाने का तरीका सुझाने में मदद करती है।
component-flattening-analysis
7.1kयह आपके एजेंट को गलत जगह रखा गया कोड ढूँढने और उलझे हुए कंपोनेंट फ़ोल्डर ढाँचे को सीधा करने में मदद करती है, ताकि हर चीज़ अपनी सही जगह रहे।
component-identification-sizing
7.1kयह आपके एजेंट को कोडबेस के हिस्सों का नक्शा बनाने और उनका आकार मापने में मदद करती है, ताकि पता चले कि पहले किस मॉड्यूल को तोड़ना है।
coupling-analysis
7.1kयह आपके एजेंट को जाँचने में मदद करती है कि कोडबेस के हिस्से एक-दूसरे पर कितनी कसकर निर्भर हैं, और पहले कौन से जोड़ ढीले करने चाहिए।
मिलती-जुलती skills
knowledge-capture
394kयह आपके एजेंट को ज़रूरी फ़ैसले, पसंद और मुख्य तथ्य स्रोत के उल्लेख के साथ Knowledge vault में छोटे नोट्स के रूप में सेव करना सिखाती है।
knowledge-claim-consolidation
394kयह आपके एजेंट को डुप्लिकेट claims मिलाकर, उन्हें सही विषय पेज पर ले जाकर और पुराने claims हटाकर Knowledge vault को व्यवस्थित करने देती है।
knowledge-correct
394kयह आपके एजेंट को आपके कहने पर सेव किए गए Knowledge claim या पेज को सुधारने या वापस लेने देती है, और बदलाव का रिकॉर्ड रखती है।