Repository navigation
docs(harness): drop the aklr- prefix from harness skill names - #147
Merged
Merged
Conversation
zhenhuang12
requested review from
RuibinCheung,
irvineoy,
jiejingzhangamd,
kyle-256 and
xiaobochen-amd
as code owners
November 11, 2026 07:59
There was a problem hiding this comment.
🟡 Changes recommended
The directory rename breaks legacy compatibility, causing historical campaign reads to aggregate incorrectly and saved Forge scripts to reference removed skill paths.
1 open issue
What changed in this PR
Removes redundant aklr- prefixes from harness skills already scoped by the aklr plugin, simplifying commands such as /aklr:kb.
Changes:
- Rename nine skills and relocate their guidance, references, and helpers.
- Update agent prompts, cross-links, READMEs, and tutorials.
- Point
forge_taskat the renamed knowledge base and update CLI test expectations.
| File | Description |
|---|---|
harness/tests/forge_task/test_cli.py |
Updates expected knowledge-base paths. |
harness/skills/review-kernel-pr/SKILL.md |
Renames the skill and bad-cases link. |
harness/skills/review-kernel-pr/scripts/.gitkeep |
Retains the helper-directory placeholder. |
harness/skills/review-kernel-pr/references/workflow.md |
Relocates the review workflow. |
harness/skills/review-kernel-pr/references/report-template.md |
Relocates the review report template. |
harness/skills/review-kernel-pr/agents/openai.yaml |
Updates the default skill invocation. |
harness/skills/read-validation/SKILL.md |
Removes the skill-name prefix. |
harness/skills/read-validation/references/ruler.md |
Relocates timing and verdict guidance. |
harness/skills/read-validation/references/ci.md |
Relocates CI report guidance. |
harness/skills/read-validation/agents/openai.yaml |
Updates the default skill invocation. |
harness/skills/qualify-downstream/SKILL.md |
Removes the skill-name prefix. |
harness/skills/qualify-downstream/scripts/.gitkeep |
Retains the helper-directory placeholder. |
harness/skills/qualify-downstream/references/workflow.md |
Relocates the qualification workflow. |
harness/skills/qualify-downstream/references/report-template.md |
Relocates the qualification report template. |
harness/skills/qualify-downstream/agents/openai.yaml |
Updates the default skill invocation. |
harness/skills/port-generated-kernels/SKILL.md |
Removes the skill-name prefix. |
harness/skills/port-generated-kernels/scripts/.gitkeep |
Retains the helper-directory placeholder. |
harness/skills/port-generated-kernels/references/workflow.md |
Updates validation and PR skill references. |
harness/skills/port-generated-kernels/references/report-template.md |
Relocates the porting report template. |
harness/skills/port-generated-kernels/references/porting-notes.md |
Updates the validation skill reference. |
harness/skills/port-generated-kernels/references/new-op.md |
Updates the validation skill reference. |
harness/skills/port-generated-kernels/agents/openai.yaml |
Updates the default skill invocation. |
harness/skills/open-pr/SKILL.md |
Renames the skill and bad-cases link. |
harness/skills/open-pr/agents/openai.yaml |
Updates the default skill invocation. |
harness/skills/monitor-upstreams/SKILL.md |
Renames the skill and porting reference. |
harness/skills/monitor-upstreams/scripts/.gitkeep |
Retains the helper-directory placeholder. |
harness/skills/monitor-upstreams/references/workflow.md |
Updates the porting skill reference. |
harness/skills/monitor-upstreams/references/report-template.md |
Relocates the monitoring report template. |
harness/skills/monitor-upstreams/agents/openai.yaml |
Updates the default skill invocation. |
harness/skills/kb/triton/tuning.md |
Updates validation and hardware paths. |
harness/skills/kb/triton/SKILL.md |
Renames the language entry and ruler path. |
harness/skills/kb/triton/moe.md |
Updates the porting-notes path. |
harness/skills/kb/triton/kernels/kernel_library.md |
Updates porting and validation paths. |
harness/skills/kb/triton/gemm/small_m_gemm.md |
Changes a historical evidence path. |
harness/skills/kb/triton/gdn.md |
Updates a hardware citation path. |
harness/skills/kb/triton/debugging.md |
Updates validation and hardware references. |
harness/skills/kb/triton/authoring.md |
Updates the validation ruler path. |
harness/skills/kb/SKILL.md |
Renames the knowledge-base skill. |
harness/skills/kb/profile.md |
Relocates profiling guidance. |
harness/skills/kb/pitfalls/state_kept_across_calls.md |
Relocates cross-call state guidance. |
harness/skills/kb/pitfalls/nograph_trace_inflates_collectives.md |
Relocates collective-timing guidance. |
harness/skills/kb/pitfalls/INDEX.md |
Relocates the pitfalls index. |
harness/skills/kb/pitfalls/fault_in_the_wrong_kernel.md |
Relocates memory-fault guidance. |
harness/skills/kb/pitfalls/aklr_dispatch_floor.md |
Relocates timing-floor guidance. |
harness/skills/kb/patterns/shape_divergence.md |
Relocates shape-dependent tuning guidance. |
harness/skills/kb/patterns/INDEX.md |
Relocates the patterns index. |
harness/skills/kb/moe/grouped_sorted_tokens.md |
Updates the validation ruler citation. |
harness/skills/kb/maintenance/kb_reconcile.py |
Relocates kernel-coverage reconciliation. |
harness/skills/kb/maintenance/kb_reanchor.py |
Relocates citation reanchoring. |
harness/skills/kb/maintenance/kb_quote_check.py |
Relocates evidence quote checking. |
harness/skills/kb/maintenance/kb_numbers_guard.py |
Relocates numeric-change checking. |
harness/skills/kb/maintenance/kb_lint.py |
Updates names in docstrings and comments. |
harness/skills/kb/maintenance/kb_index.py |
Relocates index generation. |
harness/skills/kb/maintenance/kb_gaps.py |
Relocates campaign knowledge-gap reporting. |
harness/skills/kb/hip/SKILL.md |
Renames the language entry and ruler path. |
harness/skills/kb/hip/memory_bound.md |
Relocates HIP tuning guidance. |
harness/skills/kb/hardware/gfx950/INDEX.md |
Relocates the CDNA4 reference map. |
harness/skills/kb/hardware/gfx950/cdna4/images/x17.png |
Relocates a CDNA4 reference image. |
harness/skills/kb/hardware/gfx950/cdna4/ch12_16_instruction_limitations.md |
Relocates instruction limitations. |
harness/skills/kb/hardware/gfx950/cdna4/ch12_04_sopc_instructions.md |
Relocates scalar comparison instructions. |
harness/skills/kb/hardware/gfx950/cdna4/ch12_00_instructions.md |
Relocates the instruction introduction. |
harness/skills/kb/hardware/gfx950/cdna4/ch02_program_organization.md |
Relocates program organization reference. |
harness/skills/kb/hardware/gfx950/cdna4/ch01_introduction.md |
Relocates the architecture introduction. |
harness/skills/kb/hardware/gfx950/cdna4/02_preface.md |
Relocates the reference preface. |
harness/skills/kb/hardware/gfx950/cdna4/00_front_matter.md |
Relocates source and agreement notices. |
harness/skills/kb/hardware/gfx942/INDEX.md |
Relocates the CDNA3 reference map. |
harness/skills/kb/hardware/gfx942/cdna3/images/x17.png |
Relocates a CDNA3 reference image. |
harness/skills/kb/hardware/gfx942/cdna3/ch12_16_instruction_limitations.md |
Relocates instruction limitations. |
harness/skills/kb/hardware/gfx942/cdna3/ch12_04_sopc_instructions.md |
Relocates scalar comparison instructions. |
harness/skills/kb/hardware/gfx942/cdna3/ch12_00_instructions.md |
Relocates the instruction introduction. |
harness/skills/kb/hardware/gfx942/cdna3/ch11_data_share_operations.md |
Relocates data-sharing reference. |
harness/skills/kb/hardware/gfx942/cdna3/ch02_program_organization.md |
Relocates program organization reference. |
harness/skills/kb/hardware/gfx942/cdna3/ch01_introduction.md |
Relocates the architecture introduction. |
harness/skills/kb/hardware/gfx942/cdna3/02_preface.md |
Relocates the reference preface. |
harness/skills/kb/hardware/gfx942/cdna3/00_front_matter.md |
Relocates source and agreement notices. |
harness/skills/kb/gemm/INDEX.md |
Relocates the dense-GEMM package map. |
harness/skills/kb/gemm/gfx942.md |
Relocates gfx942 GEMM guidance. |
harness/skills/kb/flydsl/SKILL.md |
Renames the language entry and KB reference. |
harness/skills/kb/communication/INDEX.md |
Relocates the communication package map. |
harness/skills/kb/cases/INDEX.md |
Relocates the kernel case-study index. |
harness/skills/kb/analysis/pmc_l2_analyzer.py |
Relocates the cache-counter analyzer. |
harness/skills/geak-campaign/SKILL.md |
Updates the contribution-guide path. |
harness/skills/forge-loop-campaign/SKILL.md |
Updates KB paths and references. |
harness/skills/build-runtime-image/SKILL.md |
Removes the skill-name prefix. |
harness/skills/build-runtime-image/scripts/.gitkeep |
Retains the helper-directory placeholder. |
harness/skills/build-runtime-image/references/workflow.md |
Relocates the image-building workflow. |
harness/skills/build-runtime-image/references/report-template.md |
Relocates the runtime-image report template. |
harness/skills/build-runtime-image/agents/openai.yaml |
Updates the default skill invocation. |
harness/skills/bad-cases/SKILL.md |
Renames the skill and KB reference. |
harness/skills/bad-cases/cases/slow_fallback_inside_kernel.md |
Relocates fallback review guidance. |
harness/skills/bad-cases/cases/contract_changed_to_fit_kernel.md |
Relocates contract review guidance. |
harness/scripts/forge_task/workspace.py |
Loads skills from the renamed KB directory. |
harness/scripts/forge_task/README.md |
Updates campaign commands and KB references. |
harness/README.md |
Updates lifecycle names and plugin examples. |
docs/ops_tutorial.zh.md |
Updates the Chinese tutorial’s porting path. |
docs/ops_tutorial.md |
Updates the English tutorial’s porting path. |
docs/kernel_rosetta_stone.md |
Updates KB links and skill names. |
docs/forge_task.md |
Updates campaign commands and KB paths. |
.github/README.md |
Updates the knowledge-base entry link. |
Review effort: Max
| # What the agents read, per kernel language: aklr-kb, and its folder for the language (each has a SKILL.md). | ||
| WIKI = Path("harness/skills/aklr-kb") | ||
| # What the agents read, per kernel language: kb, and its folder for the language (each has a SKILL.md). | ||
| WIKI = Path("harness/skills/kb") |
Contributor
There was a problem hiding this comment.
Added the legacy aklr-kb skill-path compatibility symlink in e3bb925.
Collaborator
Author
|
@copilot resolve the merge conflicts in this pull request |
Contributor
zhenhuang12
force-pushed
the
refactor/drop-aklr-skill-prefix
branch
from
November 17, 2026 08:53
f47e2cf to
5951670
Compare
Skills already load under the aklr plugin namespace (/aklr:<skill>), so the prefix doubled it as /aklr:aklr-kb. Rename the nine skill directories and their names, and update every reference (docs, READMEs, forge_task's knowledge-base path and its tests).
Co-authored-by: zhenhuang12 <[email protected]>
zhenhuang12
force-pushed
the
refactor/drop-aklr-skill-prefix
branch
from
November 17, 2026 09:03
80dc6f9 to
0434a8a
Compare
kyle-256
approved these changes
Nov 17, 2026
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.

Why
The skills already load under the
aklrplugin namespace, so theaklr-prefix doubled it (/aklr:aklr-kb). This renames the nine prefixed skills inharness/skills/(bad-cases,build-runtime-image,kb,monitor-upstreams,open-pr,port-generated-kernels,qualify-downstream,read-validation,review-kernel-pr), now/aklr:kbetc., and updates every reference: skill names and cross-links,agents/openai.yaml,docs/, READMEs, and forge_task's knowledge-base path (harness/skills/kb) with its tests (harness/tests/forge_task: 60 passed, 2 skipped;kb_lint: 0 errors; no new broken Markdown links).