.cursor/skills/backend-agent-runbook/SKILL.md
Run, configure, and verify the Zelf backend API. Use when working on backend setup, local execution, tests, Mongo requirements, route verification, or docs-related backend workflows.
npx skillsauth add Open-Verifik/zelf-online-version backend-agent-runbookInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill for practical backend operations in zelf.
npm install..env.example to .env and provide at least MONGODB_URI, secrets, and any service keys needed for your area.npm start.Core/config.js falls back to 3000..env.example sets PORT=3003.3000 or 3050.PORT whenever you run the API or tests so the server and test client agree.Recommended default local workflow:
PORT=3003 npm start
For a test file that expects another port, export that same PORT before starting the server and running the test.
npm startnpm run test:unitnpm run test:integrationnpm run test:e2enpm run test:lease, npm run test:search-tag, npm run test:authenticationnpm run audit:ipfs-pay-balances, npm run repair:blockdag-nft-index, npm run deploy:checkout-avax24 and local MongoDB, following tests/README.md./api/sessions, then call protected routes with Authorization: Bearer <token> and Origin: https://test.example.com.zelf_testing.server.js controls startup order, JWT handling, and protected vs unprotected route mounting.Routes/unprotected-repositories.js and Routes/protected-repositories.js.Repositories/Tags/ plus related integration tests under tests/integration/.config/0012589021.json when a biometric payload is required in tests.Repositories/BlockDAG/, especially the public/protected route split and the smart-contract folder under Repositories/BlockDAG/smart-contracts/.npm run repair:blockdag-nft-index.zelf-documentation/docs/api/.https://api.zelf.world, not localhost.AGENTS.md.development
Scaffold and integrate a new Zelf backend repository feature. Use when adding a new `Repositories/<Feature>/` area, using the repository generator, or wiring a new backend module into the Koa route registries.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.