fix(init): handle combined JSON format, add .mcp.json, and harden deg…#23
Merged
Conversation
…ree-fetch (#17) Three gaps in the init command scaffolding addressed: 1. Unified JSON format support — all degree skill templates now reference both `*.unified.json` and `*.yaml`. Added two new skills: `degree-update` (revise existing degree files in either format) and `degree-fetch` (pull from the database with dual-build verification and majority-rules reconciliation before writing the final file). 2. Project-root .mcp.json — init now generates a `.mcp.json` alongside `.claude/settings.json`, using the same dynamic command detection so both configs stay in sync. Conflict detection and --force handling cover the new file. 3. degree-fetch hardening — the new skill prompts for output format, runs two independent parallel scaffold builds, diffs them, surfaces any discrepancies to the user, and cleans up scratch files regardless of outcome. README updated to reflect the new layout entry, updated CLI examples, and the expanded five-skill list. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <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.
Three gaps in the init command scaffolding addressed:
Unified JSON format support — all degree skill templates now reference both
*.unified.jsonand*.yaml. Added two new skills:degree-update(revise existing degree files in either format) anddegree-fetch(pull from the database with dual-build verification and majority-rules reconciliation before writing the final file).Project-root .mcp.json — init now generates a
.mcp.jsonalongside.claude/settings.json, using the same dynamic command detection so both configs stay in sync. Conflict detection and --force handling cover the new file.degree-fetch hardening — the new skill prompts for output format, runs two independent parallel scaffold builds, diffs them, surfaces any discrepancies to the user, and cleans up scratch files regardless of outcome.
README updated to reflect the new layout entry, updated CLI examples, and the expanded five-skill list.