Skip to content

[docs] Update documentation for skill target-aware deployment (v0.8.7)#499

Open
danielmeppiel wants to merge 3 commits intomainfrom
docs/update-skill-target-deployment-2026-03-31-2509b77fb528110e
Open

[docs] Update documentation for skill target-aware deployment (v0.8.7)#499
danielmeppiel wants to merge 3 commits intomainfrom
docs/update-skill-target-deployment-2026-03-31-2509b77fb528110e

Conversation

@danielmeppiel
Copy link
Copy Markdown
Collaborator

Documentation Updates - 2026-03-31

This PR updates documentation to reflect the v0.8.7 bug fixes that made SkillIntegrator correctly respect explicit --target flags end-to-end.

Features Documented

Changes Made

  • Updated docs/src/content/docs/guides/dependencies.md: The "Skill Integration During Install" table previously hardcoded .github/skills/{folder-name}/ as the deployment destination. Updated the intro sentence and table row to use {target}/skills/{folder-name}/ with concrete examples for both copilot and cursor targets.

  • Updated docs/src/content/docs/guides/skills.md: The "Sub-skill Promotion" section previously described promotion as always going to .github/skills/. Updated the inline reference, the description paragraph, and the code example to reflect target-aware behavior — including a new labeled --target cursor example showing .cursor/skills/ output.

Merged PRs Referenced

Notes

The other v0.8.7 changes (e.g., apm deps update no-op fix, Windows Defender mitigation, sparse checkout per-org token fix) did not require documentation updates — the CLI reference already correctly described the intended behavior, and the fixes align the code to match the docs.

Generated by Daily Documentation Updater ·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/daily-doc-updater.md@b87234850bf9664d198f28a02df0f937d0447295
  • expires on Apr 2, 2026, 3:47 AM UTC

Skill deployment has always been target-aware, but two documentation
sections hardcoded `.github/skills/` as if it were the only destination.
Update both sections to use `{target}/skills/` notation and add a
concrete `--target cursor` example showing `.cursor/skills/` output,
matching the v0.8.7 fix that made SkillIntegrator respect explicit
--target flags end-to-end.

- guides/dependencies.md: update Skill Integration table and intro
- guides/skills.md: update sub-skill promotion description and example

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@danielmeppiel danielmeppiel added automation documentation Improvements or additions to documentation labels Mar 31, 2026
Copilot AI review requested due to automatic review settings March 31, 2026 03:47
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Starlight documentation to reflect v0.8.7 behavior where skill deployment honors explicit --target end-to-end (e.g., cursor/opencode skills deploy under their respective dot-directories instead of defaulting to .github/).

Changes:

  • Update skills promotion docs to describe target-aware deployment paths and add a --target cursor example output.
  • Update dependency install docs to describe target-specific skills destinations instead of hardcoding .github/skills/.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/src/content/docs/guides/skills.md Updates sub-skill promotion narrative and examples to use target-aware paths.
docs/src/content/docs/guides/dependencies.md Updates the "Skill Integration During Install" section to describe target-specific skills directories.
Comments suppressed due to low confidence (1)

docs/src/content/docs/guides/skills.md:276

  • The label "Result after install (default/copilot target)" may be misleading because default installs can be multi-target based on directory auto-detection (e.g., if .cursor/ already exists, skills may deploy there too). Consider clarifying the assumption (e.g., "when only .github/ exists" / "when target resolves to copilot") so the example matches the Target Detection behavior described later on the page.
# Result after install (default/copilot target):
.github/skills/
├── my-package/              # Parent skill
│   └── SKILL.md
└── azure-naming/            # Promoted sub-skill
    └── SKILL.md

# Result after install (--target cursor):
.cursor/skills/

Comment on lines +253 to +257
On install, APM promotes each sub-skill to a top-level `{target}/skills/` entry alongside the parent — see [Sub-skill Promotion](#sub-skill-promotion) below.

### Sub-skill Promotion

When a package contains sub-skills in `.apm/skills/*/` subdirectories, APM promotes each to a top-level entry under `.github/skills/`. This ensures Copilot can discover them independently, since it only scans direct children of `.github/skills/`.
When a package contains sub-skills in `.apm/skills/*/` subdirectories, APM promotes each to a top-level entry under `{target}/skills/` (e.g., `.github/skills/`, `.cursor/skills/`, `.opencode/skills/` depending on the active target). This ensures each supported IDE can discover them independently.
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

{target}/skills/ is ambiguous as written because the target name (e.g., cursor) is not the same as the deployed root directory (e.g., .cursor/). Consider renaming the placeholder to something like {target_root_dir} or explicitly listing the supported directories (.github/, .claude/, .cursor/, .opencode/) in the path example so readers don't interpret it as cursor/skills/....

This issue also appears on line 268 of the same file.

See below for a potential fix:

On install, APM promotes each sub-skill to a top-level `{target_root_dir}/skills/` entry alongside the parent - see [Sub-skill Promotion](#sub-skill-promotion) below.

### Sub-skill Promotion

When a package contains sub-skills in `.apm/skills/*/` subdirectories, APM promotes each to a top-level entry under `{target_root_dir}/skills/` (for example `.github/skills/`, `.claude/skills/`, `.cursor/skills/`, `.opencode/skills/` depending on the active target). This ensures each supported IDE can discover them independently.

Copilot uses AI. Check for mistakes.
Comment on lines +53 to +57
Skills are integrated to the target-specific skills directory (e.g., `.github/skills/` for copilot, `.cursor/skills/` for cursor):

| Source | Result |
|--------|--------|
| Package with `SKILL.md` | Skill folder copied to `.github/skills/{folder-name}/` |
| Package with `SKILL.md` | Skill folder copied to `{target}/skills/{folder-name}/` |
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

This sentence/examples only mention copilot and cursor, but this section is about Claude Skills and APM also supports .claude/skills/ and .opencode/skills/. Consider expanding the examples to include all supported skill targets (or rephrase to avoid implying only those two targets exist).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants