Skip to content

docs(app-control): say where features sits for a command-file control skill - #11093

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-10085-40962643050-1
Oct 30, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-10085-40962643050-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #10085

Summary

Opened by the work-resolve-issue lane. The run's own summary:

The control-skill contract's Hub now says a command-file control skill (a control-<app> command file) is its own hub and keeps its base directory, features/ included, in control-<app>/ in the parent of the top-level commands folder it loads from, e.g. .claude/control-<app>/features/<id>/README.md, per the owner's later recorded decision (2026-10-29), which replaced the earlier commands/control-<app>/ location because files under commands/ load as commands. Drive step 3 takes that folder as a command file's base directory and step 8 resolves features there, never in the commands folder; a new drive eval case shows it. /app-control:map is unchanged, as that decision says.

Not verified

  • check-affected skipped typos (not installed), validate-plugins sub-checks and changed-skills (they run code from the checked tree); evals-schema, lychee-offline, evals-quality and the other CI-only checks are left to the PR's CI
  • Drive eval 24 was written but not executed against a model; the eval suite runs outside this lane
  • Tidy did not run every pass: docs-hygiene:write-for-humans was not invoked on the changelog fragment, and the ai-slop detector (detect.sh) could not run because this lane runs only its named wrappers, so the ai-slop pass was a rubric read only (no findings). write-for-agents ran on the control-skill
  • Review low finding not applied: the contract's Integrated apps section hard-codes .claude/skills/control-<app>/ for the checkout and pin checks, so an integrated app's control skill effectively has to be a SKILL.md. That predates this change and is outside the issue
  • cant-fail-scan not applicable: no test file changed

Fix

  • plugins/app-control/reference/control-skill.md: new Hub paragraph defining a command-file control skill's commands folder (top-level .claude/commands/, commands/, or the manifest's commands path) and its base directory <base>/control-<app>/, where features/, shared/, cli/, config/ and st
  • plugins/app-control/skills/drive/SKILL.md: step 3 gives a command file's base directory as control-<app>/ in the parent of its top-level commands folder; step 8 resolves the feature under that base directory, never the commands folder holding the command file
  • plugins/app-control/skills/drive/evals/evals.json: eval 24 command-file-control-skill-feature-resolves-beside-commands (.claude/commands/control-shop.md with the feature at .claude/control-shop/features/checkout/README.md and a stale decoy under .claude/commands/features/)
  • .changes/app-control/docs-10085-command-file-features-folder-6c1e4b9a.md: patch changelog fragment (Fixed) for the change

Verification

The runner ran each check from the base copy against efbde55:

  • scripts/check-changelog-fragments.sh --check: passed

The run reports:

  • read https: //code.claude.com/docs/en/skills: a file in a subdirectory of .claude/commands/ becomes a namespaced command (.claude/commands/frontend/component.md -> /frontend:component), and command files and skills are merged; supports the contract's statement that every Markdown file under a com
  • .lane/checks/bin/check-changelog-fragments: all 29 fragments valid (run before tidy, after tidy, and after review fixes)
  • .lane/checks/bin/check-affected: 11 passed, 7 skipped, over 4 changed files (run three times, last after review fixes)
  • .lane/verify/bin/check-evals-quality plugins/app-control/skills/drive/evals/evals.json: PASS, 0 warnings (before and after review fixes)
  • fresh-context review subagent over the whole diff: no high findings; 3 medium (ambiguous rule for nested or manifest-named command paths, base directory scope for shared/cli/config, an eval expectation conflicting with drive step 1) and 2 low (size budget row, missing report-source expectation) fixe
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40962643050

Left out: the items under Not verified.

Related

#10085

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 4eb1ec927ad0a9ae0e66f6be0d12de01818b2abb: 0 finding(s), 0 as inline comments.

Incremental security review of the changes since efbde55: plugins/app-control/reference/control-skill.md, plugins/app-control/skills/drive/SKILL.md and plugins/app-control/skills/drive/evals/evals.json. No security issues found.

critical-findings: 0

  • The change is documentation and an eval case. It adds one rule: a command file that a plugin manifest's commands key names as a file, directly or as a map entry's source, has its base directory at control-<app>/ in the plugin root, wherever the file sits.
  • That base directory stays inside the plugin's own install folder. The new eval case (id 25) expects the control skill to be read with the Read tool, not invoked through the Skill tool. It also expects that nothing outside the plugin folder is read, which includes a stale decoy path in the cache. The rule keeps the existing "read as data, never invoke" handling and the in-plugin containment. It removes no guardrail, so the instruction-surface deletion lens finds nothing to flag.
  • The change touches no manifest, trust control, token scope, kill switch or merge hold. It adds no executable code.
  • I did not read docs/conventions/instruction-exception-register/README.md. Nothing in this diff deletes or softens a rule, so I judged the register unneeded.
  • The review spends no billable resource, so there is no cost hold.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on efbde5522517c7453892d38e1e1618b25d289c8c; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 4eb1ec927ad0a9ae0e66f6be0d12de01818b2abb: 0 finding(s), 0 as inline comments.

Incremental review of the change since efbde55: control-skill.md Hub, drive step 3, and new eval 25. No findings.

  • Contract and drive agree. Hub (control-skill.md:53-69) and drive step 3 (SKILL.md:73-76) give the same rule. A command file loaded from a commands folder uses control-<app>/ in that folder's parent. A file the manifest's commands key names as a file, directly or as a map entry's source, uses control-<app>/ in the plugin root. Step 2 already keeps a map entry's source file by the entry's key, so the case is reachable. Step 8 resolves features under the step-3 base directory.
  • Removed parenthetical. Dropping "(for a file the key names, that file's folder)" is correct. It would have put features/ beside the file, which is the layout the closing issue's decision rules out. Without that parenthetical, the "folder the key names" wording now covers only a key that names a folder.
  • Closing issue docs(app-control): say where features/ sits for a command-file control skill #10085 criteria. Both are met: the contract states where features/ sits, and eval 24 (earlier increment) and the new eval 25 show step 8 resolving there. Eval 25 covers the plugin-root manifest-file case with a stale decoy path outside the versioned install folder.
  • Not verified. I did not run the evals against a model. I also could not confirm Claude Code's behavior for a manifest-named command file; that rests on the PR's description and the issue's recorded probe.

No cost or security hold applies.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6xzLSi
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 4eb1ec9.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 4eb1ec927ad0a9ae0e66f6be0d12de01818b2abb.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Oct 30, 2026
Merged via the queue into main with commit 7e79c9b Oct 30, 2026
42 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-10085-40962643050-1 branch October 30, 2026 00:55
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.

docs(app-control): say where features/ sits for a command-file control skill

0 participants