| name | skill-repo |
| description | Use when creating new skill repositories from scratch, standardizing or validating existing skill repo structure, setting up composer/release workflows for skills, configuring split licensing (MIT + CC-BY-SA-4.0), or fixing plugin.json / SKILL.md validation errors. |
| license | (MIT AND CC-BY-SA-4.0). See LICENSE-MIT and LICENSE-CC-BY-SA-4.0 |
| compatibility | Requires bash 4.3+, python3, jq. |
| metadata | {"author":"Netresearch DTT GmbH","version":"1.19.1","repository":"https://github.com/netresearch/skill-repo-skill"} |
| allowed-tools | Bash(bash:*) Bash(python3:*) Bash(jq:*) Read Write Glob Grep |
Skill Repository Structure Guide
Standards for Netresearch skill repository layout and distribution.
Repository Structure
{repo-name}/
āāā .claude-plugin/plugin.json # Plugin metadata (required)
āāā skills/{name}/SKILL.md # AI instructions (required)
āāā README.md # Human docs (required)
āāā LICENSE-MIT # Code license (required)
āāā LICENSE-CC-BY-SA-4.0 # Content license (required)
āāā composer.json # PHP distribution (required)
āāā references/ # Extended docs for >500w content
āāā scripts/ # Automation
āāā .github/workflows/
āāā release.yml # Tag-triggered release
āāā validate.yml # Caller for reusable validation
āāā auto-merge-deps.yml # Caller for dep auto-merge
Licensing (Split Model)
| Path pattern | License |
|---|
skills/**/*.md, references/**, README.md, docs/** | CC-BY-SA-4.0 |
scripts/**, .github/workflows/**, *.sh, *.py, *.php | MIT |
composer.json, plugin.json, config files | MIT |
SPDX: (MIT AND CC-BY-SA-4.0). Copyright: Netresearch DTT GmbH. No bare LICENSE ā split files only.
SKILL.md Frontmatter
---
name: skill-name
description: "Use when <trigger conditions>"
---
Body ā¤500 words; description ā¤1,536 chars (target 100ā300, trigger first). Every references/*.md must be reachable from SKILL.md (direct cite, catalog-with-convention, or list-and-pick ā no orphans). Audit: scripts/audit-skills.sh. See references/skill-quality.md.
plugin.json (.claude-plugin/plugin.json)
{
"name": "skill-name",
"version": "1.0.0",
"skills": ["./skills/skill-name"],
"license": "(MIT AND CC-BY-SA-4.0)",
"author": {"name": "Netresearch DTT GmbH", "url": "https://www.netresearch.de"}
}
composer.json
Name must match GitHub repo. Type ai-agent-skill. No version field (from git tags). No composer.lock.
{
"name": "netresearch/{repo-name}",
"type": "ai-agent-skill",
"license": "(MIT AND CC-BY-SA-4.0)",
"require": {"netresearch/composer-agent-skill-plugin": "*"},
"extra": {"ai-agent-skill": "skills/{name}/SKILL.md"}
}
Reusable Workflow Callers
Skill repos MUST delegate CI to skill-repo-skill reusable workflows:
uses: netresearch/skill-repo-skill/.github/workflows/validate.yml@main
Callers: validate.yml, release.yml (from skill-repo-skill); auto-merge-deps.yml (from netresearch/.github). Auto-merge and pr-quality callers must use pull_request_target. Never define actions directly. Domain-specific reusables: docs/ARCHITECTURE.md.
Releasing
Bump PR ā merge ā pull main ā verify parity ā signed tag ā push ā monitor Release. Tag only after bump PR merges. Never edit installed paths (~/.claude/skills/**, ~/.claude/plugins/**); always the worktree. Multi-repo (>3) needs dry-run + approval. See references/release-discipline.md.
Installation
- Marketplace:
/plugin marketplace add netresearch/claude-code-marketplace
- Release: Download to
~/.claude/skills/{name}/
- Composer:
composer require netresearch/{repo-name}
- npm:
npm i -D @netresearch/agent-skill-coordinator github:netresearch/{repo-name}. Use templates/package.json.template (minimal files default; see references/installation-methods.md).
Validation
scripts/validate-skill.sh
Cross-platform Compatibility
grep -E (not -P); bash shebangs (zsh on macOS); [[ ]] for conditionals.
References
references/installation-methods.md
references/composer-setup.md
references/release-discipline.md ā version parity, cache safety, multi-repo dry-run
references/review-replies.md ā canonical replies for reviewer comments
references/skill-quality.md ā description/body/reference rules; audit-skills.sh rationale
references/marketplace-integration.md ā marketplace sync architecture
See Also
agent-rules-skill, agent-harness-skill.
Contributing: https://github.com/netresearch/skill-repo-skill