prompt field in its frontmatter. The prompt records how the page was generated and identifies its source files, folders, and URLs.1npx -y "@holocron.so/cli" maintain --since origin/main
prompt is the original instruction used to generate the page. Use @/path for files and folders from the repository root. Use @./path or @../path when the source sits next to the MDX page. Prefix remote sources with @https://. Bare URLs in prose are not references.12345678910111213141516--- $schema: https://holocron.so/frontmatter.json title: Authenticate API requests sidebarTitle: Authentication description: Authenticate requests with sessions, API keys, and GitHub Actions OIDC. prompt: | Write the authentication guide from @/src/auth/ and @/src/middleware/session.ts. Use @https://github.com/example/project/releases for recent behavior changes. Explain sessions, API keys, and GitHub Actions OIDC authentication. Include a complete TypeScript example for every method. --- # Authentication Use a session or API key to authenticate API requests.
repository root │ ├── src/auth/ ◄── @/src/auth/ ├── src/middleware/session.ts ◄── @/src/middleware/session.ts └── website/src/pages/docs/auth.mdx │ └── @./setup.mdx relative to this page
@/ always starts at the git repository root, so the path stays valid if you move the MDX file. @./ and @../ start at the MDX file. @https:// marks a remote source. A file reference selects the page when that file changes. A folder reference selects it when any tracked file inside the folder changes. GitHub release events and explicit routine runs can select matching @https:// URL references.HEAD, selects affected pages, and starts one OpenCode session.1npx -y "@holocron.so/cli" maintain --since origin/main
--dry-run to inspect the selection without authentication or model usage.1npx -y "@holocron.so/cli" maintain --since origin/main --dry-run
--all with a run prompt for work that is not tied to one changed source, such as grammar, SEO, links, or style checks.12npx -y "@holocron.so/cli" maintain --all \ --prompt "Audit every page for weak titles and descriptions."
12npx -y "@holocron.so/cli" maintain --all \ --prompt-file .holocron/prompts/weekly-review.md
id-token: write, so the workflow does not need a stored Holocron key.HOLOCRON_KEY. Local runs use the existing holocron login session. Pass --project only when the local account has multiple projects.| Option | Purpose |
--all | Review all prompted pages, or every page when used with a run prompt. |
--since <ref> | Detect source changes between the ref merge base and HEAD. |
--prompt <text> | Add temporary instructions for this run. |
--prompt-file <path> | Read temporary instructions from a Markdown file. |
--dry-run | Report selected pages without a model call. |
--pull-request | Update the current PR or open one PR for this run. |
--project <id> | Select a project for a local session with multiple projects. |