feat: add ai-skills solution and sync command - #227
Merged
Conversation
jeff-schnitter
requested changes
Jul 27, 2026
Collaborator
|
@BradleySauln - if you remove the draft state from the PR, I will merge. |
Adds ai-plugin and ai-skill entity types, ownership relationships back to Cortex Services, and an 8-rule quality scorecard covering both ownership and Anthropic's Agent Skills authoring best practices, packaged as the ai-skills solution (cortex solutions install -s ai-skills). Also adds `cortex ai-skills sync -d <dir>` to scan a real plugins directory (eng-commons layout: <plugin>/.claude-plugin/plugin.json + skills/*/SKILL.md) and push live ai-plugin/ai-skill entities, relationships, and the scorecard's Custom Data fields (lineCount, descriptionCharCount, hasDeepReferences) -- verified end-to-end against the real eng-commons repo.
BradleySauln
force-pushed
the
bradley/ai-skills-solution
branch
from
July 27, 2026 19:48
6a0d1a0 to
c6f58c6
Compare
BradleySauln
commented
Jul 27, 2026
BradleySauln
left a comment
Author
There was a problem hiding this comment.
Made adjustments based on feedback from @jeff-schnitter
jeff-schnitter
marked this pull request as ready for review
July 27, 2026 19:55
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 an
ai-skillsCortex solution so orgs can catalog their AI plugins and skills (e.g. Claude Code plugins/Agent Skills) as first-class entities, alongside a newcortex ai-skills synccommand to ingest real plugin directories.ai-plugin,ai-skill(with icons)ai-plugin-skills(containment),ai-plugin-service/ai-skill-service(ownership — links back to an existing Cortex Service rather than duplicating owner data)ai-skills-quality— 8 rules covering ownership plus Anthropic's Agent Skills authoring best practices (concise SKILL.md, substantive descriptions, no reserved words, shallow references)cortex ai-skills sync -d <dir> [-s <service>] [--dry-run]— scans an eng-commons-style plugins directory and pushes live entities, relationships, and the scorecard's Custom Data fields (lineCount,descriptionCharCount,hasDeepReferences)catalog/(separate from any real customer data)Test plan
cortex solutions install -s ai-skillsrun end-to-end — 0 failurescortex ai-skills syncrun against the realcortexapps/eng-commonsrepo — 3 plugins, 8 skills synced correctly with resolved relationships and scored quality datajq/tonumber, tag regex)Notes for @jeff-schnitter
environmentssolution already does.entity_types.py:111(updatecalls a nonexistentCortexClient.updatemethod) — writing that up separately.