agent-marketplace-development
БесплатноБез исполняемых скриптовНе проверенHow to develop on the agent-marketplace codebase itself: architecture tour, testing workflow, TUI (Bubble Tea) and CLI (Cobra) conventions, and the…
от Adyen★ 100 звёзд на GitHubОб этом скилле
agent-marketplace-development
How to be productive working on the agent-marketplace Go binary.
This is about contributing to the tool itself, not about using it to
sync skills (that's the agent-marketplace skill next to this one).
Orient Yourself First
Before touching anything, read these in order:
AGENTS.md— spec authority, build/test/validation gates, command-test isolation, session-completion rules. It owns the Make targets and test selection rules; this skill does not repeat them.openspec/specs/— the normative behavior. A behavior change needs an OpenSpec change with a spec delta, and every scenario needs a// spec: <capability>/<scenario>test binding.CODING_STANDARDS.md— design, security-boundary, testing, and logging requirements.- The
agent-marketplaceskill next door — the user-facing contract. - For the desktop GUI (
gui/,cmd/agent-marketplace-gui/,internal/localapi/): gui.md, before inspecting or changing it. It names the one-command mocked preview and the cheapest loop for each question.
Then skim:
cmd/agent-marketplace/main.go— Cobra root, subcommand wiring, TUI launch on bare TTY invocation.internal/config/v4.go— the strict v4sources/resourcesmodel (V4Config) and its runtime adapter into the internalConfig/RegistryEntrymodel the resolver consumes. The adapter is not legacy consumer-format support.internal/config/effective_config.go—LoadEffectiveloads the four layers (and their includes and locks).internal/config/merge.go—MergeLayersandresolveInheritedList(runtime requirement inheritance; not an on-disk consumer schema).internal/pipeline/pipeline.go—Resolve,ResolveWithExactLockLease, andSync: the one pipeline both CLI and TUI call.internal/resolver/resolver.go— selects which resources are enabled.internal/harness/roots.go,registry.go,destinations.go—TargetInfometadata, the Devin/Codex installation adapters, and single-root vs. Codex-partitioned destinations.internal/session/— the surface-neutral interactive-session core: staged snapshots, rows (Row,BuildRows), generation isolation, mutation gating, progress observation, diagnostics, guarded actions, andinitharness-target/first-configuration detection. No Bubble Tea or other charm.land/charmbracelet imports.internal/lifecycle/— runtime lock/lifecycle wiring shared by CLI and TUI:PrepareRuntimeLocks,RefreshDriftedMarketplaceLocks,ReconcileCommandDependencies.internal/tui/state.go—Modelfields used by the TUI;rowis asession.Rowalias declared ininternal/tui/session.go, which adapts the session core intotea.Cmd/tea.Msg.
Build and smoke test
Use the Make targets and scoped TEST_PACKAGES invocations in AGENTS.md.
To smoke-test the TUI against the current checkout:
make build && ./agent-marketplace
A smoke launch or Go test run does not exercise the real-terminal journeys. Every TUI change must add or extend one; see Every TUI change ships a TUI QA journey and Local TUI QA below.
Pre-commit (.pre-commit-config.yaml) runs make test, make lint, and
make build. make lint rewrites files (go mod tidy, go fmt); re-stage
and commit again when it does.
Architecture: Two Entry Points, One Data Flow
Both the CLI subcommands and the TUI drive internal/pipeline:
pipeline.LoadEffective -> config.EffectiveConfig [four layers + includes + locks;
| v4 adapted into runtime requirements]
v
config.MergeLayers(layers) -> *config.Config [merge.go]
|
v
catalog.LoadRegistriesWithContext [exact Git snapshots, live dirs]
|
v
resolver.Resolve(cfg, catalogs, localCfg,
WithResources, WithTargetHarnesses, ...) [resolver]
|
v
pipeline.Sync: backup.Create, materialize.Run [compile, link/copy, reconcile]
- CLI (
cmd/agent-marketplace/) runs this pipeline once, prints, exits. Mutating commands (install,remove,update) go throughpipeline.Install/Remove/Update, which publish config and the layer lock in one dependency transaction (internal/dependencytxn). - TUI (
internal/tui/) is a Bubble Tea adapter over theinternal/sessioncore: the core runs the pipeline as staged snapshots on startup and after every config write, and the TUI keeps aModelof terminal/view state and re-renders from the core's events.
Everything below this line — resource selection rules, symlink targets,
name collision behavior — is shared. Fixes at the internal/* layer
fix both surfaces at once. Features that only make sense in one surface
belong in cmd/agent-marketplace/ or internal/tui/.
Resolver invariants
resolver.Resolve
Установить agent-marketplace-development в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agent-marketplace-development?
How to develop on the agent-marketplace codebase itself: architecture tour, testing workflow, TUI (Bubble Tea) and CLI (Cobra) conventions, and the config/resolver/materialization invariants that every change must preserve. Use when adding features, fixing bugs, or reviewing changes to the agent-marketplace Go binary, running local TUI QA, working on or screenshotting the desktop GUI, or maintaining harness compatibility validation. Every TUI change must ship a real-terminal TUI QA journey that proves the changed flow.
Как установить скилл agent-marketplace-development?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-marketplace-development запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic