Skill authoring workflow

From ZyanWan/Skill-Hub · View interactive version

Skill authoring workflow is an AI agent skill from the GitHub repository ZyanWan/Skill-Hub. Turn raw PM content into a compliant, publish-ready skill by choosing build/add paths, running conformance checks, and updating docs before commit.

How to use this skill

Skill file

Purpose

Create or update PM skills without chaos. This workflow turns rough notes, workshop content, or half-baked prompt dumps into compliant skills/<skill-name>/SKILL.md assets that actually pass validation and belong in this repo.

Use it when you want to ship a new skill without "looks good to me" roulette.

Key Concepts

Dogfood First

Use repo-native tools and standards before inventing a custom process:

Pick the Right Creation Path

Definition of Done (No Exceptions)

A skill is done only when:

  1. Frontmatter is valid (name, description, type)
  2. Section order is compliant
  3. Metadata limits are respected (name <= 64 chars, description <= 200 chars)
  4. Cross-references resolve
  5. README catalog counts and tables are updated (if adding/removing skills)

Facilitation Source of Truth

When running this workflow as a guided conversation, use CODE0 as the interaction protocol.

It defines:

This file defines the workflow sequence and domain-specific outputs. If there is a conflict, follow this file's workflow logic.

Application

Phase 1: Preflight (Avoid Duplicate Work)

  1. Search for overlapping skills using the find-a-skill utility
  2. Decide type:

Phase 2: Generate Draft

If you have source material, use the add-a-skill utility.

If you want guided prompts, use the build-a-skill wizard.

Phase 3: Tighten the Skill

Manually review for:

Phase 4: Validate Hard

Run strict checks before thinking about commit:

Phase 5: Integrate with Repo Docs

If this is a new skill:

  1. Add it to the correct README category table
  2. Update skill totals and category counts
  3. Verify link paths resolve

Phase 6: Optional Packaging

Use the zip-a-skill utility to package for distribution:

Examples

Example: Turn Workshop Notes into a Skill

Input: Your research notes or workshop content

Goal: New interactive advisor

Steps:

  1. Use add-a-skill utility with your source content
  2. Run test-a-skill with smoke flag for validation
  3. Run check-skill-metadata for frontmatter compliance

Expected result:

Anti-Pattern Example

"We wrote a cool skill, skipped validation, forgot README counts, and shipped anyway."

Result:

Common Pitfalls

References

Related Skills

Repo Documentation

Utilities

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.