Create skill

From Fr-e-d/GAAI-framework · View interactive version

Create skill is an AI agent skill from the GitHub repository Fr-e-d/GAAI-framework. Guide creation of a new GAAI skill following the agentskills.io spec and GAAI best practices. Activate when adding a new skill to the .gaai/core/skills/ catalog.

How to use this skill

Skill file

Create Skill

Purpose / When to Activate

Activate when:

This skill is self-referential: it uses the agentskills.io spec to author a spec-compliant skill.


Prerequisites

Before activating:

  1. Confirm no existing skill already covers the intended capability (check README.skills.md)
  2. Confirm the new skill is a pure execution unit — it executes, it does not reason
  3. Confirm the skill belongs to exactly one category (discovery / delivery / cross)
  4. Have a clear, one-sentence description of: WHAT it does and WHEN to activate it

If a skill "appears to think" in the design, it is wrongly scoped. Redesign or split.


Process

Step 1 — Name and classify

Derive the skill name from the action it performs:

Verify name does not conflict with an existing skill in README.skills.md.

Step 2 — Define inputs and outputs explicitly

List every input the skill requires. Be specific:

List every output the skill produces:

If inputs or outputs are unclear, the skill is not ready to be written. Clarify first.

Step 3 — Write the SKILL.md frontmatter

---
name: {skill-name}                  # matches directory name exactly
description: {one sentence}         # WHAT it does + WHEN to activate
license: ELv2
compatibility: Works with any filesystem-based AI coding agent
metadata:
  author: {author}
  version: "1.0"
  category: {discovery|delivery|cross}
  track: {discovery|delivery|cross-cutting}
  id: SKILL-{CAT}-{NNN}
  updated_at: {YYYY-MM-DD}
  status: stable|experimental       # use experimental for new/unproven skills
inputs:
  - {input_1}: {description}
  - {input_2}: {description}
outputs:
  - {output_path_or_description}
---

Description rule: Must be one sentence, ≤ 1024 characters. Format:

"{Verb phrase that describes the output} when {activation condition}."

Example: "Generate Stories from an Epic with testable acceptance criteria when Discovery is refining a new feature scope."

Step 4 — Write the skill body

Required sections:

# {Skill Title}

## Purpose / When to Activate
When and why an agent should invoke this skill. Be explicit.

## Process
Numbered steps. Each step produces a specific output or advances the state.
Steps must be deterministic: same inputs → same outputs.

## Quality Checks
What must be true for the output to be acceptable.
List as assertions, not descriptions.

## Outputs
Exact file paths or structured outputs produced.

## Non-Goals
What this skill must NOT do. Prevents scope creep.

Add a final line if applicable:

No silent assumptions. Every {X} becomes explicit and governed.

Step 5 — Create directory and file

.gaai/core/skills/{category}/{skill-name}/SKILL.md

SKILL.md filename is always uppercase (spec requirement).

Optional subdirectories (create only if needed):

Step 6 — Update ALL relevant indices (MANDATORY)

This step is non-negotiable. A skill that is not indexed is invisible to agents.

6a. Skills index YAML:

6b. Skills README:

6c. Domain index (if domain-scoped skill):

Failure to update any of these indices means the skill is effectively invisible — agents cannot discover it, and it will not be loaded during delivery or discovery sessions.

Step 7 — Reference in agent file

If the skill is intended for a specific agent (Discovery) or a delivery sub-agent, add it to the agent's skill list in:


Quality Checks


Non-Goals

This skill must NOT:

A skill that appears to think is wrongly designed. Redesign before authoring.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.