Dashboard › cli › Distillation
d6605e15-2f5e-406d-abab-63cb86cc4dd7["lore_tm_v1_Cxw6wZQx-earahKXqCfZvcStVZqrYTjb0dpmlfQJQ48","lore_tm_v1_8O_WJAdRxDjL4GqjFd3DGJqblMW-DLpLsy2O4XRoOrk","lore_tm_v1_rg8Erw32netBTfbxjXS8Ouq9U_BwCWgHGpQ0cDTD4N8","lore_tm_v1_KvWt-AW0KLXVzROIVBLhw3f1yitO37wYop3XG8lG3q0","lore_tm_v1_m-frOfUmsPkZn0KkOYevn2XM8DrQKvsPKpf-xippudQ","lore_tm_v1_Es01_mwLL9J53MN0V-I4tzIFMbaWauAJ5KawbfrY9W8","lore_tm_v1_HBdJA_tLKaJyMqJkXF1AB-OundDxWU3XyXBAl_1eCSI","lore_tm_v1_qyYR3B3SSj7aHEvoa9--UmnSeVYpmU8mtxE49Jl-5MU"]
examples: definitions under packages/cli/src/commands/agent-conversation/: view.ts:80 and list.ts:117.packages/cli/plugins/sentry-cli/skills/sentry-cli/SKILL.md was updated to mark 23 optional positionals with square brackets: 1. sentry org view [<org>]; 2. sentry project list [<org/project>]; 3. sentry project view [<org/project>]; 4. sentry issue list [<org/project>]; 5. sentry alert issues list [<org/project>]; 6. sentry alert issues create [<target>]; 7. sentry alert metrics list [<target>]; 8. sentry cli completion [<shell>]; 9. sentry cli upgrade [<version>]; 10. sentry agent-conversation list [<org>]; 11. sentry agent-conversation view [<org>/]<conversation-id>; 12. sentry replay list [<org/project>]; 13. sentry release list [<org/project>]; 14. sentry release deploy <org/version> <environment> [<name>]; 15. sentry repo list [<org/project>]; 16. sentry team list [<org/project>]; 17. sentry explore [<target>]; 18. sentry feedback list [<org/project>]; 19. sentry monitor list [<org/project>]; 20. sentry trace list [<org/project>]; 21. sentry trial list [<org>]; 22. sentry trial start <name> [<org>]; 23. sentry init [<target>] [<directory>].packages/cli/plugins/sentry-cli/skills/sentry-cli/references/alert.md, cli.md, explore.md, feedback.md, init.md, issue.md, monitor.md, org.md, project.md, release.md, replay.md, repo.md, team.md, trace.md, and trial.md.docExamples uses in packages/cli/script/generate-skill.ts: loading through loadCommandExamples() at line 488, passing them to extractRouteGroupCommands(target, routeName, docExamples) at line 496, and retrieving docExamples.get(path) ?? [] at line 500.packages/cli/script/generate-skill.ts parses command-document examples with marked.lexer(): collectCommandPaths() initializes entries from depth-3 headings matching ### `sentry ...` , and associateCodeBlocks() associates bash blocks either with the current command heading or via matchExampleToCommand(code, commandPaths, groupFallback, defaultCommandPath).loadCommandExamples(commandGroup, defaultCommandName?) reads commands/${commandGroup}.md, returns an empty Map if absent, computes a default path as sentry ${commandGroup} ${defaultCommandName}, and supports both generated command-reference headings and hand-written custom example sections through heading context or content matching.extractRoutes(routeMap) in packages/cli/script/generate-skill.ts skips hidden entries, obtains a route-map default via findDefaultCommandName(target), loads examples once per route with loadCommandExamples(routeName, defaultCommandName), passes the map into grouped-command extraction, and attaches examples by exact sentry ${routeName} path for standalone commands.packages/cli/script/generate-skill.ts strips YAML front matter, MDX/Astro imports and exports, self-closing uppercase JSX components, and paired uppercase JSX components before parsing documentation; it also collapses 3 or more newlines to 2.packages/cli/script/generate-skill.ts treats json, fields, help, helpAll, and log-level as globally injected flags omitted from the compact index and documented once under Global Options.packages/cli/script/generate-command-docs.ts reads command fragments from ${FRAGMENTS_DIR}/${fragmentName}.md and top-level fragments from ${FRAGMENTS_ROOT}/${fragmentName}.md, returning "" when a read fails.packages/cli/script/generate-command-docs.ts creates DOCS_DIR recursively, removes the legacy ${DOCS_DIR}/cli directory, generates one ${DOCS_DIR}/${route.name}.md page per non-skipped route, appends custom fragment content when present, and tracks each output in generatedFiles.packages/cli/script/generate-command-docs.ts regenerates commands/index.md with front matter, an “Available Commands” table, and <!-- GENERATED:END -->, then appends the index command fragment; it also generates configuration.md from ENV_VAR_REGISTRY plus the top-level configuration fragment.validateResourceId references: its definition at packages/cli/src/lib/input-validation.ts:149 and calls in packages/cli/src/lib/arg-parsing.ts:705, 714, 740, 801, 1153, 1164, 1170, 1267, 1321, and 1340.rejectPreEncoded(input, label) in packages/cli/src/lib/input-validation.ts rejects %XX sequences to prevent double encoding and reports: Use plain text instead of percent-encoding (e.g., "my project" not "my%20project").validateResourceId(input, label) first calls rejectControlChars(input, label), then rejects the first character matched by RESOURCE_ID_FORBIDDEN; its error states that slugs and IDs may contain only letters, numbers, hyphens, and underscores. Documented rejected examples include my-org?query=foo, my-project#anchor, CLI-G%20extra, and my-org\tother.validateEndpoint(endpoint) rejects control characters and .. path traversal via PATH_TRAVERSAL_PATTERN; its guidance recommends absolute API paths such as /api/0/organizations/my-org/issues/.