Agent skill
backend-context-loader
Load the minimal Cookmate backend context fast. Use only for backend tasks to avoid repeated discovery: Prisma schema, domain modules, repositories, route patterns, shared route helpers.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/backend-context-loader
SKILL.md
Context Loader (Cookmate backend)
Goal: cut token/time spent rediscovering the repo. Load these in order, skim only what’s needed.
Quick sequence
- Prisma model source:
apps/api/prisma/schema.prisma. - Domain modules:
packages/domain/src/**(check entity folders +index.tsexports). - Repositories:
apps/api/src/infra/db/repositories/**(map to models/domains). - Route patterns:
apps/api/src/interfaces/http/routes/collections/**(+collections/membersfor sub-entity prefixing). - Shared libs:
apps/api/src/shared/lib/route/**,apps/api/src/shared/utils/handle-error.ts,apps/api/src/shared/enums/http-status.enum.ts.
Fast commands (prefer to keep context small)
- List files quickly:
rg --files apps/api/src/interfaces/http/routes/collections - Search patterns:
rg "CollectionEntity" apps/api/src - Preview:
sed -n '1,160p' path
Notes
- Sub-entities: use
collections/membersas the reference for prefixes (/:parentId/...). - Stay concise: only open files relevant to the task; avoid full dumps.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?