skill-repo
Structuring guide and validation toolkit for Netresearch skill repositories with split licensing and multi-channel distribution.
- CCM score
- 60 of 100
- GitHub stars
- 96
Own this plugin? Claim it
What it does
- Adds the
skill-reposkill, covering repo layout,composer.jsonandplugin.jsonsetup, release workflows, and validation scripts - Enforces one standard shape across Claude Code, Cursor, Copilot, and Composer, npm, and marketplace distribution
- Checks
SKILL.mdfrontmatter, split licensing (MIT and CC-BY-SA-4.0), and version parity throughvalidate-skill.sh - Designed for maintainers creating or migrating Netresearch-style skill repositories with reusable GitHub CI workflows
Guide for structuring Netresearch skill repositories with multi-channel distribution. Covers repository standards, composer.json configuration, release workflows, and validation scripts.
Add marketplace
/plugin marketplace add netresearch/claude-code-marketplaceRun it inside Claude Code once, then install the plugin below.
Install
/plugin install skill-repo@netresearch-claude-code-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceSkill Repository Structure Guide
Repository Structure
{repo-name}/
├── plugin.json # portable manifest
├── .claude-plugin/plugin.json # generated
├── skills/{name}/SKILL.md # the control plane
├── README.md # human docs
├── LICENSE-MIT # code
├── LICENSE-CC-BY-SA-4.0 # content
├── composer.json # PHP distribution
├── references/ # detail, loaded on demand
├── scripts/ # executables, never loaded
└── .github/workflows/
├── release.yml # tag-triggered
├── validate.yml # validation caller
└── auto-merge-deps.yml # dep auto-merge caller
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. Internal repositories keep their author's licence (LICENSE_MODEL=declared).
SKILL.md Frontmatter
---
name: skill-name
description: "Use when <trigger conditions>"
---
Budgets (spec): name ≤64, no doubled/edge hyphen, matches its directory. description ≤1024, warn past 500 — a router, not documentation. Body ≤500 lines, warn at 300. compatibility ≤500, usually omit.
Flat discovery: references one level deep; SKILL.md names every references/*.md and every scripts/ executable; ## Contents past 100 lines. Rationale and trigger evals: skill-architecture. Audit: audit-skills.sh in the repository's top-level scripts/ (not shipped with the skill).
Manifests
Root plugin.json (Agent Plugins 1.0.0, closed field set) is the source of truth; sync-plugin-manifest.sh generates .claude-plugin/plugin.json plus Claude-only keys — agent-plugins-compat.
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "skill-name",
"version": "1.0.0",
"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:
# .github/workflows/validate.yml
uses: netresearch/skill-repo-skill/.github/workflows/validate.yml@main
Callers: validate.yml, release.yml (here); auto-merge-deps.yml (netresearch/.github). Auto-merge/pr-quality use pull_request_target. No inline Actions. Domain reusables: docs/ARCHITECTURE.md.
Releasing
Bump root plugin.json → sync → PR → merge → pull main → verify parity → signed tag → push → monitor Release. Tag only after bump PR merges. In a repo with changelog.d/, a feature PR writes a fragment there, never CHANGELOG.md; the bump's roll collects it. Multi-repo (>3) needs dry-run + approval; 0.x → 1.0.0 goes through STABILIZE rows, not retyped plans. Never edit installed paths — release-discipline.
Installation
Marketplace, release download, Composer, npm — commands and the npm files default in installation-methods.
Validation
scripts/validate-skill.sh (layout, manifests, budgets, flat discovery, Python scripts on 3.11+ through uv run). Shell portability: authoring-ci-gotchas.
Validate the unpacked/installed payload too: a shared reference that exists in the source tree may be absent from a standalone skill. Supply runtime resources or explicit optional fallbacks; never count a missing check as success.
For behavior changes, separate structural checks, normal skill selection, recorded tools and independent task outcomes. From the run directory, use agent-evidence and uv run ${CLAUDE_SKILL_DIR}/scripts/validate-agent-evidence.py RUN.json for captured ATIF/Claude evidence; errors/timeouts are incomplete, including negative selection cases. The text-only A/B runner cannot establish routing or tool execution.
Named here so they are findable: bump-version.sh, check-version-parity.sh, sync-plugin-manifest.sh, roll-changelog.py, fleet-release-github.sh, migrate-licensing.sh, validate-evals.sh, validate-agent-evidence.py — each with --help.
References (references/)
agent-plugins-compat · installation-methods · plugin-hooks · composer-setup · release-discipline · review-replies · skill-quality · repository-quality-rules · readme-template · skill-discovery-metadata · validation-checklist · marketplace-integration · materialization-contract · agent-evidence · authoring-ci-gotchas · skill-retirement
Contributing: https://github.com/netresearch/skill-repo-skill
Readme
Skill Repository Structure Guide
A Claude Code skill for standardizing Netresearch skill repository layout, distribution channels, packaging, and validation.
What this skill solves
Netresearch maintains many agent skills; without a shared layout, packaging and CI drift across repositories. This skill defines one standard repo shape, reusable workflows, split licensing, and validation scripts so new and existing skills stay consistent and shippable via marketplace, Composer, npm, and releases.
It extends Anthropic-style single-file skills with repository-level conventions (not a replacement for Anthropic’s skill-creator — see comparison below).
Why this is a skill (model delta)
- Value categories: org/project-specific knowledge (Netresearch repo shape, split licensing, composer type
ai-agent-skill) and executable scripts/validators (validate-skill.sh,checkpoints.yaml). - Without the skill: the model invents a plausible generic repo layout — single
LICENSE, noplugin.json,composer.jsonwithout theai-agent-skilltype — that failsvalidate-skill.shand org CI. - Eval evidence:
validate_skill_repo_structureandreadme_requirementsinskills/skill-repo/evals/evals.json.
Compatibility
This is an Agent Skill following the open standard originally developed by Anthropic and released for cross-platform use. The repository is also packaged as an Agent Plugins 1.0.0 plugin: the root plugin.json plus skills/ layout is what any conformant client loads.
Supported platforms:
- Claude Code (Anthropic)
- Cursor
- GitHub Copilot
- Other skills-compatible AI agents
Skills are portable packages of procedural knowledge that work across any AI agent supporting the Agent Skills specification.
Use when
- Creating or bootstrapping a Netresearch-style skill repository
- Standardizing layout,
composer.json,plugin.json/.claude-plugin/plugin.json, or release workflows - Wiring reusable CI from
netresearch/skill-repo-skill - Fixing validation errors from
validate-skill.shor marketplace packaging - Migrating to split licensing (
LICENSE-MIT+LICENSE-CC-BY-SA-4.0)
Expected outputs
- A documented directory layout and templates for new repos
- Validation: structural checks for
SKILL.md, licenses,composer.json,plugin.json - Release discipline: tag-driven packaging aligned with plugin version
- References for installation paths, marketplace sync, and release safety
Context requirements
- Validation script:
bash4.3+ andpython3(3.11+) on PATH when runningvalidate-skill.sh(JSON checks use Python, notjq) - Target repos: GitHub-hosted Netresearch skill repos using split licensing and Composer type
ai-agent-skill - CI: consuming repos call reusable workflows from this repository (
validate.yml,release.yml, …)
Example prompts
"Scaffold a new Netresearch skill repository from the templates in skill-repo-skill."
"Why does validate-skill.sh fail on my SKILL.md frontmatter?"
"Add composer.json and plugin.json for our new skill repo matching netresearch conventions."
"Wire our repo to use netresearch/skill-repo-skill validate.yml on every PR."
"Migrate this repo from a single LICENSE file to LICENSE-MIT and LICENSE-CC-BY-SA-4.0."
Related skills
agent-rules-skill— AGENTS.md and agent onboarding patternsagent-harness-skill— harness verification and docs layout
Installation
Marketplace (recommended)
Add the Netresearch marketplace once, then install this plugin from it:
/plugin marketplace add netresearch/claude-code-marketplace
/plugin install skill-repo@netresearch-claude-code-marketplace
Do not run
/plugin marketplace add netresearch/skill-repo-skill.marketplace addneeds a.claude-plugin/marketplace.jsoncatalog; this repo ships a.claude-plugin/plugin.jsonplugin manifest, so that fails withMarketplace file not found.
Without a marketplace: skills directory (Claude Code 2.1.157+)
mkdir -p ~/.claude/skills
git clone https://github.com/netresearch/skill-repo-skill.git \
~/.claude/skills/skill-repo
Loads as skill-repo@skills-dir on the next session. Update with git -C ~/.claude/skills/skill-repo pull and start a new session; remove by deleting the directory.
npx (skills.sh)
Install with any Agent Skills-compatible agent:
npx skills add https://github.com/netresearch/skill-repo-skill --skill skill-repo
Limitation:
npx skillsinstallsSKILL.md-based skills only. It reads.claude-plugin/plugin.jsonto locate skills, not to register a plugin, sohooks/,agents/,commands/,bin/and.mcp.jsonare left out. Use the marketplace or the skills directory when a repo ships any of those.
Download release
Download the latest release and extract to your agent’s skills directory.
Composer (PHP projects)
composer require netresearch/skill-repo-skill
Requires netresearch/composer-agent-skill-plugin.
npm (Node projects)
npm install --save-dev \
@netresearch/agent-skill-coordinator \
github:netresearch/skill-repo-skill
Requires @netresearch/agent-skill-coordinator, which discovers the skill in node_modules and registers it in AGENTS.md via a postinstall hook. For pnpm, allowlist the coordinator’s postinstall:
{
"pnpm": {
"onlyBuiltDependencies": ["@netresearch/agent-skill-coordinator"]
}
}
Repository layout
Standard skill repository (concept)
The layout for a Netresearch skill repository (one or more skills per repo):
{name}-skill/
├── AGENTS.md # Agent rules / harness index
├── README.md # Human documentation
├── LICENSE-MIT # Code license (MIT)
├── LICENSE-CC-BY-SA-4.0 # Content license (CC-BY-SA-4.0)
├── composer.json # PHP distribution
├── package.json # Node distribution (optional)
├── renovate.json # Dependency automation
├── .claude-plugin/
│ └── plugin.json # Marketplace metadata
├── .github/workflows/ # CI (typically calls reusable workflows)
├── Build/ # Build scripts and git hooks
├── docs/ # Architecture, ADRs, dashboards
├── scripts/ # Repo-level automation
└── skills/
└── {skill-name}/
├── SKILL.md # AI instructions
├── checkpoints.yaml # Assessment checkpoints (optional)
├── evals/ # Skill evaluations
├── references/ # Extended docs
├── scripts/ # Skill automation
└── templates/ # Bootstrap templates
Installation methods (summary)
- Marketplace (recommended) —
/plugin marketplace add netresearch/claude-code-marketplace, then/plugin install <plugin-name>@netresearch-claude-code-marketplace - Skills directory — clone into
~/.claude/skills/<plugin-name>/; loads as<plugin-name>@skills-dir, no marketplace (Claude Code 2.1.157+) - npx (skills.sh) —
npx skills add <repo-url> --skill <name>(skills only: drops hooks, agents, commands,bin/) - Release download — GitHub Releases (skill files only)
- Composer —
composer require netresearch/<repo-name>(PHP projects) - npm — coordinator +
github:<org>/<repo>(Node projects)
Composer package requirements
"type": "ai-agent-skill""require": {"netresearch/composer-agent-skill-plugin": "*"}"extra": {"ai-agent-skill": "skills/{skill-name}/SKILL.md"}
This repository (skill-repo-skill)
This repo dogfoods the layout and hosts reusable CI workflows for other Netresearch skill repos:
skill-repo-skill/
├── AGENTS.md
├── README.md
├── LICENSE-MIT
├── LICENSE-CC-BY-SA-4.0
├── SECURITY-AUDIT.md
├── composer.json
├── package.json
├── renovate.json
├── plugin.json # Agent Plugins 1.0.0 manifest (source of truth)
├── .claude-plugin/plugin.json # Claude Code manifest (generated)
├── .github/workflows/ # validate, release, pr-quality,
│ # harness-verify, eval-validate,
│ # validate-agents, dependency-audit,
│ # npm-pack-smoke, ci-python
│ # (auto-merge delegates to netresearch/.github)
├── Build/
│ ├── Scripts/check-plugin-version.sh
│ └── hooks/
├── docs/
│ ├── ARCHITECTURE.md
│ ├── SECURITY-ASSURANCE.md
│ └── dashboard/
├── scripts/
├── tests/
│ └── agent-evidence.py # Evidence contract regressions
└── skills/skill-repo/
├── SKILL.md
├── checkpoints.yaml
├── evals/evals.json
├── references/
│ └── agent-evidence.md # Captured-run contract and trust boundaries
├── scripts/
│ └── validate-agent-evidence.py # Validate ATIF / Claude run evidence
└── templates/
See docs/ARCHITECTURE.md for component responsibilities.
Extends Anthropic's Skill Creator
This skill extends (not replaces) Anthropic’s skill-creator:
| Aspect | Anthropic's skill-creator | This skill adds |
|---|---|---|
| Focus | SKILL.md content | Repository structure |
| Scope | Single file | Full repo layout |
| Distribution | Claude Code native | + Marketplace, Composer |
| Audience | AI instructions | + Human README |
Contributing
Contributions welcome. Please open PRs for:
- Template improvements
- Additional validation checks
- Documentation updates
Tests
The suite lives in tests/: Bash and Python scripts per area. It needs Bash 4.3+, Python 3.11+ (standard library), Git and jq. tests/validate-skill.sh also runs the PyYAML path of the validator when python3 can import yaml or uv is installed, and skips it with a notice otherwise; tests/fleet-release.sh skips its manifest cases without gh. No test calls a model: tests/run-ab-evals.sh puts a stub claude on PATH. The only download is PyYAML through uv, for that optional path. Run everything the way CI does:
rc=0
for t in tests/*.sh; do bash "$t" || { echo "FAILED: $t"; rc=1; }; done
for t in tests/*.py; do python3 "$t" || { echo "FAILED: $t"; rc=1; }; done
(exit "$rc")
validate-skill.sh,validate-skill-architecture.sh,portable-manifest.sh,mechanical-coverage.sh: the validator's verdicts (frontmatter parsing on both parser paths, multi-skill discovery, size budgets, dangling paths,allowed-tools, README install lines, release path, script-test lookup,plugin.json) andsync-plugin-manifest.sh,bump-version.sh,check-version-parity.sh.agent-evidence.py: captured ATIF/Claude evidence, completion and failure paths, Unicode, artifact integrity and path confinement.validate-evals.sh,run-ab-evals.sh: the eval validator on the three eval formats, and the A/B runner's provenance, sampling, gates and argument handling.fleet-release.sh,roll-changelog.sh,migrate-licensing.sh,release-archive-layout.sh: the fleet release driver offline, the changelog roll, the licensing migration on throwaway repositories, and the archive layout and contentsrelease.ymlbuilds.usage-text.sh,audit-skills.sh,renovate-custom-manager.py:--helpoutput of the shipped scripts,scripts/audit-skills.sh, and the Renovate regex manager inrenovate.json.
Each file prints a FAIL line naming each check that did not hold, ends with a summary line (except audit-skills.sh, whose failure output is its FAIL lines), and exits non-zero on any failure. The loop above runs every file and returns non-zero if any of them failed. Some files also print a line for each passing check (ok, PASS or [OK]).
In CI, every push to main and every pull request runs Skill Tests (tests-caller.yml calls the local tests.yml, which runs tests/**/*.sh and tests/**/*.py, each in its own log group) and Self-test (self-test.yml: the validator and manifest tests, this repository validated with the validator from the pull request, version parity, and the full Skill Validation job at ShellCheck severity style).
Test policy: a pull request that adds or changes behaviour of a script under skills/skill-repo/scripts/ or scripts/, or of a check in a reusable workflow, adds or updates a test in tests/ that fails without the change. Passing the existing suite is not enough for new functionality.
Dependencies
- Shipped package:
composer.jsonrequiresnetresearch/composer-agent-skill-plugin, which registers the skill in a PHP project;package.jsondeclares@netresearch/agent-skill-coordinatoras a peer dependency for the same job in Node projects. Neither has a lock file: a skill package pins nothing for its consumers (see AGENTS.md). - Scripts: Bash, Python 3.11+ standard library, Git and
jq; PyYAML is optional forvalidate-skill.sh; the fleet driver needsgh;scripts/run-ab-evals.shneeds theclaudeCLI. None is installed by this repository. - CI tools: third-party GitHub Actions are pinned to commit SHAs.
validate.ymldownloads ShellCheck 0.11.0 and checks its SHA-256, and runsruff0.17.1 andpyyaml6.0.3 throughuv. bandit and pip-audit are installed with--require-hashesfrom.github/requirements/*.txt, compiled from the matching*.infile with theuv pip compile --generate-hashescommand in each file's header. Pre-commit hooks are pinned byrev:in.pre-commit-config.yaml.ab-evals-schedule.ymlinstalls@anthropic-ai/claude-codeat a fixed version. - Tracking and updates: Renovate (
renovate.json:config:recommended, pre-commit hooks enabled, thepip-compilemanager for.github/requirements/*.txt, which re-runs each file's header command and so also picks up new transitive dependencies, and a regex manager for theuvx …@versionanduv run --with …==versionpins in workflows, tested bytests/renovate-custom-manager.py) opens update pull requests;auto-merge-deps.ymlhands them to the organisation's auto-merge workflow, which merges them after their checks pass. That manager only reads a header of the form--option=valuethat names the.infile, so keep it in that shape. The ShellCheck version and checksum and thepyyamlandclaude-codepins have no Renovate rule and are updated by hand. - Selection: a new dependency is added in a pull request that changes the manifest or workflow that uses it, and is reviewed there, including its licence against the organisation policy below. Dependency review and Composer Audit run on that pull request (see below).
Governance and policies
This repository follows the Netresearch organisation policies:
- Governance: ownership, roles, how decisions are made and disputes resolved, and continuity.
- Roadmap: planned and explicitly excluded work for the coming year.
- Handling of dependency and code analysis findings: thresholds, deadlines and the exception process for dependency (SCA) and static analysis (SAST) findings.
- Secret management: how CI and release credentials are stored, accessed and rotated.
- Access roster: who holds administrative access to this repository and the organisation.
The security assurance case for this repository (threat model, trust boundaries, countermeasures and limits) is in docs/SECURITY-ASSURANCE.md.
Checks that run on every pull request in this repository: Skill Validation (lint.yml, the reusable validate.yml from main: skill structure, plugin manifest sync, markdownlint, yamllint, actionlint, JSON syntax, Composer schema (composer validate), ShellCheck, ruff, checkpoint schemas), Self-test, Skill Tests, Eval Validation, npm Pack Smoke, the template drift check, and Security (security.yml, for pull requests against main or master): Betterleaks secret scanning, zizmor on the workflows, dependency review, Composer Audit with an Opengrep SAST scan, and CodeQL. SonarCloud and the DCO check also report on pull requests; they are configured in the repository settings, not in this repository.
License
This project uses split licensing:
- Code (scripts, workflows, configs): MIT
- Content (skill definitions, documentation, references): CC-BY-SA-4.0
See the individual license files for full terms.
Credits
Developed and maintained by Netresearch DTT GmbH.
Made with ❤️ for Open Source by Netresearch
Details
- Marketplace
- netresearch/claude-code-marketplace
- Source
- netresearch/skill-repo-skill
- Category
- Development
- Listed since
- Apr 7, 2026
Questions
What does the skill-repo plugin do for Claude Code?
The skill-repo plugin is a Claude Code skill for standardizing Netresearch skill repository layout, distribution channels, packaging, and validation. It covers repository standards, composer.json configuration, release workflows, and validation scripts such as validate-skill.sh.
How do I install the skill-repo plugin in Claude Code?
Run /plugin marketplace add netresearch/claude-code-marketplace first, then /plugin install skill-repo@netresearch-claude-code-marketplace. The second command installs the skill-repo plugin from that marketplace.
Which plugins lead the Skill & Plugin Building category?
skill-repo sits in the Skill & Plugin Building category on Claude Marketplaces, where example-skills, prompts.chat, plugin-dev, ruflo-plugin-creator and mcp-builder are other top plugins. It focuses on one standard repository shape, split licensing and validation for Netresearch-style skill repositories.
What do I need to run the skill-repo validation script?
The validate-skill.sh script needs bash 4.3 or newer and python3 3.11 or newer on your PATH. Its JSON checks use Python rather than jq.
Who is the skill-repo plugin for?
It is for developers creating or bootstrapping a Netresearch-style skill repository, or migrating one to split licensing with LICENSE-MIT and LICENSE-CC-BY-SA-4.0. It also helps teams fix validation errors and wire reusable CI from netresearch/skill-repo-skill.
More from netresearch/claude-code-marketplace
All 40- typo3-a11y
- typo3-ckeditor5
- typo3-conformance
- typo3-core-contributions
- typo3-ddev
- typo3-docs
- typo3-extension-upgrade
- typo3-project-upgrade
- typo3-site-conformance
- typo3-testing
- typo3-typoscript-ref
- typo3-upgrade-effort-model
- typo3-vite
- agent-harness
- agent-rules
- automated-assessment
- cli-tools
- concourse-ci
- context7
- data-tools
- docker-development
- enterprise-readiness
- file-search
- formal-model-checking
Similar to skill-repo
More Skill & Plugin Buildinggit-workflowPluginnetresearch/claude-code-marketplace96 starsGit workflow best practices for teams and CI/CD pipelines. Covers Git Flow, GitHub Flow, Trunk-based development, Conventional Commits, pull request workflows,
skill-curatorPluginagent-sh/agentsys1K starsCanonical guidance for writing, reviewing, and maintaining production-grade SKILL.md files across agent tools
jutsu-monorepoPluginTheBushidoCollective/han201 starsAdvanced monorepo development skills for architecture, tooling, and workflow management across multiple packages and projects.
skill-shareSkillcomposiohq/awesome-claude-skills4.6K installsIf you're building skills on a team and tired of manually letting people know what's available, this automates the whole create-validate-package-announce cycle.
github-projectPluginnetresearch/claude-code-marketplace96 starsGitHub repository setup and platform-specific features. Branch protection, CODEOWNERS, Issues/Discussions/Projects, PR review workflows with conversation resolu
skill-creatorSkillcomposiohq/awesome-claude-skills5.1K installsGuide for building modular skills with SKILL.md metadata and bundled scripts, references, and assets.