Skip to content

[Misc] Package aiter skills as a Claude Code plugin; drop FlyDSL duplicates - #7208

Merged
fsx950223 merged 1 commit into
create-pr-skillfrom
aiter-skills-plugin
Oct 30, 2026
Merged

fsx950223 merged 1 commit into
create-pr-skillfrom
aiter-skills-plugin

Conversation

@fsx950223

Copy link
Copy Markdown
Contributor

Summary

Packages aiter's agent skills as a Claude Code plugin (aiter), published through a rocm-aiter marketplace in this repository. It also removes the two skills that duplicate skills maintained in ROCm/FlyDSL.

Stacked on #7207 (create-pr); review and merge that first. This PR's diff is only the plugin and the deletions.

Motivation

  • No distribution. The skills under .claude/skills/ load only for sessions started inside an aiter checkout. There is no way to install them for work in another repo (ATOM, vLLM, a FlyDSL checkout), to pin a version, or to see them namespaced.

  • Duplicated FlyDSL skills. Two of aiter's skills are forks of ROCm/FlyDSL's and drift from upstream:

    • flydsl-kernel-authoring has the same name and description as FlyDSL's, and 52% line similarity.
    • flydsl-kernel-code-cleanup is 83% similar to FlyDSL's kernel-code-cleanup.

    Two copies of the FlyDSL API reference means one is always stale against the FlyDSL that aiter pins.

Changes

  • .claude-plugin/marketplace.json: marketplace rocm-aiter with one plugin, aiter, whose source is ./plugins/aiter.
  • plugins/aiter/.claude-plugin/plugin.json: name, version 0.1.0, description, MIT license, repository.
  • plugins/aiter/skills: a symlink to ../../.claude/skills. Each skill keeps one source of truth, and .claude/skills/ stays exactly where it is.
    • Moving the files instead (with .claude/skills as the symlink) would break the review bot. aiter-review-bot.yml runs .claude/skills/review-pr/*.py, and triage.py derives the repo root from Path(__file__).resolve().parents[3].
  • plugins/aiter/README.md: skill list, the install command, the namespacing note, and validation commands.
  • Deleted: .claude/skills/flydsl-kernel-authoring/ and .claude/skills/flydsl-kernel-code-cleanup/.
    • aiter-specific notes they carried are dropped with them: the pinned flydsl version line, the aiter/ops/flydsl/kernels/ layout, the tensor_shim._run_compiled/ptr_arg pointers, and the legacy buffer_ops.py location.
    • The "judge against aiter's pinned FlyDSL in requirements.txt" rule remains in .github/instructions/aiter-ops-flydsl.instructions.md.
  • .github/instructions/aiter-ops-flydsl.instructions.md (Copilot review instructions): the two table rows now link ROCm/FlyDSL's flydsl-kernel-authoring and kernel-code-cleanup; the intro says they are maintained upstream. No other line changes.
  • Not changed: every remaining skill's content, all workflows and scripts, and .gitignore (main already tracks .claude/skills/).
  • review-pr was not removed: FlyDSL's review-pr shares only the name (6% similarity) and reviews FlyDSL PRs, not aiter's.

Testing

  • Unit tests added or updated: not applicable, no aiter code changes.
  • Performance benchmarks run: not applicable.
  • Tested on MI250X: not applicable, no GPU code.
  • Tested on MI300X: not applicable, no GPU code.

Plugin checks, with Claude Code 2.1.310:

  • claude plugin validate . (marketplace) passed.
  • claude plugin validate .claude/skills passed.
  • claude plugin validate plugins/aiter passed with warnings: the validator does not follow the skills symlink (sessions do), and there is no icon.
  • Real installs from this pushed branch (ROCm/aiter#aiter-skills-plugin), each into an isolated CLAUDE_CONFIG_DIR:
Marketplace add claude plugin details aiter@rocm-aiter Disk
--sparse .claude-plugin plugins .claude/skills (README command) Skills (7) 4.1 MB
full clone Skills (7) 240 MB
--sparse .claude-plugin plugins (omits .claude/skills) Skills (0), though install reports success —

The installed cache copy contains real SKILL.md files, so the symlink is dereferenced at install. The README states that .claude/skills must be in the sparse list.

Documentation

  • Docstrings updated
  • User guide updated
  • Performance guide updated
  • No documentation change is needed, with the reason stated below

plugins/aiter/README.md is the install and usage guide.

Dependencies

  • No new third-party dependencies added
  • New dependencies are listed and justified below

Breaking Changes

Within an aiter checkout, /flydsl-kernel-authoring and /flydsl-kernel-code-cleanup no longer exist as project skills. Use ROCm/FlyDSL's flydsl-kernel-authoring and kernel-code-cleanup instead.

PR Self-Review

Reviewed revision

8aafb16

Behavior and intent

The skills in .claude/skills/ become installable as the aiter Claude Code plugin from a rocm-aiter marketplace in this repository, through a plugins/aiter/skills symlink, without moving any skill. Previously they loaded only for sessions inside an aiter checkout.

The FlyDSL authoring and cleanup skills are deleted because they duplicate ROCm/FlyDSL's maintained copies and drift from them. The Copilot FlyDSL review instructions now point to those upstream skills.

Validation and unverified scope

Evidence:

  • claude plugin validate . and claude plugin validate .claude/skills passed.
  • Three real claude plugin marketplace add ROCm/aiter#aiter-skills-plugin + claude plugin install aiter@rocm-aiter runs in isolated configs gave 7 skills (sparse with .claude/skills), 7 (full) and 0 (sparse without .claude/skills); see the Testing table.
  • A probe confirmed that project skills load through a symlinked .claude/skills. This is why the reverse layout was viable in principle, though it was rejected for the review-bot path reason given under Changes.

Not covered or unverified:

  • Installation on Windows (git symlinks) was not tested.
  • The install was tested from this branch, not from main after merge.
  • Copilot's ability to open the two external ROCm/FlyDSL links during review is not verified; if it cannot, it will review FlyDSL changes without those two skills.
  • The review-pr, validate-kernel-pr and aiter-review-bot CI paths were not re-run, since no file they read changed.

PR-specific question

What CI or permission surface changes: none.

  • The only .github/ change is .github/instructions/aiter-ops-flydsl.instructions.md, a markdown guidance file that Copilot code review reads. No workflow, permission, secret, pull_request_target job or script changes.
  • That file now contains two links to https://github.com/ROCm/FlyDSL/blob/main/.... Copilot may read them as guidance text, but they are never executed.

Can fork PR code or text reach a privileged path?

  • The new .claude-plugin/marketplace.json, plugins/aiter/* and the skill deletions are not read by any workflow. No workflow triggers on plugins/** or .claude-plugin/**.
  • The privileged aiter-review-bot.yml reads only .claude/skills/review-pr/, which is unchanged and stays at its physical path; the plugin layout was chosen so that it does not move.

Remaining trust boundary: users who install the plugin run whatever skill text is on the ref they install, the same trust they already give a checkout of this repository.

Changed op tests

None. This PR changes no op_tests/ file; it only adds plugin metadata, deletes two skills and edits one Copilot instructions file.

🤖 Generated with Claude Code

…icates

Adds a rocm-aiter marketplace (.claude-plugin/marketplace.json) with one
plugin, plugins/aiter, whose skills/ links to .claude/skills so each
skill keeps a single source. Removes flydsl-kernel-authoring and
flydsl-kernel-code-cleanup, which duplicate skills maintained in
ROCm/FlyDSL, and repoints the FlyDSL Copilot instructions to those.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: fsx950223 <[email protected]>
@fsx950223
fsx950223 merged commit 99aac0e into create-pr-skill Oct 30, 2026
@fsx950223
fsx950223 deleted the aiter-skills-plugin branch October 30, 2026 08:55
@samremes

Copy link
Copy Markdown
Contributor

Supporting the dedupe. We reviewed one month of FlyDSL PR review outcomes and found both aiter copies stale: they pin 0.3.4.1 while requirements.txt pins 0.4.0, and they name four files that no longer exist.

One follow-up so nothing is lost: the two skills also carried aiter-specific notes that FlyDSL's skills cannot hold, namely where code goes in aiter, reuse of aiter.ops.flydsl.kernels.tensor_shim (_run_compiled, ptr_arg), and the pinned version. Draft #7226 gives them a home in a short aiter/ops/flydsl/AGENTS.md, together with what a compiled-handle cache must key (verified on MI355X with FlyDSL 0.4.0 and 0.4.1). It does not touch the two skills this PR deletes and keeps your links to FlyDSL's skills, so the two PRs combine cleanly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants