Repository navigation
feat(prompt-templates): add context-bootstrap and ADHD-breakdown built-ins - #565
Merged
Merged
Conversation
…t-ins Two new built-in prompt templates, both static-body (no buildBody, no workspace context needed): - "Read This Project" — points a fresh agent at README/CLAUDE.md/layout and explicitly tells it not to edit anything yet. Titled for what a user would type in the palette, not for what the feature is called. - "ADHD-Friendly Breakdown" — one sentence, deliberately. Both sit ahead of the existing three because array position is the only ranking signal allPromptTemplates gives the palette, and these are the two reached for most often. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds two built-in prompt templates to
builtinPromptTemplates.The templates
Read This Project (
builtin:context-bootstrap)ADHD-Friendly Breakdown (
builtin:adhd-friendly-breakdown)Notes on the shape
Both are static-
body— nobuildBody, no workspace context, no IPC. Nothing to resolve at insert time.Three decisions worth flagging, all commented in the diff:
allPromptTemplates()returns custom templates first and then this array verbatim; array position is the only ranking signal the palette has. These two are the ones reached for constantly.filteredPromptTemplatesmatches on title + description, and nobody searching for this types "bootstrap".#2 is one sentence on purpose. Longer drafts spelling out formatting rules didn't beat the bare phrase and made the inserted draft more tedious to edit before sending.
Verification
tsc -p tsconfig.web.json --noEmitin the worktree reports onlyTS6305project-reference staleness (.tsc-out/nodeunbuilt in a fresh worktree) — zero errors intemplates.tsor anywhere underprompt-templates/. Themaincheckout has its own pre-existing errors incatalogCoverage.ts/committed.ts, unrelated to this diff.No new tests.
🤖 Generated with Claude Code