ask-skill-creator

📁 navanithans/agent-skill-kit 📅 12 days ago
3
总安装量
3
周安装量
#58056
全站排名
安装命令
npx skills add https://github.com/navanithans/agent-skill-kit --skill ask-skill-creator

Agent 安装分布

codex 3
qoder 2
gemini-cli 2
replit 2
antigravity 2
codebuddy 2

Skill 文档

Skill Creation Protocol

<critical_constraints>

  1. ❌ NO generic descriptions. Be highly specific and semantic.
  2. ❌ NO missing directories. MUST create scripts/, assets/, tests/.
  3. ✅ MUST prefix skill name with ask- and use kebab-case.
  4. ✅ MUST include <critical_constraints>, <process>, and <thinking> sections in the new SKILL.md. </critical_constraints>

<file_structure>

skills/// ├── SKILL.md # 🧠 The Brain (Frontmatter + Protocol) ├── scripts/ # 🛡️ Guardrails (Empty .py/.js placeholders) ├── assets/ # 📚 Knowledge (examples.md) └── tests/ # 🧪 Verification (case1.md) </file_structure>

  1. Analyze Request:

    • Determine category (coding, planning, tooling).
    • Determine skill-name (must start with ask-).
  2. Template Design:

    • Draft the SKILL.md frontmatter with clear Triggers and Negative Constraints.
    • Design 3-5 algorithmic steps for the <process> section.
    • Plan at least one “Critical Constraint” specific to this skill.
  3. Scaffold Directory:

    • Create skills/<category>/<skill-name>/.
    • Create subfolders: scripts/, assets/, tests/.
  4. Generate Content:

    • SKILL.md: Write the full protocol.
    • assets/examples.md: Create a placeholder or basic example.
    • tests/case1.md: Create a sample input/output test case.
  5. Register:

    • Update the root README.md skill table with the new skill.

SKILL.md Frontmatter

---
name: ask-example-skill
description: >
  Use when [user intent].
  Triggers: "phrase 1", "phrase 2".
  
  Do NOT use for:
  - [Constraint 1]
---

SKILL.md Body

# [Skill Name] Protocol

## <critical_constraints>
1. ...
</critical_constraints>

## <process>
1. **Step 1**: ...
2. **<thinking> Plan**: ...
   </thinking>
3. **Step 3**: ...
</process>