Variant feature

From 5throck/ai-workspace-standards · View interactive version

Variant feature is an AI agent skill from the GitHub repository 5throck/ai-workspace-standards. Add features to an existing variant template. Use when: extending a variant with new agents, skills, scripts, or documentation.

How to use this skill

Skill file

Variant Feature

Guides addition of new features (agents, skills, scripts, docs) to an existing variant template.

When to Use

Script

Script: scripts/variant-feature.ts

Usage: bun scripts/variant-feature.ts

This is a guided CLI that prompts for:

What It Generates

| Feature Type | Generated Stubs |

|-------------|----------------|

| Agent | agents/<name>.md with frontmatter skeleton, Role, Responsibilities, Collaboration sections |

| Skill | .claude/skills/<name>/SKILL.md with frontmatter, description, triggers |

| Script | scripts/co-<variant>/<name>.ts with version header and bun imports |

| Doc | docs/<name>.md with heading skeleton |

Step-by-Step Procedure

  1. Identify target variant: ls templates/co-*/variant.json
  2. Run CLI: bun scripts/variant-feature.ts
  3. Follow guided prompts: Select variant, feature type, name, description
  4. Customize generated stubs: Fill in agent responsibilities, skill triggers, script logic
  5. Update variant.json: Add new agent/skill/script to manifest
  6. Validate: bun scripts/validate-templates.ts
  7. Update platform parity: If adding a skill, ensure .gemini/skills/ mirrors .claude/skills/

After Adding Features

See Also

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.