Skip to content
Back to skills

Done

ASecurity

This repository has six plugins following consistent patterns, but the conventions are implicit -- spread across CLAUDE.md's four-step checklist, existing plugin files, and undocumented norms. A new "create-plugin" skill consolidates all these practices into an authoritative guide that Claude can follow when creating new plugins for this repository.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 2, 2026
developmentgoshellbash

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned October 2, 2026

npx -y skills add cboone/agent-harness-plugins --skill done --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Done?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Done
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cboone-done-36673543/badge)](https://www.skillsdirectory.com/skills/cboone-done-36673543)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Plan: Create a create-plugin Skill

## Context

This repository has six plugins following consistent patterns, but the conventions are implicit -- spread across CLAUDE.md's four-step checklist, existing plugin files, and undocumented norms. A new "create-plugin" skill consolidates all these practices into an authoritative guide that Claude can follow when creating new plugins for this repository.

## Files to Create

```text
plugins/create-plugin/
├── .claude-plugin/
│   └── plugin.json
└── skills/
    └── create-plugin/
        ├── SKILL.md
        └── references/
            ├── hooks-json.md
            ├── marketplace-json.md
            ├── plugin-json.md
            ├── readme-updates.md
            ├── scripts.md
            └── skill-md.md
```

## Files to Modify

- `.claude-plugin/marketplace.json` -- add new plugin entry
- `README.md` -- add ToC link, install command, and Skills subsection
- `CLAUDE.md` -- add new plugin to directory tree

## Implementation

### 1. Create directory structure

```bash
mkdir -p plugins/create-plugin/.claude-plugin
mkdir -p plugins/create-plugin/skills/create-plugin/references
```

### 2. Write `plugins/create-plugin/.claude-plugin/plugin.json`

Standard plugin.json for a skills plugin. Fields alphabetized, `"skills": "./skills"` included, version `"1.0.0"`, keywords: `["claude-code", "hooks", "plugins", "scaffolding", "skills"]`, category will be `"productivity"`.

### Versioning Convention

Both `plugin.json` and `marketplace.json` include a `version` field. The versioning rules for this repository:

- **New plugins**: start at `1.0.0`
- **New skills** (added to an existing plugin): bump the **minor** version (e.g., `1.0.0` -> `1.1.0`)
- **Skill updates** (changes to existing skills): bump the **patch** version (e.g., `1.1.0` -> `1.1.1`)
- Both `plugin.json` and `marketplace.json` versions must stay in sync
- The marketplace `metadata.version` is for the registry itself, not individual plugins

### 3. Write the six reference files

Each reference file documents one artifact type with exact formats, field descriptions, and templates derived from existing plugins:

| File                  | Covers                            | Key content                                                                                       |
| --------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------- |
| `plugin-json.md`      | `.claude-plugin/plugin.json`      | Field list, skill vs hooks difference (`skills` field), versioning rules, templates for each type |
| `marketplace-json.md` | `.claude-plugin/marketplace.json` | Extra fields (`category`, `source`), valid categories, versioning rules, entry template           |
| `skill-md.md`         | `skills/*/SKILL.md`               | Frontmatter format, description formula, common sections, examples from existing skills           |
| `hooks-json.md`       | `hooks/hooks.json`                | JSON schema, hook categories, matchers, `${CLAUDE_PLUGIN_ROOT}` usage                             |
| `scripts.md`          | Bash scripts in `scripts/`        | Header, strict mode, function patterns, `main "$@"`, shellcheck directives                        |
| `readme-updates.md`   | `README.md`                       | ToC format, Skills/Hooks section format, install command placement                                |

### 4. Write `plugins/create-plugin/skills/create-plugin/SKILL.md`

The main skill file with:

- Frontmatter: `name: create-plugin`, `description` with trigger phrases ("create a plugin", "add a new skill", "add a new hook", "new plugin", "scaffold plugin")
- Workflow steps:
  1. Determine plugin type (skill vs hooks)
  1. Choose a name (kebab-case, verb-noun preferred)
  1. Create directory structure (with templates for each type)
  1. Write plugin.json with correct version (points to `references/plugin-json.md`)
  1. Write SKILL.md or hooks.json (points to `references/skill-md.md` or `references/hooks-json.md`)
  1. Add scripts if needed (points to `references/scripts.md`)
  1. Add reference files if needed (skills only, flat vs categorized patterns)
  1. Register in marketplace.json (points to `references/marketplace-json.md`)
  1. Update README.md (points to `references/readme-updates.md`)
  1. Update CLAUDE.md directory tree
  1. Verification checklist
- Error handling section

### 5. Update `marketplace.json`

Add new entry with `"category": "productivity"`, `"source": "./plugins/create-plugin"`. Insert alphabetically (before `create-worktree-from-issue`).

### 6. Update `README.md`

- ToC: add `[Create Plugin](#create-plugin)` before "Create Worktree from Issue"
- Installation: add `/plugin install create-plugin@cboone/cboone-cc-plugins` (alphabetical)
- Skills section: add new H3 subsection before "Create Worktree from Issue"

### 7. Update `CLAUDE.md`

Add the new plugin to the directory tree, before `create-worktree-from-issue`.

## Verification

- All new files exist with correct structure
- plugin.json fields are alphabetized and match directory name
- marketplace.json is valid JSON with new entry
- README.md has new plugin in ToC, installation, and Skills sections
- CLAUDE.md directory tree reflects new plugin structure
- SKILL.md frontmatter has only `name` and `description`
- All reference files are reachable from SKILL.md via relative paths

Files in this skill

  • 2026-02-15-add-create-worktree-skill-with-prompt-injection.md3.6 KB
  • 2026-02-16-mention-issues-in-prs.md4.2 KB
  • 2026-02-17-add-goreleaser-homebrew-skill.md9.1 KB
  • 2026-02-17-add-issue-status-management.md5.3 KB
  • 2026-02-17-add-lint-and-fix-skill.md3.6 KB
  • 2026-02-17-add-setup-gitleaks-skill.md4.5 KB
  • 2026-02-17-copilot-instructions-defaults.md3.5 KB
  • 2026-02-17-expand-repo-bootstrap-coverage.md6.2 KB
  • 2026-02-17-readme-restructuring.md5.4 KB
  • 2026-02-18-improve-readmes.md6.6 KB
  • 2026-02-18-setup-ci.md3.8 KB
  • 2026-02-20-create-create-plugin-skill.md5.4 KB
  • 2026-02-20-extract-copilot-graphql-into-script.md6.9 KB
  • 2026-02-20-restructure-readmes-per-plugin.md5.4 KB
  • 2026-02-21-add-govulncheck-to-go-scaffolding.md6.3 KB
  • 2026-02-21-consolidate-ci-workflows.md1000 B
  • 2026-03-01-add-changelog-to-scaffolding.md2.9 KB
  • 2026-03-01-add-done-plans-handling-to-new-repo-setup.md3 KB
  • 2026-03-01-add-recommended-permissions-to-readmes.md6.3 KB
  • 2026-03-01-create-bootstrap-project-skill.md7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.