Save style skill globally for Claude Code - #86
Merged
Conversation
When finalizing a style profile, offer to copy the complete generated skill to ~/.claude/skills/my-writing-style/ so Claude Code loads it automatically in every project. - Add "Save globally" prompt to the finalize flow in ReferenceCalibrationDialog - Finalize endpoint accepts saveToGlobal flag, copies the full skill directory (SKILL.md + references/) to the global location - Add GET /api/style-profile/user-skill endpoint to check whether a global skill exists (called only on explicit user action) - Add immediate "Starting…" feedback when clicking Run Analysis - Gitignore the docwriter-style-generator symlink
SQLite is the primary store for the style profile. The JSON file was a legacy mirror kept for pre-SQLite migration. The read-fallback in readStyleProfile still imports old JSON files into SQLite on first read, but new writes go only to the database.
shreyashankar
force-pushed
the
claude/global-style-skill-export
branch
from
August 24, 2026 06:49
63086da to
14f0f05
Compare
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
~/.claude/skills/my-writing-style/so Claude Code auto-loads it in every projectdocwriter-style-generatorplugin producesGET /api/style-profile/user-skillto check for an existing global skill (only on explicit user action, no silent home-dir scanning)style-profile.jsonmirror — SQLite is the sole store now (read-fallback kept for migrating old installs).agents/and.claude/as internal in the file tree (greyed out like.docwriter/).claude/skills/*/since they are generated at runtime bysyncSkillInstallationsTest plan
~/.claude/skills/my-writing-style/contains SKILL.md + references/~/.claude/skills/my-writing-styleskill loads.agents/and.claude/appear greyed out in file treestyle-profile.jsonwritten after finalizing (only SQLite)