From a9351c713e0ddef34618131282bb3b5df2d5465f Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Sat, 2 May 2026 11:24:07 +0200 Subject: [PATCH] feat: ship as npm package via @netresearch/agent-skill-coordinator Adds a package.json so the skill is npm-installable straight from this GitHub repo (no npm-registry publication required to start). README gains a parallel 'npm (Node Projects)' section under Installation, mirroring the existing 'Composer (PHP Projects)' section. Same pattern applied across the Netresearch skill collection in 2026-05. Coordinator: https://github.com/netresearch/node-agent-skill-coordinator Sibling PRs already merged on git-workflow-skill, github-project-skill, security-audit-skill. Version stays at 0.0.0-source until npm publication is decided separately. Signed-off-by: Sebastian Mendel --- README.md | 19 +++++++++++++++++++ package.json | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 package.json diff --git a/README.md b/README.md index 8da8e2e..41ea009 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,25 @@ composer require netresearch/data-tools-skill ``` Requires [netresearch/composer-agent-skill-plugin](https://github.com/netresearch/composer-agent-skill-plugin). + +### npm (Node Projects) + +```bash +npm install --save-dev \ + @netresearch/agent-skill-coordinator \ + github:netresearch/data-tools-skill +``` + +Requires [@netresearch/agent-skill-coordinator](https://github.com/netresearch/node-agent-skill-coordinator), which discovers the skill in `node_modules` and registers it in `AGENTS.md` via a `postinstall` hook. For pnpm, also allowlist the coordinator's postinstall: + +```json +{ + "pnpm": { + "onlyBuiltDependencies": ["@netresearch/agent-skill-coordinator"] + } +} +``` + ## Structure ``` diff --git a/package.json b/package.json new file mode 100644 index 0000000..8681562 --- /dev/null +++ b/package.json @@ -0,0 +1,36 @@ +{ + "name": "@netresearch/data-tools-skill", + "version": "0.0.0-source", + "description": "Netresearch AI skill for structured data manipulation with jq, yq, dasel, qsv.", + "license": "(MIT AND CC-BY-SA-4.0)", + "author": "Netresearch DTT GmbH (https://www.netresearch.de/)", + "homepage": "https://github.com/netresearch/data-tools-skill", + "repository": { + "type": "git", + "url": "git+https://github.com/netresearch/data-tools-skill.git" + }, + "bugs": { + "url": "https://github.com/netresearch/data-tools-skill/issues" + }, + "keywords": [ + "ai-agent-skill", + "jq", + "yq", + "dasel", + "qsv", + "structured-data", + "anthropic", + "claude-code" + ], + "aiAgentSkill": "skills/data-tools/SKILL.md", + "files": [ + "skills/data-tools/", + "scripts/", + "LICENSE-MIT", + "LICENSE-CC-BY-SA-4.0", + "README.md" + ], + "peerDependencies": { + "@netresearch/agent-skill-coordinator": "^0.1" + } +}