diff --git a/README.md b/README.md index 95427ba..c43bc64 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,25 @@ composer require netresearch/context7-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/context7-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"] + } +} +``` + ## Usage The skill triggers on keywords like: diff --git a/package.json b/package.json new file mode 100644 index 0000000..911ea2f --- /dev/null +++ b/package.json @@ -0,0 +1,34 @@ +{ + "name": "@netresearch/context7-skill", + "version": "0.0.0-source", + "description": "Netresearch AI skill for fetching up-to-date API docs and framework patterns via Context7.", + "license": "(MIT AND CC-BY-SA-4.0)", + "author": "Netresearch DTT GmbH (https://www.netresearch.de/)", + "homepage": "https://github.com/netresearch/context7-skill", + "repository": { + "type": "git", + "url": "git+https://github.com/netresearch/context7-skill.git" + }, + "bugs": { + "url": "https://github.com/netresearch/context7-skill/issues" + }, + "keywords": [ + "ai-agent-skill", + "context7", + "documentation", + "library-docs", + "api-docs", + "anthropic", + "claude-code" + ], + "aiAgentSkill": "skills/context7/SKILL.md", + "files": [ + "skills/context7/", + "LICENSE-MIT", + "LICENSE-CC-BY-SA-4.0", + "README.md" + ], + "peerDependencies": { + "@netresearch/agent-skill-coordinator": "^0.1" + } +}