Skip to content

Use virtual subdirectory install to avoid pulling entire repo via apm#357

Merged
arika0093 merged 4 commits intomainfrom
copilot/fix-apm-install-linqraft
Apr 2, 2026
Merged

Use virtual subdirectory install to avoid pulling entire repo via apm#357
arika0093 merged 4 commits intomainfrom
copilot/fix-apm-install-linqraft

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 2, 2026

  • Create skills/apm.yml — package manifest for apm install arika0093/Linqraft/skills
  • Create skills/linqraft/SKILL.md — direct skill access for agentskills.io / npx skills
  • Create skills/.apm/skills/linqraft/SKILL.md — APM sub-skill promotion inside the installed package
  • Update README.md — change install command from arika0093/Linqraft/.apm to arika0093/Linqraft/skills

When users run `apm install arika0093/Linqraft`, the entire .NET
repository (source code, tests, etc.) was cloned to apm_modules/.
Only the files under .apm/ are needed.

Following the APM documentation's virtual subdirectory mechanism:
- Add .apm/apm.yml (package manifest for virtual subdirectory install)
- Create .apm/.apm/ nested structure with the same primitives
  (instructions, prompts, skills) so that APM's package validation
  passes when only the .apm/ directory is installed
- Update README.md: apm install arika0093/Linqraft/.apm
  Uses git sparse-checkout to install only the .apm/ directory
- Fix path reference in prompt file (use skill name, not repo path)

Agent-Logs-Url: https://github.com/arika0093/Linqraft/sessions/4ecf7d75-dc2d-4d81-a265-6bd248305309

Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix installation of Linqraft package to include only .apm files Use virtual subdirectory install to avoid pulling entire repo via apm Apr 2, 2026
Copilot AI requested a review from arika0093 April 2, 2026 07:06
… and agentskills compat

- skills/apm.yml: package manifest enabling APM virtual subdirectory install
- skills/linqraft/SKILL.md: SKILL.md at agentskills.io standard path for npx skills etc.
- skills/.apm/skills/linqraft/SKILL.md: APM sub-skill promotion path
- README.md: update install command and curl URL to use skills/ path

Agent-Logs-Url: https://github.com/arika0093/Linqraft/sessions/b9fc72ff-1cb7-4308-83d9-be829708e68b

Co-authored-by: arika0093 <4524647+arika0093@users.noreply.github.com>
@arika0093 arika0093 marked this pull request as ready for review April 2, 2026 08:12
@arika0093 arika0093 merged commit c531ba0 into main Apr 2, 2026
2 checks passed
@arika0093 arika0093 deleted the copilot/fix-apm-install-linqraft branch April 2, 2026 08:12
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b57d11403d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

apm install arika0093/Linqraft/skills
# or install manually
curl https://raw.githubusercontent.com/arika0093/Linqraft/main/.apm/skills/linqraft/SKILL.md -o your/skills/linqraft/SKILL.md
curl https://raw.githubusercontent.com/arika0093/Linqraft/main/skills/linqraft/SKILL.md -o your/skills/linqraft/SKILL.md
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Point README manual install URL to an existing SKILL.md

The updated manual install command now downloads main/skills/linqraft/SKILL.md, but this commit does not add that file (the skill file was moved to skills/.apm/skills/linqraft/SKILL.md), so the documented curl path resolves to a missing file and manual installation fails immediately for users following the README.

Useful? React with 👍 / 👎.

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.

When you run apm install arika0093/Linqraft, the entire package gets installed.

2 participants