Files
Holocron/plugins/kyberforge/docs/research/docs/microsoft-apm/sources.md
T
Defame1297andClaude Code 529ed31cef docs(kyberforge): refresh apm instructions primitive research for #148
The existing schema doc covered only Claude and Copilot and called missing
description and empty content errors when apm 0.28.0 only warns. Rewrite it
with the applyTo grammar and add per-target compile/install mapping and a
gotchas doc (unquoted globs, install-vs-compile discovery, dedup and
overwrite behaviour), all verified against the apm 0.28.0 binary.

Refs: #148

Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
2026-10-01 06:37:20 +00:00

4.6 KiB

Sources

context7-microsoft-apm

  • URL: context7:/microsoft/apm
  • Description: Microsoft APM (Agent Package Manager) — open-source dependency manager for AI agent configuration (skills, prompts, instructions, agents, hooks, MCP/LSP deps), applying a declare/lock/install/audit workflow.
  • Contributing files: overview.md, installation.md, configuration.md, cli-reference.md, examples.md, troubleshooting.md, testing-and-validation.md, marketplace-and-registries.md, monorepo-and-repo-shapes.md, agent-primitive-schema.md, prompt-primitive-schema.md, instructions-primitive-schema.md, hooks-primitive-schema.md, releasing.md
  • Status: extracted

apm-github-repo

  • URL: https://github.com/microsoft/apm
  • Description: APM's own Python source (src/apm_cli/) read directly for schema/compile-mapping ground truth where Context7's doc snippets were thin — specifically primitives/models.py and primitives/discovery.py (primitive dataclasses and discovery globs), integration/prompt_integrator.py, integration/command_integrator.py, integration/instruction_integrator.py, integration/hook_integrator.py, integration/hook_native_formats.py, integration/hook_ir.py, integration/_hook_dropped_targets.py, integration/targets.py (KNOWN_TARGETS/PrimitiveMapping per-target deploy config), compilation/claude_formatter.py and compilation/distributed_compiler.py (instruction fold-in to CLAUDE.md/AGENTS.md), and models/validation.py.
  • Contributing files: agent-primitive-schema.md, prompt-primitive-schema.md, instructions-primitive-schema.md, hooks-primitive-schema.md, releasing.md
  • Status: extracted

Note: releasing.md's --check-clean/--check-versions scope, apm pack exit-code semantics, and the .apm/-vs-root-flat-dir mutual exclusivity referenced there were additionally cross-checked directly against apm_cli/bundle/plugin_exporter.py, apm_cli/commands/pack.py, and apm_cli/marketplace/drift_check.py in the installed apm-cli 0.28.0 package (/root/.local/pipx/venvs/apm-cli/), not just Context7 doc snippets — confirmed by a live apm pack --format plugin run inside plugins/bin that reproduced the documented [!] Skipping root-level skills/ because .apm/ is present warning.

apm-docs-site

  • URL: https://microsoft.github.io/apm/
  • Description: Official apm documentation site, specifically the instructions-and-agents authoring page and the targets and compile pages: frontmatter requirements, unconditional-rule wording, per-target deploy paths, compile behaviour and flags. Fetched through subagent summaries, so lossy.
  • Contributing files: instructions-primitive-schema.md, instructions-target-mapping.md, instructions-gotchas.md
  • Status: extracted

claude-code-memory-docs

  • URL: https://code.claude.com/docs/en/memory
  • Description: Claude Code memory documentation: .claude/rules/ loading, the paths frontmatter field (only field read, invalid YAML ignored), AGENTS.md versus CLAUDE.md precedence, size guidance.
  • Contributing files: instructions-primitive-schema.md, instructions-target-mapping.md, instructions-gotchas.md
  • Status: extracted

github-copilot-custom-instructions-docs

cursor-rules-docs

  • URL: https://cursor.com/docs/context/rules
  • Description: Cursor project rules documentation: .mdc requirement, description, globs and alwaysApply frontmatter, rule types (always, auto-attached, apply intelligently, manual), size guidance.
  • Contributing files: instructions-target-mapping.md, instructions-gotchas.md
  • Status: extracted

apm-cli-0-28-0-experiments

  • URL: https://pypi.org/project/apm-cli/0.28.0/
  • Description: The installed apm-cli 0.28.0 package (source under the pipx venv for apm-cli) read for integrator, target-table and pattern-parsing code, plus throwaway install, compile and audit experiments run in a scratchpad outside the repo to confirm validation severity, unquoted-glob handling, discovery asymmetry, dedup, overwrite and exit-code behaviour.
  • Contributing files: instructions-primitive-schema.md, instructions-target-mapping.md, instructions-gotchas.md
  • Status: extracted