-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
2 / 22 of 2 issues completed
Copy link
Labels
acceptedDirection approved, safe to start workDirection approved, safe to start workenhancementNew feature or requestNew feature or requestpriority/highShips in current or next milestoneShips in current or next milestone
Milestone
Description
Description
Two improvements to apm dependency management for flexibility and native tool integration:
- Optional
outputoverride: In thedependencies.apmsection, allow entries to be defined as objects with an optionaloutputfield.- Default behavior: If
outputis not specified, the dependency is bundled into the global compilation (e.g.,agent.md). - Override behavior: If
outputis defined, the primitive is exported directly to that specific file path (e.g.,.github/copilot-instructions.md).
- Default behavior: If
- Generic git URL support: Enhance the parser to support git protocol URLs as dependency references —
https://,git@,ssh://, as well as browser-pasted URLs with/tree/main/,/blob/, or Azure DevOps path parameters (?path=).
Why generic git URLs
APM currently only supports GitHub.com, GitHub Enterprise (*.ghe.com), and Azure DevOps as hosts. The plugin spec (adopted by Claude Code and GitHub Copilot CLI) supports any git URL natively. Supporting generic git protocol URLs in apm.yml would:
- Close the GitLab gap ([FEATURE] GitLab support (SaaS + self-hosted) #133) — both SaaS and self-hosted
- Close the Bitbucket gap ([FEATURE] Bitbucket Cloud support #134) — Bitbucket Cloud and Server
- Support any git-accessible host without requiring host-specific API integrations
- Use
git clone+ local package validation instead of per-host REST API calls
Sub-issues
- [FEATURE] GitLab support (SaaS + self-hosted) #133 — GitLab support (SaaS + self-hosted)
- [FEATURE] Bitbucket Cloud support #134 — Bitbucket Cloud support
Proposed Configuration Example
name: {{project_name}}
version: {{version}}
output: .github # default folder destination
dependencies:
apm:
# 1. Default behavior — short form (GitHub, uses owner/repo convention)
- danielmeppiel/design-guidelines
# 2. Full HTTPS URL (GitLab, Bitbucket, any git host)
- https://gitlab.com/acme/coding-standards.git
- https://bitbucket.org/acme/security-rules.git
# 3. Browser-pasted URL with path (auto-parsed)
- source: https://github.com/danielmeppiel/apm/tree/main/primitives/coding-standards
output: .github
# 4. Azure DevOps with specific output
- source: https://dev.azure.com/org/project/_git/repo?path=/rules
output: other
mcp:
- microsoft/azure-devops-mcp
scripts:
start: "copilot -p .github/copilot-instructions.md"Benefits
- Workflow Integration: Allows seamless generation of Copilot-native instruction files in
.github/without relying on the full agent compilation. - Granularity: Choose exactly which primitives go to the main agent file and which are exported as standalone files.
- Improved DX: Users can paste URLs directly from their browser without manual editing.
- Host-agnostic: Any git-accessible repository works as a dependency source — no host-specific code needed per platform.
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
acceptedDirection approved, safe to start workDirection approved, safe to start workenhancementNew feature or requestNew feature or requestpriority/highShips in current or next milestoneShips in current or next milestone