Agent Tooling POC#3329
Open
sh0ji wants to merge 25 commits into
Open
Conversation
|
View your CI Pipeline Execution ↗ for commit 434cbf5 ☁️ Nx Cloud last updated this comment at |
|
I don't think I understand how nx release works
* chore(ai-tools): skill audit
* remove guideline + commands * update theme/type docs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collaborator
|
📬 Published Alpha Packages:
|
Contributor
|
🚀 Styleguide deploy preview ready! Preview URL: https://6a0e1235cb1505c9dcf7ba09--gamut-preview.netlify.app |
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.
bold text here is @dreamwasp's comments! evan hacked out the structure and i tweaked, refactored, agonized, etc. my comments/additions here are in bold and i have striked-thru things i removed.
Reed asked me to put something together that squads could try out this week, and I didn't want to overwrite anything in #3322 with Cass out, so I hacked together a quick POC with Claude. I don't intend to merge this but if any of it proves useful, we can port it to Cass' PR.
I had Claude create the following based on our existing docs, but following the specs for Skills, Rules, and Commands.
It's probably easiest to just browse https://github.com/Codecademy/gamut/tree/evan-poc-agent-tooling/packages/gamut/agent-tools to see the actual markdown files, but I'm including an overview here of my thoughts around each file type.
Files and their purpose
This stuff is all relatively new and as always with AI, it's nondeterministic so I don't think we can say with 100% certainty that agents will always treat these things differently. But we can use them for different purposes—to solve different problems.
Commands (Claude Commands, Cursor Commands) are quite similar to Skills. My mental model for them is that they're runbooks rather than best practices or documentation. They're invoked (e.g.,/gamut-review) instead of loaded automatically. I'm unclear on whether their frontmatter gets loaded or not./gamut-reviewis now a skill! commands have been deprecated/migrate-to-gamutor similar to incrementally move a project from Percipio UI to Gamut. i agree which is precisely why i migrated to skill~.gitKeepjust to illustrate the concept.Rules are only supported by Cursor. Unlike Skills, all rules are always loaded for every prompt, so I'm inclined to say we shouldn't ship any, but I think they're worth testing so I replicated the accessibility skill as a rule so we can compare it against the skill.**we decided to do away with rules~ **Testing Instructions
yarn add @codecademy/gamut@a68.6.2-alpha.671e56.0. this will just pull the new agent assets as well as the newgamutbinary command, which you can run withyarn gamutornpx gamut.yarn installto register the newgamutbinary.yarn gamut plugin install cursor|claude|figma.yarn gamut plugin install(without a target) defaults to cursor.yarn gamut plugin install claudeinstalls both the plugin and a custom marketplace.yarn gamut plugin install claude --theme coreto add the
DESIGN.mdfile, but it might be easier for designers to just copy/paste. I'm not sure about this one.yarn gamut plugin helpto see other commandsclaude plugins list. You should seegamut-design-systemlisted.