개발자 설치를 교체하지 않고 APX 기술 새로 고침

작성자

카테고리:

← 피드로
DEV Community · Manuel Bruña · 2026-09-11 개발(SW)

You edit an APX skill, open your coding assistant, and get the old instructions again. The Markdown change is correct. The assistant may simply be reading a different file.

For contributors working from a linked APX checkout, refreshing installed skills is a separate operation from upgrading APX. Use apx skills sync when the change needs to reach the external tools’ global skill directories.

Follow the file the consumer reads

Agent Project Context (APC) is the portable context layer: repository-owned instructions and definitions shared by compatible tools. APX is the daily-use runtime and tooling layer, with a local daemon, CLI, and execution surfaces.

That division also helps explain skill delivery. A project contract and a machine’s installed helper files have different lifecycles. Committing an instruction does not automatically refresh every copy already installed on a developer’s machine.

APX has two relevant locations inside its package:

  • src/core/runtime-skills/ contains instructions consumed by APX’s own runtime.
  • skills/ supplies the separate bundled catalog distributed to external tools.

The skills documentation distinguishes these catalogs. Editing one does not imply that a consumer of the other will see the change.

A small stale-copy example

Suppose a bundled helper still describes an outdated command. You correct its source in the development checkout, then ask an external coding tool to repeat the workflow. It suggests the outdated command again.

Before rewriting the instruction, inspect the delivery path:

  1. Confirm that your apx executable resolves to the development installation you intend to test.
  2. Run the bundled skill refresh.
  3. Inspect the installed helper in the target tool’s global skill directory.
  4. Verify the corrected passage is present, then exercise the workflow in the consuming tool.

The refresh command is:

apx skills sync --verbose

Enter fullscreen mode Exit fullscreen mode

APX’s sync handler calls the shared installer and reports results by skill and destination. Its output distinguishes created, updated, unchanged, and pruned entries. Check the destination you actually use; a successful write elsewhere does not prove your assistant read the new text.

This workflow verifies distribution first. Whether an already-open external assistant reloads its instructions is a separate question, governed by that tool. Do not treat a copied file as proof that an existing conversation has refreshed its context.

Why an upgrade is the wrong repair here

The APX contributor guide warns against using apx update to refresh a linked development checkout. An upgrade can replace the global link with a published package, leaving subsequent commands pointed at released code instead of your working tree. See the development loop.

The update implementation installs a published version through a global package manager. That is appropriate when upgrading an installed release. It is unnecessary when the intended change is a local instruction file.

The package’s postinstall hook also calls the skill installer. Merely editing a development checkout does not run that hook, which explains why an explicit sync is useful.

For APX’s own runtime skills, the contributor guide documents loading from the package path on demand. Diagnose that path separately; refreshing external copies cannot fix a change made in the wrong catalog.

The useful debugging question is precise: which file does this consumer read, and what operation puts the new content there? Answer it before changing the prompt again.

Project: APX on GitHub.

원문에서 계속 ↗