Repository navigation
feat(skill): 10x skill <name> shows a skill's overview - #88
Merged
Merged
Conversation
A short terminal glossary entry for one 10x workflow skill: stage,
problem, solution, when to use, artifacts and up to 3 related skills,
in English or Polish. Data comes from the toolkit's
GET /api/skill-overviews (generated from each SKILL.md on master).
- Accepts `10x-plan`, `/10x-plan`, `$10x-plan`, any case, and bare
`plan`; suggests close names on a typo.
- --course (defaults like `changelog`, via resolveCourseScope) and --lang.
- JSON when piped: { course, overview }. Exit codes: 2 bad name/lang or
unknown course, 3 not logged in, 4 no access, 5 unknown skill, 1 when
the API predates the route.
- Remote text is sanitized before printing and wrapped before styling.
- api-types regenerated (additions only); verify skill gets a fake-api
route and a skill feature.
Co-Authored-By: Claude Opus 5.5 <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.
What
New read-only command
10x skill <name>: a short developer-glossary entry for one 10x workflow skill. It shows the stage, problem, solution, when to use it, the artifacts it produces and up to 3 related skills. The format follows the 10x-hub skill glossary, cut down for a terminal.10x-plan,/10x-plan,$10x-plan, any case, and bareplan. A typo gets close-name suggestions, computed locally from the course-scoped list.--courseresolves the same way aschangelog(resolveCourseScope()is now exported).--lang en|pl.{ course, overview }. Exit codes:2bad name, language or unknown course;3not logged in;4no access;5unknown skill (skill_overview_not_found);1when the API doesn't have the route yet (skill_overviews_unsupported).src/generated/api-types.tswas regenerated from the toolkit branch (additions only).10x-cli-guideskill. The verify skill gets a fake-api route and askillfeature.Depends on
przeprogramowani/10x-toolkit#127 (the
/api/skill-overviewsroute and the publisher). Merge and deploy that first. Until the route is live, this command exits 1 withskill_overviews_unsupported.Testing
tests/skill-command.test.ts: 20 tests.tests/quality-loop.test.tsneeds Node 22, as pinned in.quality/config.json.tscandoxlint --deny-warningsclean.🤖 Generated with Claude Code