Add bundled Claude Code Agent Skill and installer#343
Merged
Conversation
Ships a decoupler Agent Skill (SKILL.md router plus references/) so coding agents use the library correctly, along with a `decoupler-install-skills` console script to install it into ~/.claude/skills/decoupler/. Bumps version to 2.2.0 and documents the feature in the README and changelog. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
for more information, see https://pre-commit.ci
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #343 +/- ##
==========================================
- Coverage 94.18% 93.85% -0.34%
==========================================
Files 78 79 +1
Lines 4078 4119 +41
==========================================
+ Hits 3841 3866 +25
- Misses 237 253 +16
🚀 New features to boost your workflow:
|
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
Adds a bundled Claude Code Agent Skill so coding agents use decoupler correctly, plus a console script to install it.
src/decoupler/_skills/data/): aSKILL.mdrouter and areferences/folder of topic files (methods, calling conventions, I/O and output locations, priors, datasets, preprocessing, multi-method consensus, ranking/plotting, benchmarking) that agents read on demand.src/decoupler/_skills/install.py): thedecoupler-install-skillsconsole script copies the skill into~/.claude/skills/decoupler/, making it available across all projects. Use--forceto refresh after upgrading, or--print-pathto pointCLAUDE_SKILLS_PATHat the bundled copy in place. Installation is opt-in rather than happening on import/install.Tests
tests/test_install_skills.pycovers bundled-skill integrity (frontmatter, resolvable internal links), install into a fresh destination, theforceoverwrite path,FileExistsError/FileNotFoundErrorhandling, exclusion of.ipynb_checkpoints/__pycache__, the default~/.claudedestination, and the--print-pathentry point.🤖 Generated with Claude Code