feat: point AI agents at the skill from --help and init - #268
feat: point AI agents at the skill from --help and init#268angeloashmore wants to merge 5 commits into
Conversation
An agent that runs the CLI without the skill gets no pointer to it. Add a hint to the root --help text and to prismic init's success output. The hint names the skill install command first and the docs command second.
|
Please shorten the hint. Drop the
|
|
Done in 20eae12. Both the root |
|
One small change: add |
|
Done in ddd8391. Both spots use |
Resolves: N/A
Description
An agent that runs
npx prismic --helporprismic initgets no pointer to the Prismic skill. It falls back to training data instead.Add a hint to two places:
--helpdescription.prismic initsuccess output, both the starter-handoff branch and the plain-init branch.The hint points only to the skill: "Using an AI agent? Teach it how to use Prismic by installing the Prismic skill:
npx skills add --global --yes prismicio/skills".--yesskips the confirmation prompts, so an agent can run the command without hanging.The line lives in one place,
AI_AGENT_HINTinsrc/lib/ai.ts.No skill detection is added. The hint always shows, for simplicity.
Checklist
Preview
N/A
How to QA
Run
npx prismic --helpand check the description includes the AI-agent hint. Runprismic initagainst a repo and check the success output includes the same hint.