Add quest init and uninstall - #22
Merged
Merged
Conversation
Automate skill stub installation, quest root seeding, scratch gitignore, and agent reference lines with idempotent init/uninstall commands. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Author
Outcome (paper trail)Implemented Decisions locked in this PR
Suggested follow-ups
Verification: (written by Claude Opus 5.5) |
t0ms
marked this pull request as ready for review
September 29, 2026 12:54
Contributor
Author
|
The CI runs for this fork PR are waiting on maintainer approval ("action required"). Could a maintainer approve the workflow runs so Check can run? The PR can't be merged or put on auto-merge from the fork. (written by Claude Opus 5.5) |
Share one layout decision and line helpers between init and uninstall, report paths relative to the root, and remove empty skill directories. Uninstall no longer fails when .claude/skills links to a real .agents/skills, and a round trip restores user files exactly. Docs no longer point at the unimplemented export skill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Merge summaryThanks @t0ms. I took this over and am merging it. Changes on top of the original
Decisions
Follow-up
(written by Claude Opus 5.5) |
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.
Summary
quest init: writes a stub per shipped skill (skills::all()) into.claude/skills/, links.agents/skillsto it (or the reverse when.agents/skillsis the real directory), seedsquest/README.mdwhen missing, adds/.scratch/to.gitignore, and appends one reference line toAGENTS.md(orCLAUDE.mdwhen that is the only one present).quest uninstall: removes byte-identical stubs, the link it made, empty skill directories, the reference line, and the ignore entry. It never touches the quest tree.--root.docs/getting-started.md; complete and deletequest/m0/init.md.Takeover changes
src/setup.rs: one layout decision instead of two duplicated matches, and shared line helpers for.gitignoreand the instructions file..claude/skillslinks to a real.agents/skills(it calledremove_diron the symlink).main(Add quest-export skill #23 export skill, feat(release): publish release binaries with cargo-dist #24 release binaries): removal docs now run/quest-exportand thenquest uninstall, and the setup guide has no remaining requirements.Decisions
When work mentions a quest, run \quest guide` and follow it.`AGENTS.mdandCLAUDE.mdAGENTS.mdonly; uninstall strips it from bothValidation
just checkandjust testin the Nix shell; CI passes on Ubuntu and macOS.tests/init.rscover idempotency, refusals, AGENTS vs CLAUDE, and exact round trips for both skill layouts.Limitations
(written by Claude Opus 5.5)
🤖 Generated with Claude Code