Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/src/content/docs/guides/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ apm install ComposioHQ/awesome-claude-skills/brand-guidelines

#### Skill Integration During Install

Skills are integrated to `.github/skills/`:
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}/` |
Comment on lines +53 to +57
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.
| Package without `SKILL.md` | No skill folder created |

#### Skill Folder Naming

Skill folders use the **source folder name directly** (not flattened paths):
Skill folders use the **source folder name directly** (not flattened paths). Example for the default copilot target:

```
.github/skills/
Expand Down
13 changes: 10 additions & 3 deletions docs/src/content/docs/guides/skills.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,11 @@ my-package/
└── SKILL.md # Sub-skill B
```

On install, APM promotes each sub-skill to a top-level `.github/skills/` entry alongside the parent — see [Sub-skill Promotion](#sub-skill-promotion) below.
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.
Comment on lines +254 to +258
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.

```
# Installed package with sub-skills:
Expand All @@ -266,12 +266,19 @@ apm_modules/org/repo/my-package/
└── azure-naming/
└── SKILL.md

# Result after install:
# 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/
├── my-package/
│ └── SKILL.md
└── azure-naming/
└── SKILL.md
```

## Package Detection
Expand Down
Loading