Skip to content
Agentmart
Submit a tool

backend-worker

Implements backend features — database schema, GraphQL resolvers, API endpoints, data pipelines

Skill by fakechris

IndexedApache-2.0★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/fakechris-backend-worker

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Implements backend features — database schema, GraphQL resolvers, API endpoints, data pipelines

Use cases: backend, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/backend-worker

What's inside

Skill name
backend-worker
Description
Implements backend features — database schema, GraphQL resolvers, API endpoints, data pipelines
License
Apache-2.0
Instructions
100 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Backend Worker

NOTE: Startup and cleanup are handled by `worker-base`. This skill defines the WORK PROCEDURE.

## When to Use This Skill

Features involving:
- Database schema design and Prisma migrations
- GraphQL resolvers, type definitions, and filter logic
- API authentication and middleware
- Data import/export pipelines
- Server-side business logic

## Required Skills

None.

## Work Procedure

### 1. Understand the Feature
- Read the feature description, preconditions, expectedBehavior, and verificationSteps from features.json
- Read `docs/legacy/` specs as needed (especially `04_GraphQL_Schema_子集_v0.md` for API compat)
- Read `.factory/library/architecture.md` and `.factory/library/environment.md`
- Check existing code to understand current state

### 2. Write Tests First (TDD)
- Create test files BEFORE implementation
- For GraphQL resolvers: write integration tests that send actual GraphQL queries and verify responses
- For data logic: write unit tests for business rules
- Use vitest as the test framework
- Tests must be runnable with `pnpm test --run` from the package directory
- Run tests to confirm they FAIL (red phase)

### 3. Implement
- Prisma schema changes: update `schema.prisma`, run `npx prisma db push` or generate migration
- GraphQL types: follow Linear-compatible naming exactly (field names, connection types, filter shapes)
- Resolvers: implement query/mutation logic using Prisma client
- Follow existing patterns in the codebase
- Run `npx prisma generate` after schema changes

### 4. Verify
- Run tests to confirm they PASS (green phase): `cd packages/server && pnpm test --run`
- Run typecheck: `cd packages/server && pnpm typecheck`
- Run lint: `cd packages/server && pnpm lint`
- For API features: manually test with curl against running server:
  ```
  cd packages/server && PORT=4200 npx tsx src/index.ts &
  curl -X POST http://localhost:4200/graphql \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $(grep AUTH_TOKEN .env | cut -d= -f2)" \
    -d '{"query":"{ teams { nodes { id key name } } }"}'
  ```
- Kill test server after verification

### 5. Commit
- Stage and commit all changes with a descriptive message

## Example Handoff

```json
{
  "salientSummary": "Implemented issues list query with full filter engine (and, team.key.eq, state.name.eq, assignee.isMe.eq, labels.some/every). Wrote 12 integration tests covering all filter paths including edge cases. Verified via curl with compound filter matching SpecOrch's Q2 query.",
  "whatWasImplemented": "GraphQL issues(first, filter) query with IssueFilter supporting and combinator, team.key.eq, state.name.eq, assignee.isMe.eq, labels.some.name.in, labels.every.name.nin. Prisma query builder translates GraphQL filters to SQL. Connection type returns { nodes: [...] }.",
  "whatWasLeftUndone": "",
  "verification": {
    "commandsRun": [
      { "command": "cd packages/server && pnpm test --run", "exitCode": 0, "observation": "12 tests passing, all filter paths covered" },
      { "command": "cd packages/server && pnpm typecheck", "exitCode": 0, "observation": "No type errors" },
      { "command": "curl -X POST http://localhost:4200/graphql -H 'Authorization: Bearer involute-dev-token-001' -H 'Content-Type: application/json' -d '{\"query\":\"{ issues(first:5, filter:{and:[{team:{key:{eq:\\\"INV\\\"}}},{state:{name:{eq:\\\"Ready\\\"}}}]}) { nodes { id identifier title state { name } } } }\"}'", "exitCode": 0, "observation": "Returns filtered issues correctly, only Ready state issues from INV team" }
    ],
    "interactiveChecks": []
  },
  "tests": {
    "added": [
      {
        "file": "packages/server/src/__tests__/issues-filter.test.ts",
        "cases": [
          { "name": "filters by team.key.eq", "verifies": "Only issues from matching team returned" },
          { "name": "filters by state.name.eq", "verifies": "Only issues in matching state returned" },
          { "name": "filters by assignee.isMe.eq", "verifies": "Only issues assigned to token user returned" },
          { "name": "filters by labels.some.name.in", "verifies": "Issues with at least one matching label returned" },
          { "name": "filters by labels.every.name.nin", "verifies": "Issues with excluded labels filtered out" },
          { "name": "compound and filter", "verifies": "All conditions applied conjunctively" }
        ]
      }
    ]
  },
  "discoveredIssues": []
}
```

## When to Return to Orchestrator

- Database connection issues that init.sh doesn't resolve
- Prisma migration conflicts that require manual resolution
- Schema design ambiguity (e.g., unclear filter semantics)
- Feature depends on another feature's work that doesn't exist yet
- Existing tests fail before changes (pre-existing issue)

From fakechris/Involute, Apache-2.0.

More from fakechris/Involute

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Apr 1, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from fakechris

Cite this page

backend-worker skill. Agent Mart. https://agentmart.dev/skills/fakechris-backend-worker (last updated 2026-10-24)