agentsclimarketplace

Apm package author

Skill pngdeity/apm-user-repository/packages/apm-package-author/.apm/skills/apm-package-author

Personal APM marketplace — skills, prompts, agents, and instructions for AI coding agents

Install
npx -y skills add pngdeity/apm-user-repository --skill apm-package-author

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Meta-skill for creating standalone APM packages. Use when asked to create an APM package, author a new skill, write instruction files, scaffold an .apm/ directory, or create agent context primitives. Covers package anatomy, primitive selection (instructions vs skill vs hybrid vs prompts), scaffolding, and authoring. For marketplace registration and publishing, use the apm-marketplace-publisher skill.

SKILL.md

5.1 KB, as published. Nobody here has run it

Skill: APM Package Author

When to Invoke

Invoke this skill when the user asks to:

  • "create an APM package"
  • "author a new skill" or "write instruction files"
  • "scaffold an .apm/ directory"
  • "create agent context primitives"
  • "package a [skill/instruction/prompt/agent] for APM"

If the user asks to "add a package to the marketplace" or "publish an APM package", redirect to the apm-marketplace-publisher skill instead.

Phase 1: Choose Your Primitive

Before writing any files, classify the content against this decision tree. Choose the single correct primitive per unit of content.

Content naturePrimitiveReasoning
Always-on policy rules, style guides, conventionsinstructionsImplicit — compiled into AGENTS.md, active when files matching applyTo are touched
Multi-step procedural workflow, task guideskillExplicit — SKILL.md with description as agent router trigger
Saved user command, prompt templatepromptsManual — user types command name
Both always-on rules AND on-demand workflows in one packagehybridCombines instructions + skills (or other primitives)

Gate questions (from the custom-skill-creator heuristic):

  1. Is this a global constraint or architecture rule? → Write it in AGENTS.md. Do not create a skill.
  2. Is this a single atomic function? → This is a tool. Do not create a skill.
  3. Is this a specialized, multi-step workflow? → This is a skill. Proceed.

For a detailed analysis of each primitive, see references/primitives-decision-framework.md.

Phase 2: Scaffold the Package

Create the directory with mandatory files:

packages/<name>/
  apm.yml              # Required: package manifest
  .apm/                # Required: primitives directory
    instructions/      # .instructions.md files (if type: instructions or hybrid)
    skills/            # SKILL.md per skill (if type: skill or hybrid)
      <skill-name>/
        SKILL.md
        references/    # Optional: on-demand reference files
    prompts/           # .prompt.md files (if type: prompts)

apm.yml fields

See references/package-anatomy.md for the complete field reference with types and defaults.

Minimal valid apm.yml:

name: my-package
version: 0.4.2
type: skill # or instructions, hybrid, prompts
includes: auto

Type determines .apm/ contents

typePopulate .apm/ with
instructions.apm/instructions/*.instructions.md
skill.apm/skills/<name>/SKILL.md
hybridAny combination of instructions/, skills/, prompts/, agents/
prompts.apm/prompts/*.prompt.md

Phase 3: Write Primitives

Dispatch to the appropriate reference based on your chosen type:

PrimitiveReference
Instruction filesreferences/writing-instructions.md
SKILL.md for skillsreferences/writing-skills.md
Prompt filesreferences/writing-prompts.md
HYBRID dual-description modelreferences/hybrid-packages.md

Progressive disclosure

Skills can use references/ to keep the main SKILL.md body slim (aim for under 500 lines). Load references on demand when the agent needs depth. See references/writing-skills.md for the pattern.

Phase 4: Local Verification

Before proceeding to marketplace registration, run these two commands:

just fmt              # yamlfmt — formats apm.yml + packages/*/apm.yml
just yaml-validate    # check-jsonschema against schemas/apm.json

Resolve any failures. The package is now structurally valid and ready for marketplace registration — use the apm-marketplace-publisher skill for that phase.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.