{"_id":"@ai-plugins-cc/shared-prompts","_rev":"2-1622376dd007119c30bfee3efac23a97","name":"@ai-plugins-cc/shared-prompts","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@ai-plugins-cc/shared-prompts","version":"0.1.0","license":"Apache-2.0","_id":"@ai-plugins-cc/shared-prompts@0.1.0","maintainers":[{"name":"builtwithlove","email":"norcal.kieran@gmail.com"}],"homepage":"https://github.com/dysfunc/ai-plugins-cc#readme","bugs":{"url":"https://github.com/dysfunc/ai-plugins-cc/issues"},"dist":{"shasum":"c7963511ecfdbf03aff5c24ea9ba69d9ae08ebbb","tarball":"https://registry.npmjs.org/@ai-plugins-cc/shared-prompts/-/shared-prompts-0.1.0.tgz","fileCount":3,"integrity":"sha512-Ba2RiusCekb+86Wbri1RWycpFKhoYs155v8wC/3AhIQl/CJ52n/rFezk7rp9LjCI83cBbzqOS97Mw8TgypSdMA==","signatures":[{"sig":"MEYCIQDlo6bw+jszRlEdXwhSouUbgKYQ4E9f9LyiItCgEk9ougIhAPQjkJPfT7PymhHHoe8FQkkwdq7u02bVV5SrAIzFh/YZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2277},"main":"./index.mjs","type":"module","engines":{"node":">=20.0.0"},"exports":{".":"./index.mjs","./prompts/*":"./prompts/*","./schemas/*":"./schemas/*"},"gitHead":"468b26667f7a9e2d4b0185807d6bb903bf7b99fd","private":false,"_npmUser":{"name":"builtwithlove","email":"norcal.kieran@gmail.com"},"repository":{"url":"git+https://github.com/dysfunc/ai-plugins-cc.git","type":"git","directory":"packages/shared-prompts"},"_npmVersion":"10.9.7","description":"Canonical prompt templates and review-output schema shared across ai-plugins-cc providers.","directories":{},"_nodeVersion":"22.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/shared-prompts_0.1.0_1777645366158_0.6881756421763481","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ai-plugins-cc/shared-prompts","version":"0.1.1","private":false,"type":"module","description":"Canonical prompt templates and review-output schema shared across ai-plugins-cc providers.","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/dysfunc/ai-plugins-cc.git","directory":"packages/shared-prompts"},"homepage":"https://github.com/dysfunc/ai-plugins-cc#readme","bugs":{"url":"https://github.com/dysfunc/ai-plugins-cc/issues"},"publishConfig":{"access":"public"},"engines":{"node":">=20.0.0"},"main":"./index.mjs","exports":{".":"./index.mjs","./prompts/*":"./prompts/*","./schemas/*":"./schemas/*"},"_id":"@ai-plugins-cc/shared-prompts@0.1.1","gitHead":"175fa81430f60cfdf16be083249ace1208df7a70","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-fsZh/0YyTWKHjJwEJ/sQR5za0+Anv2n8stYhWTJ4fuHGOUe+J/wLIqKXjHLs2IQT/WBDb0UNwPf1VYxWH3k/+Q==","shasum":"12628af30fe98a416a249b2526c995c8f686ff87","tarball":"https://registry.npmjs.org/@ai-plugins-cc/shared-prompts/-/shared-prompts-0.1.1.tgz","fileCount":3,"unpackedSize":2277,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBjJrdtuh8+klcWkgxUMr+YV07Xb5+1KG/hjuhn2u434AiEA2GtzzLMFjF8UkNDlv0Mkj1gGVrxrM0UfA2KB3udeZ94="}]},"_npmUser":{"name":"builtwithlove","email":"norcal.kieran@gmail.com"},"directories":{},"maintainers":[{"name":"builtwithlove","email":"norcal.kieran@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/shared-prompts_0.1.1_1777651128099_0.4752216867748551"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-01T14:22:46.068Z","modified":"2026-05-01T15:58:48.378Z","0.1.0":"2026-05-01T14:22:46.295Z","0.1.1":"2026-05-01T15:58:48.244Z"},"bugs":{"url":"https://github.com/dysfunc/ai-plugins-cc/issues"},"license":"Apache-2.0","homepage":"https://github.com/dysfunc/ai-plugins-cc#readme","repository":{"type":"git","url":"git+https://github.com/dysfunc/ai-plugins-cc.git","directory":"packages/shared-prompts"},"description":"Canonical prompt templates and review-output schema shared across ai-plugins-cc providers.","maintainers":[{"name":"builtwithlove","email":"norcal.kieran@gmail.com"}],"readme":"# @ai-plugins-cc/shared-prompts\n\nCanonical prompt templates and the review-output JSON schema shared across providers.\n\n## Layout\n\n```\nprompts/\n  review.md\n  rescue.md\n  gater.md\n  adversarial-review.md\nschemas/\n  review-output.schema.json\n```\n\n## API\n\n```js\nimport { loadPrompt, loadSchema } from \"@ai-plugins-cc/shared-prompts\";\n\nconst reviewTemplate = loadPrompt(\"review\");          // → string (markdown)\nconst schema = loadSchema(\"review-output\");           // → parsed JSON object\n```\n\n## Per-provider override\n\nProviders can substitute their own template by passing an override path to the prompt loader. The defaults here are the source of truth — each plugin's `plugins/<provider>/prompts/` directory exists for backward compatibility and provider-specific tuning, but should converge on these canonical versions over time.\n\n## Status\n\nSkeleton. Phase 1a kept each plugin's prompts in-tree so the move was behavior-preserving. A follow-up will migrate the canonical templates here and have each plugin reference them via `loadPrompt`.\n","readmeFilename":"README.md"}