skills
CLAUDE.md31 starsChanged 35 days agoApache-2.0View on GitHub
This repository contains skills for building backend applications with Encore.ts. Encore.ts is a TypeScript backend framework where your code defines infrastructure. Write your application → Encore provisions databases, Pub/Sub, cron jobs, and more in your AWS/GCP account automatically.
- Commits and pushes
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 69
All infrastructure (databases, topics, cron jobs, buckets, secrets) must be declared at package level:
- Very specific: line 126
All skills are in plugins/encore-skills/skills/*/SKILL.md
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Encore Skills - Agent Instructions
This repository contains skills for building backend applications with Encore.ts.
What is Encore.ts?
Encore.ts is a TypeScript backend framework where your code defines infrastructure. Write your application → Encore provisions databases, Pub/Sub, cron jobs, and more in your AWS/GCP account automatically.
When to Use These Skills
Shared Skills
| Skill | Trigger Keywords |
encore-install | install Encore, encore: command not found, PATH, update CLI, encore version update, Docker not running |
encore-login | log in, sign up, encore auth login, not logged in, auth key, ENCORE_AUTH_KEY, CI login |
encore-link-app | link app, connect to Encore Cloud, register app, encore app link, encore app init, empty id, no encore remote, not linked |
encore-create-app | new app, encore app create, scaffold, template, --example, encore app init, encore app clone |
encore-run | run locally, encore run, encore check, localhost:4000, local dashboard, port in use, background run |
encore-mcp | MCP, encore mcp, local MCP, Cloud MCP, api.encore.dev/mcp, encore-local, encore-cloud, connect Claude Code or Cursor, API key |
encore-architecture | architecture, service boundaries, monolith vs microservices, split or merge, API vs Pub/Sub, data ownership |
encore-deploy | deploy, git push encore, GitHub deploy, Encore Cloud, staging, production, deploy again, redeploy, deploy failed, no encore remote, encore app clone |
TypeScript Skills
| Skill | Trigger Keywords |
encore-getting-started | set up Encore, brand new, first time, get started, hello world, just starting out |
encore-logging | structured logging, log.info, log.error, log fields, log levels, noisy logs |
encore-api | typed endpoint, route, REST, GET/POST, request/response, validation |
encore-webhook | webhook, /webhooks/*, raw HTTP, api.raw, Stripe, GitHub, signature |
encore-auth | auth, login, bearer token, JWT, Authorization header, 401, 403 |
encore-database | postgres, table, sql, query, migration, drizzle, prisma, schema |
encore-pubsub | pub/sub, topic, subscription, broadcast, event, queue, fan out |
encore-cron | cron, schedule, daily, hourly, periodic, batch job, every N |
encore-bucket | bucket, object storage, S3, GCS, file upload, image upload, blob |
encore-cache | cache, redis, key-value, TTL, rate limit, leaderboard, expire |
encore-secret | secret, API key, credentials, signing key, encore secret set |
encore-service | add service, create service, microservice, encore.service.ts, service directory, lay out, systems folder, ~encore/clients |
encore-testing | test, vitest, unit test, integration, encore test, isolated database |
encore-frontend | frontend, client, react, nextjs, cors, fetch, generate client |
encore-code-review | review, audit, anti-pattern, best practices, before merge |
encore-migrate | migrate, convert, port, transition, express, fastify, hono |
Go Skills
| Skill | Trigger Keywords |
encore-go-getting-started | set up Encore Go, brand new Go, first time, get started, hello world, just starting out |
encore-go-logging | go, structured logging, rlog.Info, rlog.Error, log fields, noisy logs |
encore-go-api | go, typed endpoint, //encore:api, route, REST, GET/POST, request/response |
encore-go-webhook | go, webhook, /webhooks/*, //encore:api raw, Stripe, GitHub, signature |
encore-go-auth | go, auth, login, bearer token, JWT, Authorization header, 401, 403 |
encore-go-database | go, postgres, table, sql, query, migration, sqldb |
encore-go-pubsub | go, pub/sub, topic, subscription, broadcast, event, queue, fan out |
encore-go-cron | go, cron, schedule, daily, hourly, periodic, batch job, every N |
encore-go-bucket | go, bucket, object storage, S3, GCS, file upload, image upload, blob |
encore-go-cache | go, cache, redis, key-value, TTL, rate limit, leaderboard, expire |
encore-go-secret | go, secret, API key, credentials, secrets struct, encore secret set |
encore-go-service | add Go service, create Go service, microservice, service package, project layout, internal package, cross-service call |
encore-go-testing | go, test, *_test.go, encore test, isolated database |
encore-go-code-review | go, review, audit, anti-pattern, best practices, before merge |
encore-frontend | frontend, client, react, nextjs, cors, fetch, generate client |
Key Patterns to Remember
Infrastructure is Declarative
All infrastructure (databases, topics, cron jobs, buckets, secrets) must be declared at package level:
// CORRECT: Package level
const db = new SQLDatabase("mydb", { migrations: "./migrations" });
// WRONG: Inside functions
function setup() {
const db = new SQLDatabase("mydb", { migrations: "./migrations" });
}APIs are Functions, Not Routes
// CORRECT: Encore
export const getUser = api(
{ method: "GET", path: "/users/:id", expose: true },
async ({ id }) => findUser(id)
);
// WRONG: Express-style routes
app.get('/users/:id', handler);Cross-Service Calls Use ~encore/clients
// CORRECT
import { user } from "~encore/clients";
await user.getUser({ id });
// WRONG: Direct imports across services
import { getUser } from "../user/api";Use ES6 Imports
// CORRECT
import { api } from "encore.dev/api";
// WRONG
const { api } = require("encore.dev/api");Common Mistakes to Avoid
- Declaring infrastructure inside functions
- Using
require()instead ofimport - Direct imports between services instead of
~encore/clients - String concatenation in SQL (use template literals)
- Returning error objects instead of throwing
APIError - Non-idempotent Pub/Sub subscription handlers
Skill Files Location
All skills are in plugins/encore-skills/skills/*/SKILL.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

