Przejdź do treści
Biblioteka skilli
AI i agenci · Budowanie i kod

packaging-with-apm

/packaging-with-apm

Pakuje, instaluje i dystrybuuje rozszerzenia agentów przez APM (Agent Package Manager): nowe pakiety, migrację pluginów, kompilację do AGENTS.md, CLAUDE.md lub GEMINI.md oraz katalog marketplace.json.

Licencja
MIT
Ostatnia zmiana repozytorium
24.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
40
Skrypty
19
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 24.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 19 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/apm_build_pipeline.py, scripts/apm_consumer.py, scripts/apply_symlink_repairs.py, scripts/apply_symlink_repairs.sh, scripts/audit_marketplace_sources.py, scripts/check_for_broken_symlinks.py, scripts/convert_symlinks_to_manifest.py, scripts/decouple_agent_paths.py

Co robi i kiedy

Pakuje, instaluje i dystrybuuje rozszerzenia agentów przez APM (Agent Package Manager): nowe pakiety, migrację pluginów, kompilację do AGENTS.md, CLAUDE.md lub GEMINI.md oraz katalog marketplace.json.

Argumenty

/packaging-with-apm [create|convert|compile|install|marketplace] [target]
Oryginalny opis (EN)

Packages, installs and distributes agent extensions with APM (Agent Package Manager). Use when the user wants to create a new APM package, convert or migrate an existing plugin to APM and check it installs cleanly, compile a package into AGENTS.md, CLAUDE.md or GEMINI.md, install, update, pin or roll back packages globally or per project, or create a plugin marketplace catalog (marketplace.json). Not for authoring a single skill, plugin, sub-agent or rule (use the authoring-* skills).

Jak działa

  1. Contents
  2. Constraints
  3. Modes
  4. Quick start
  5. Workflow
  6. Verification
  7. References
Sekcje z nagłówków SKILL.md, w oryginale · 73 linii, 463 słów
Podgląd SKILL.md
---
name: packaging-with-apm
plugin: agent-extension-authoring
description: >-
  Packages, installs and distributes agent extensions with APM (Agent Package Manager). Use when the user wants to create a new APM package, convert or migrate an existing plugin to APM and check it installs cleanly, compile a package into AGENTS.md, CLAUDE.md or GEMINI.md, install, update, pin or roll back packages globally or per project, or create a plugin marketplace catalog (marketplace.json). Not for authoring a single skill, plugin, sub-agent or rule (use the authoring-* skills).
argument-hint: "[create|convert|compile|install|marketplace] [target]"
allowed-tools: Bash, Read, Write, Glob
---

# Packaging with APM (`packaging-with-apm`)

Packages agent extensions for [APM](https://github.com/microsoft/apm) without changing their source layout, installs them with backup and rollback, and publishes marketplace catalogs. Behaviour below was verified with APM `0.33.0`.

## Contents

- [Constraints](#constraints) • [Modes](#modes) • [Quick start](#quick-start) • [Workflow](#workflow) • [Verification](#verification) • [References](#references)

## Constraints

1. **Never change the source plugin to package it.** Staging, manifests and bundles go under `build/`; APM does not need an `apm.yml` inside the plugin.
2. **Pin APM** (`apm-cli==0.33.0`, see `requirements-dev.in`) and pin every install to `#<tag>` or `#<commit-sha>`.
3. **Compiled files are outputs.** Never edit a generated `AGENTS.md` or `GEMINI.md` when `.apm/` sources exist; change the source and recompile.
4. **No overwrites** of an existing package directory without explicit confirmation.
5. **Never edit deployed files** in harness folders; change the source and reinstall.

## Modes

Pick the mode from the request, then read its reference before running anything.

| Mode | Use when | Entry point | Reference |
|---|---|---|---|
| `create` | New APM-native package from scratch | `scripts/scaffold_apm.py` | [create-apm-package.md](references/modes/create-apm-package.md) |
| `convert` | Existing plugin to APM, or an install check | `scripts/apm_build_pipeline.py` | [convert-plugin-to-apm.md](references/modes/convert-plugin-to-apm.md) |
| `compile` | Single-file context hosts (Codex, Gemini, OpenCode) | `apm compile` | [compile-apm-package.md](references/modes/compile-apm-package.md) |
| `install` | Install, update, roll back, remove | `scripts/apm_consumer.py` | [install-apm-package.md](references/modes/install-apm-package.md) |
| `marketplace` | Marketplace catalog and Gemini extension | `scripts/audit_marketplace_sources.py` | [manage-marketplace.md](references/modes/manage-marketplace.md) |

If the target harness supports native skill directories, prefer `install` over `compile`.

## Quick start

Install the pinned APM CLI once (APM does not install skill dependencies):

```bash
python3 -m pip install -r requirements-dev.txt   # run in this skill folder; installs apm-cli==0.33.0
apm --version
```

```bash
python3 scripts/scaffold_apm.py --name <package-name>                       # create
python3 scripts/apm_build_pipeline.py --plugin plugins/<name> --apm <path>   # convert
python3 scripts/apm_consumer.py install --plugins <name> --ref <tag-or-sha> --global   # install
```

## Workflow

1. Choose the mode and read its reference (the pipeline findings and their standard fixes are in [apm-alignment-fixes.md](references/apm-alignment-fixes.md)).
2. Run the mode's entry point; dry-run first where the script offers it.
3. Re-run until the mode's verification passes, then report the generated files or installed targets.
4. On any failure follow that mode's section in [fallback-tree.md](references/fallback-tree.md).

`materialize_copies.py` and `convert_symlinks_to_manifest.py` stay in `scripts/` while any plugin still uses a copy manifest; `decouple_agent_paths.py` rewrites hardcoded install-folder paths.

## Verification

```bash
python3 scripts/validate_apm_package.py --path ./<package-name>   # create
apm compile --validate                                            # compile
python3 scripts/apm_consumer.py list-backups                      # install
python3 scripts/audit_marketplace_sources.py .                    # marketplace
```

Run the tests with `python3 -m pytest tests` (set `APM_BIN` to include the install and pack cases). Check the mode's section in [acceptance-criteria.md](references/acceptance-criteria.md).

## References

- Modes: [create](references/modes/create-apm-package.md) • [convert](references/modes/convert-plugin-to-apm.md) • [compile](references/modes/compile-apm-package.md) • [install](references/modes/install-apm-package.md) • [marketplace](references/modes/manage-marketplace.md)
- Detail: [legacy-plugin-conversion-guide.md](references/legacy-plugin-conversion-guide.md) • [apm-alignment-fixes.md](references/apm-alignment-fixes.md) • [agent-package-manager-overview.md](references/agent-package-manager-overview.md) • [marketplace.md](references/marketplace.md) • [marketplace-schema.md](references/marketplace-schema.md) • [marketplace-architecture.md](references/marketplace-architecture.md)
- Gates: [acceptance-criteria.md](references/acceptance-criteria.md) • [fallback-tree.md](references/fallback-tree.md)
- Example: [marketplace.json](examples/marketplace.json) • Diagram: [packaging-with-apm-flow.mmd](references/diagrams/packaging-with-apm-flow.mmd)
Pliki w paczce (40)
  • SKILL.md 5 KB
  • requirements-dev.in 1 KB
  • requirements-dev.txt 3 KB
  • requirements.in 1 KB
  • requirements.txt 1 KB
  • evals/evals.json 3 KB
  • examples/marketplace.json 1 KB
  • references/acceptance-criteria.md 5 KB
  • references/agent-package-manager-overview.md 29 KB
  • references/apm-alignment-fixes.md 5 KB
  • references/fallback-tree.md 2 KB
  • references/legacy-plugin-conversion-guide.md 15 KB
  • references/marketplace-architecture.md 2 KB
  • references/marketplace-schema.md 3 KB
  • references/marketplace.md 12 KB
  • references/diagrams/packaging-with-apm-flow.mmd 1 KB
  • references/modes/compile-apm-package.md 2 KB
  • references/modes/convert-plugin-to-apm.md 8 KB
  • references/modes/create-apm-package.md 2 KB
  • references/modes/install-apm-package.md 5 KB
  • references/modes/manage-marketplace.md 3 KB
  • scripts/apm_build_pipeline.py 35 KB
  • scripts/apm_consumer.py 11 KB
  • scripts/apply_symlink_repairs.py 2 KB
  • scripts/apply_symlink_repairs.sh 1 KB
  • scripts/audit_marketplace_sources.py 2 KB
  • scripts/check_for_broken_symlinks.py 7 KB
  • scripts/convert_symlinks_to_manifest.py 7 KB
  • scripts/decouple_agent_paths.py 9 KB
  • scripts/fix_inside_plugin_symlinks.py 11 KB
  • scripts/materialize_copies.py 5 KB
  • scripts/migrate_to_apm.py 16 KB
  • scripts/scaffold_apm.py 9 KB
  • scripts/validate_apm_package.py 6 KB
  • tests/test_apm_build_pipeline.py 10 KB
  • tests/test_apm_consumer.py 5 KB
  • tests/test_audit_decoupled_state.py 9 KB
  • tests/test_convert_symlinks_to_manifest.py 5 KB
  • tests/test_decouple_agent_paths.py 5 KB
  • tests/test_scaffold_apm.py 2 KB

Wersje

W bazie nie ma innych skilli o nazwie packaging-with-apm.

Migawka bazy z 28.10.2026 · wersja paczki 31352c4eab49 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100authoring-plugins
    Tworzy szkielety i audytuje całe pluginy agentów: katalog, manifest, README, folder skilli, a także weryfikuje strukturę, plugin.json, komponenty i przenośność istniejących pluginów.
  • 90apm-usage
    Pomaga w pracy z APM (Agent Package Manager): instalacja, konfiguracja, tworzenie i diagnozowanie pakietów agentów AI, zależności, kompilacja, serwery MCP, polityki i polecenia apm.
  • 90apm-usage
    Pomaga instalować, konfigurować i naprawiać pakiety agentów AI w narzędziu APM oraz obsługiwać jego polecenia CLI.
  • 100claude-skill-plugin-packaging
    Pakuje skille Claude Code jako plugin z marketplace i instaluje je w innych repozytoriach globalnie, per projekt przez zatwierdzone ustawienia lub jako plugin skills-dir.
  • 100plugin-marketplace
    Prowadzi tworzenie i zarządzanie marketplace'ami pluginów Claude Code, walidację marketplace.json i dystrybucję pluginów.
  • 100skills-creator
    Projektuje i dodaje nowe komponenty pluginów Claude, w tym skille, agenty i komendy, z decyzją o architekturze.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.