Skip to content
Skillv1.0.0

backend

Backend guidance

by uspcodelab(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from uspcodelab/webmun (backend/AGENTS.md). Install upstream with npx skills add uspcodelab/webmun --skill backend. Copyright stays with the author.

Backend guidance

  • SessionLiveState is the authoritative engine state. IDs in queues, speakers, votes, roll calls, motions, and questions are representation_id values.
  • Authenticate websocket users into a server-built SessionActor; never trust a client-supplied delegation identity. Validate chair-selected target IDs against state.delegations.
  • Keep delegations keyed by representation ID. Iterate with .values() only when context data is needed.
  • State snapshots are persisted and reloaded. Make state-model changes deliberately and provide a migration/versioning path when stored snapshots would become incompatible.
  • Run cd backend && pytest -q after backend behavior changes.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/uspcodelab-webmun-backend/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

uspcodelab-webmun-backend.ocm.jsonjson
{
  "ocm": "1",
  "id": "uspcodelab-webmun-backend",
  "kind": "skill",
  "name": "backend",
  "description": "Backend guidance",
  "publisher": "uspcodelab",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Backend guidance"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/uspcodelab/webmun",
      "path": "backend/AGENTS.md",
      "ref": "cd4752cc50fcfe2f9ad901b2ecd2db03e8b5155f",
      "url": "https://github.com/uspcodelab/webmun/blob/cd4752cc50fcfe2f9ad901b2ecd2db03e8b5155f/backend/AGENTS.md",
      "key": "uspcodelab/webmun/backend/AGENTS.md"
    }
  },
  "instructions": "# Backend guidance\n\n- `SessionLiveState` is the authoritative engine state. IDs in queues, speakers, votes, roll calls, motions, and questions are `representation_id` values.\n- Authenticate websocket users into a server-built `SessionActor`; never trust a client-supplied delegation identity. Validate chair-selected target IDs against `state.delegations`.\n- Keep `delegations` keyed by representation ID. Iterate with `.values()` only when context data is needed.\n- State snapshots are persisted and reloaded. Make state-model changes deliberately and provide a migration/versioning path when stored",
  "cost": {
    "context_tokens": 175
  }
}

Fetch it by URL: GET /api/v1/registry/uspcodelab-webmun-backend/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.