@ai-plugins-cc/shared-prompts
v0.1.1
Published
Canonical prompt templates and review-output schema shared across ai-plugins-cc providers.
Downloads
40
Readme
@ai-plugins-cc/shared-prompts
Canonical prompt templates and the review-output JSON schema shared across providers.
Layout
prompts/
review.md
rescue.md
gater.md
adversarial-review.md
schemas/
review-output.schema.jsonAPI
import { loadPrompt, loadSchema } from "@ai-plugins-cc/shared-prompts";
const reviewTemplate = loadPrompt("review"); // → string (markdown)
const schema = loadSchema("review-output"); // → parsed JSON objectPer-provider override
Providers 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.
Status
Skeleton. 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.