Skip to main content

init-openspec

Use when initializing or setting up OpenSpec in a project that doesn't have it yet. Don't use for creating, applying, exploring, or tinkering with OpenSpec proposals.

معلومات المصدر

المستودع
tedivm/opencode-config
آخر نشاط في المصدر
٢٢ مايو ٢٠٢٦ في ١٥:٠١
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١٥
التفرعات
٢

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
init-openspec
description
Use when initializing or setting up OpenSpec in a project that doesn't have it yet. Don't use for creating, applying, exploring, or tinkering with OpenSpec proposals.
license
MIT
metadata
{"author":"Robert Hafner","source":"https://github.com/tedivm/opencode-config"}
## Workflow 1. Check if `openspec` is installed by running `which openspec`. If not found, install it using one of: - `brew install openspec` - `npm install -g @fission-ai/openspec` 2. Run `openspec init --tools github-copilot --force` to initialize non-interactively 3. Move only the `openspec-*` skills from `.github/skills/` to `.agents/skills/`: - Run `mkdir -p .agents/skills` - For each directory in `.github/skills/` matching `openspec-*`, move it to `.agents/skills/` - Remove the `.github/skills/` directory if it is empty 4. Delete OpenSpec prompts from `.github/prompts/`: - Remove only the `opsx-*.prompt.md` files generated by OpenSpec - Leave any other files in `.github/prompts/` untouched - Remove the directory if empty
عرض على GitHub