openspec-onboard
यह क्या करती है
यह स्किल OpenSpec का निर्देशित पाठ है, जो आपके अपने codebase के एक असली छोटे काम का उपयोग करता है। यह उन डेवलपर के लिए है जो OpenSpec में नए हैं और करके सीखना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप OpenSpec में नए हों और पहली बार निर्देशित चलाना चाहें।
- ✓जब आप एक असली काम पर विचार से archive तक का पूरा चक्र सीखना चाहें।
- ✓जब आप अपने code में एक छोटा, सुरक्षित सुधार सीखने के अभ्यास के रूप में चाहें।
Skill का लिंक
https://github.com/fengshao1227/ccg-workflow/blob/main/.agents/skills/openspec-onboard/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे codebase के एक छोटे असली काम का उपयोग करके मुझे मेरा पहला OpenSpec change समझाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट जाँचता है कि OpenSpec सेट है, codebase से एक छोटा काम चुनने में मदद करता है, फिर artifacts और implementation से होकर चलता है और हर चरण समझाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Guide the user through their first complete OpenSpec workflow cycle. This is a teaching experience—you'll do real work in their codebase while explaining each step.
Preflight
Before starting, check if OpenSpec is initialized:
openspec status --json 2>&1 || echo "NOT_INITIALIZED"
If not initialized:
OpenSpec isn't set up in this project yet. Run
openspec initfirst, then come back to/opsx:onboard.
Stop here if not initialized.
Phase 1: Welcome
Display:
## Welcome to OpenSpec!
I'll walk you through a complete change cycle—from idea to implementation—using a real task in your codebase. Along the way, you'll learn the workflow by doing it.
**What we'll do:**
1. Pick a small, real task in your codebase
2. Explore the problem briefly
3. Create a change (the container for our work)
4. Build the artifacts: proposal → specs → design → tasks
5. Implement the tasks
6. Archive the completed change
**Time:** ~15-20 minutes
Let's start by finding something to work on.
Phase 2: Task Selection
Codebase Analysis
Scan the codebase for small improvement opportunities. Look for:
- TODO/FIXME comments - Search for
TODO,FIXME,HACK,XXXin code files - Missing error handling -
catchblocks that swallow errors, risky operations without try-catch - Functions without tests - Cross-reference
src/with test directories - Type issues -
anytypes in TypeScript files (: any,as any) - Debug artifacts -
console.log,console.debug,debuggerstatements in non-debug code - Missing validation - User input handlers without validation
Also check recent git activity:
git log --oneline -10 2>/dev/null || echo "No git history"
Present Suggestions
From your analysis, present 3-4 specific suggestions:
## Task Suggestions
Based on scanning your codebase, here are some good starter tasks:
**1. [Most promising task]**
Location: `src/path/to/file.ts:42`
Scope: ~1-2 files, ~20-30 lines
Why it's good: [brief reason]
**2. [Second task]**
Location: `src/another/file.ts`
Scope: ~1 file, ~15 lines
Why it's good: [brief reason]
**3. [Third task]**
Location: [location]
Scope: [estimate]
Why it's good: [brief reason]
**4. Something else?**
Tell me what you'd like to work on.
Which task interests you? (Pick a number or describe your own)
If nothing found: Fall back to asking what the user wants to build:
I didn't find obvious quick wins in your codebase. What's something small you've been meaning to add or fix?
Scope Guardrail
If the user picks or describes something too large (major feature, multi-day work):
That's a valuable task, but it's probably larger than ideal for your first OpenSpec run-through.
For learning the workflow, smaller is better—it lets you see the full cycle without getting stuck in implementation details.
**Options:**
1. **Slice it smaller** - What's the smallest useful piece of [their task]? Maybe just [specific slice]?
2. **Pick something else** - One of the other suggestions, or a different small task?
3. **Do it anyway** - If you really want to tackle this, we can. Just know it'll take longer.
What would you prefer?
Let the user override if they insist—this is a soft guardrail.
Phase 3: Explore Demo
Once a task is selected, briefly demonstrate explore mode:
Before we create a change, let me quickly show you **explore mode**—it's how you think through problems before committing to a direction.
Spend 1-2 minutes investigating the relevant code:
- Read the file(s) involved
- Draw a quick ASCII diagram if it helps
- Note any considerations
## Quick Exploration
[Your brief analysis—what you found, any considerations]
┌─────────────────────────────────────────┐
│ [Optional: ASCII diagram if helpful] │
└─────────────────────────────────────────┘
Explore mode (`/opsx:explore`) is for this kind of thinking—investigating before implementing. You can use it anytime you need to think through a problem.
Now let's create a change to hold our work.
PAUSE - Wait for user acknowledgment before proceeding.
Phase 4: Create the Change
EXPLAIN:
## Creating a Change
A "change" in OpenSpec is a container for all the thinking and planning around a piece of work. It lives in `openspec/changes/<name>/` and holds your artifacts—proposal, specs, design, tasks.
Let me create one for our task.
अक्सर पूछे जाने वाले सवाल
इसमें कितना समय लगता है?
इस पाठ में लगभग पंद्रह से बीस मिनट लगते हैं।
क्या पहले OpenSpec सेट करना ज़रूरी है?
हाँ। अगर OpenSpec initialize नहीं है, तो यह पहले उसे सेट करने को कहता है।
क्या यह मेरा code बदलेगी?
हाँ। यह सिखाते हुए आपके codebase में असली काम करती है।
जानकारी
लेखक का मूल विवरण
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
लोकप्रियता
- GitHub स्टार
- 6.0k
- रैंकिंग में स्थान
- #14520
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
openspec-bulk-archive-change
6.0kयह आपके एजेंट को कई पूरे हो चुके OpenSpec changes एक साथ archive करने देती है, archive से पहले हर change के tasks और specs जाँचकर।
openspec-continue-change
6.0kयह आपके एजेंट को OpenSpec change को आगे बढ़ाने देती है, उसका अगला artifact बनाकर, जैसे proposal, spec, design या task सूची।
openspec-ff-change
6.0kयह आपके एजेंट को एक साथ OpenSpec change के सारे artifacts बनाने देती है, ताकि हर एक से गुज़रे बिना implementation शुरू हो सके।
openspec-new-change
6.0kयह आपके एजेंट को feature या fix के लिए नया OpenSpec change शुरू करने देती है, उसका फ़ोल्डर बनाकर और दिखाकर कि आगे कौन से artifacts लिखने हैं।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।