Skip to main content

skill-creator

Create new skills following the GBrain conformance standard. Generates SKILL.md with frontmatter, Contract, Phases, Output Format, and Anti-Patterns. Checks MECE against existing skills. Updates manifest and resolver.

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

المستودع
garrytan/gbrain
آخر نشاط في المصدر
١٦ أغسطس ٢٠٢٦ في ١٤:٢٨
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٣٠٬٤٣٢
التفرعات
٤٬٥٦٧

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

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

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

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

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
skill-creator
version
1.0.0
description
Create new skills following the GBrain conformance standard. Generates SKILL.md with frontmatter, Contract, Phases, Output Format, and Anti-Patterns. Checks MECE against existing skills. Updates manifest and resolver.
triggers
["create a skill","new skill","improve this skill"]
tools
["search","list_pages"]
mutating
true
# Skill Creator ## Contract This skill guarantees: - New skill follows conformance standard (frontmatter + required sections) - MECE check: no overlap with existing skills' triggers - Manifest.json updated - RESOLVER.md updated with routing entry - Skill passes conformance tests (`bun test test/skills-conformance.test.ts`) ## Phases 1. **Identify the gap.** What capability is missing? What user intent has no skill? 2. **MECE check.** Review `skills/manifest.json` and `skills/RESOLVER.md`. Does any existing skill already cover this? If so, extend it instead of creating a new one. 3. **Create SKILL.md.** Use this template: ```yaml --- name: {skill-name} version: 1.0.0 description: | {One paragraph describing what the skill does and when to use it.} triggers: - "{trigger phrase 1}" - "{trigger phrase 2}" tools: - {tool1} - {tool2} mutating: {true|false} --- # {Skill Title} ## Contract {What this skill guarantees — 3-5 bullet points} ## Phases {Numbered workflow steps} ## Output Format {What good output looks like} ## Anti-Patterns {What NOT to do — 3-5 items} ## Tools Used {GBrain operations used, with descriptions} ``` 4. **Add to manifest.** Update `skills/manifest.json` with name, path, description. 5. **Add to resolver.** Update `skills/RESOLVER.md` with routing entry in the appropriate category. 6. **Verify.** Run `bun test test/skills-conformance.test.ts` to confirm the new skill passes. ## Output Format New `skills/{name}/SKILL.md` file + updated manifest + updated resolver. ## Anti-Patterns - Creating a skill that overlaps with an existing one (violates MECE) - Skipping the MECE check against existing skills - Creating a skill without triggers in frontmatter - Not updating manifest.json and RESOLVER.md - Creating a skill without an Anti-Patterns section
عرض على GitHub