# Build Claude Code Skill Templates

Creating reusable AI skills requires consistent files and metadata. This skill guides Claude Code and Codex through a structured template workflow.

## Install

```bash
npx skillstore add dnyoussef/when-creating-skill-template-use-skill-builder
```

## Metadata

- Status: approved
- Slug: dnyoussef-when-creating-skill-template-use-skill-builder
- Version: 1.0.0
- Author version: 1.0.0
- Skillstore revision: r1
- Version status: valid
- Tree hash: 85998d112a91ef2d419a76075e5c2d098d750190b46c7aa62ffc23c6135a5890
- Author: DNYoussef
- GitHub username: DNYoussef
- License: MIT
- Repository: https://github.com/DNYoussef/ai-chrome-extension/tree/main/.claude/skills/utilities/when-creating-skill-template-use-skill-builder
- Ref: c579efd02184f1128d6741d16e6c8d951d7d4208
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, filesystem
- Quality score: 71
- Public page: https://skillstore.pages.dev/skills/dnyoussef-when-creating-skill-template-use-skill-builder
- Manifest: https://skillstore.pages.dev/api/skills/dnyoussef-when-creating-skill-template-use-skill-builder/manifest

## Capabilities

- Defines required YAML frontmatter fields for skill metadata.
- Guides a five-phase process for designing and documenting a skill.
- Outlines SKILL.md, README.md, PROCESS.md, and process-diagram.gv files.
- Includes validation steps for YAML, GraphViz, file completeness, and dry-run checks.
- Shows integration patterns for claude-flow hooks and memory storage.

## Use Cases

- Standardize New Skill Scaffolds: Create a repeatable file structure and metadata checklist for new AI skills.
- Document Reusable Workflows: Turn a workflow idea into skill documentation, process steps, and expected outputs.
- Review Skill Completeness: Check whether a skill draft includes required files, validation steps, and usage guidance.

## Prompt Templates

### Create a Basic Skill Template

```
Create a Claude Code skill template for a workflow named [name]. Include purpose, triggers, required files, and validation steps.
```

### Plan Skill Phases

```
Design the phase structure for a skill that helps with [workflow]. Include objectives, agents, outputs, and success criteria.
```

### Convert Workflow Documentation

```
Convert these workflow notes into a Claude Code skill package with SKILL.md, README.md, PROCESS.md, and a process diagram outline.
```

### Audit a Generated Skill Draft

```
Review this generated skill draft for metadata completeness, progressive disclosure, validation coverage, command safety, and marketplace readiness.
```

## Limitations

- It is a template guide, not a standalone generator script.
- Several examples rely on local claude-flow, GraphViz, and YAML tools.
- Generated shell snippets require human review before execution.
- It does not verify every marketplace policy for generated skills.

## Best Practices

- Review every generated command before running it locally.
- Keep skill names, categories, triggers, and outputs specific to one workflow.
- Validate generated files before adding the skill to a shared marketplace.

## Anti Patterns

- Do not copy generated shell snippets into production without review.
- Do not create broad skills that combine unrelated workflows.
- Do not publish generated skills without checking metadata and documentation quality.

## Security Audit

- Audited at: 2026-07-05T12:13:42.911\+00:00
- Summary: Most static findings are false positives caused by Markdown fences, JavaScript template literals, checklist text, and identifiers such as phase.key. The meaningful risk is that the skill guides users to run npx claude-flow@alpha and other local commands, which requires explicit review and safer dependency handling.

## Stats

- Views: 183
- Downloads: 6
- Favorites: 0
- Popularity score: 0
