gongshichen/luminacode/api-consumption-contract
Claude Code and agent skill by gongshichen/luminacode
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Verify and document how the user-facing surface consumes the agreed backend/API contract.
Install
npx vskill@latest install gongshichen/luminacode/api-consumption-contractSKILL.md
Use this skill to keep frontend work from drifting into direct-file, mock-only, or independent behavior.
Required contract artifacts:
- Read
INTERFACE_CONTRACT.mdbefore implementation when it exists. - If the contract was only sent through A2A, collaborate with Backend to write
<project_root>/INTERFACE_CONTRACT.md. - Keep frontend assumptions in
FRONTEND_PLAN.mdaligned with the contract.
Frontend consumption checklist:
- Data loading
- Exact endpoint/command/event used.
- Request method, headers, body shape, and timeout/retry behavior.
- Loading, empty, and error UI states.
- Data mutation
- Validation before request.
- Payload shape.
- Success update behavior.
- Failure behavior that preserves user input when appropriate.
- Rendering
- Field mapping from contract to UI.
- Date/number/status formatting.
- Missing/null/unknown value behavior.
- Integration evidence
- Smoke command or browser/manual steps proving real backend consumption.
- For subprocess/CLI tests, storage fixtures and overrides must be visible to the spawned process through the agreed contract. Use env vars, cwd, config files, flags, or fixture paths; do not rely on in-process monkeypatches that the subprocess cannot see.
- Evidence to add to
INTEGRATION_REPORT.md.
- Boundaries
- Do not directly read/write backend persistence files.
- Do not hardcode fixture data except for explicitly marked demos/tests.
- Do not redesign backend internals.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.Lumina/TEAM/product-development/frontend/skills/api-consumption-contract/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gongshichen/luminacode/api-consumption-contract)