Skip to content

Packager/publisher declare package content (assets vs code) #16

Description

@diegohb

What to build

The packager and publisher derive a content declaration from the package's asset inventory and write it into the generated package's package.json:

  • "content": "assets" — the package ships only skills and/or commands
  • "content": "code" — the package ships anything else (agents, tools, hooks, other plugin integrations); code-backed packages may also ship skills/commands

The declaration is what installers use to pick the deployment plan (ADR-0008). The package templates carry the field, and the packager's inventory step is its source of truth.

Acceptance criteria

  • Packaging a skills/commands-only project produces a package declaring assets
  • Packaging a project with any agent, tool, or plugin content produces code
  • The generated package templates include the declaration field
  • The publisher's post-publish verification covers the declaration's presence

Blocked by

None (can start immediately).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions