Oficina
AGENTS.md2 starsChanged 24 days agoMITView on GitHub
Entry point for harnesses that read AGENTS.md (Codex, Cursor, OpenCode, Gemini CLI and similar). This repository is a lean harness of working patterns for the Node.js + TypeScript + Prisma stack — Express (manual Clean Architecture) in the production backends it was extracted from, NestJS kept for projects that explicitly pick it. When working on any project that references this harness: Curated skills (audited external adoption closing a confirmed gap — Path 2 in docs/HOW-TO-GROW.md): - domain-modeling — building/sharpening CONTEXT.md…
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository28 other files it gives its agents.
- ai-newsSkill
- break-uiSkill
- ci-cd-and-automationSkill
- clickup-task-breakdownSkill
- client-facing-docsSkill
- codebase-designSkill
- design-auditSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- express-prisma-patternSkill
- frontend-designSkill
- game-assetsSkill
- game-design-docSkill
- grillingSkill
- improve-codebase-architectureSkill
- motion-dictionarySkill
- playwright-cliSkill
- prisma-schema-conventionsSkill
- rag-architectSkill
- rbac-designSkill
- redesign-existing-projectsSkill
- screenshot-to-codeSkill
- secrets-gitleaksSkill
- security-auditSkill
- sentry-setup-ai-monitoringSkill
- tddSkill
- token-efficiencySkill
- web-design-guidelinesSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
When working on any project that references this harness:
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.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
AGENTS.md — Oficina
Entry point for harnesses that read AGENTS.md (Codex, Cursor, OpenCode, Gemini CLI and similar).
This repository is a lean harness of working patterns for the Node.js + TypeScript + Prisma stack — Express (manual Clean Architecture) in the production backends it was extracted from, NestJS kept for projects that explicitly pick it.
When working on any project that references this harness:
- Follow the always-on rules in
rules/:rules/engineering-philosophy.md— how the team decides (pragmatism, no over-engineering)rules/git-workflow.md— branches, commits, documentation from day 0rules/security-baseline.md— security and multi-tenancy non-negotiablesrules/agent-workflow.md— how to direct the agent itself (plan before code, scoped sessions, early correction)
Consult the skills in
skills/before executing tasks in the covered areas. House patterns (extracted from repeated real usage — Path 1 indocs/HOW-TO-GROW.md):express-prisma-pattern— creating any CRUD route/domain in an Express + Prisma backend (the house stack)prisma-schema-conventions— creating/changing schema, planning migrationsrbac-design— permissions, roles, access controlclickup-task-breakdown— breaking scope into tasksclient-facing-docs— any material the client will readtoken-efficiency— session setup, token/context limits, RTKdesign-audit— read-only audit for the generated-UI look and design-system drift (static scan + rendered check, ranked report)frontend-design— pick a deliberate visual direction (plan, review against brief, build) before writing UI; pair withdesign-auditto check the resultbreak-ui— feeds a component worst-case data (long names, empty states, huge counts, non-Latin text) behind a demo toggle and reports what breaks, with a fix for eachsecurity-audit— read-only code security audit, source-to-sink tracing, HIGH-confidence findings only (Express/Prisma, web, Electron, Expo, LLM)ai-news— daily AI news briefing in PT-BR (AlphaSignal + Hermes AI, new items only) and Shorts scripts from the best stories; output in~/.oficina/news/, never in a repo
Curated skills (audited external adoption closing a confirmed gap — Path 2 in
docs/HOW-TO-GROW.md):domain-modeling— building/sharpening CONTEXT.md glossary and ADRscodebase-design— deep-module vocabulary when designing or reviewing an interfaceimprove-codebase-architecture— scanning a codebase for deepening opportunitiesgrilling— structured requirements interview to stress-test a plan or decisiondiagnosing-bugs— hard bugs and performance regressionstdd— test-first feature/bugfix work, red-green-refactor disciplinesecrets-gitleaks— secret scanning, pre-commit and CI (operationalizessecurity-baseline.md)ci-cd-and-automation— standing up CI/CD quality gates from scratchredesign-existing-projects— auditing and upgrading the UI of an existing project without changing its stackscreenshot-to-code— rebuilding a UI from a screenshot, then comparing the render against itweb-design-guidelines— reviewing front-end code against Vercel Web Interface Guidelines (rules vendored, no network call)playwright-cli— driving a real browser from the terminal to test a page at phone width (needsnpm i -g @playwright/cli)rag-architect— designing/evaluating a RAG pipelinesentry-setup-ai-monitoring— instrumenting LLM call cost/latency/tokens
Motion (experimental até o primeiro vídeo real que usar):
motion-dictionary— vocabulário de 25 efeitos (entradas, ritmo, texto, formas, transições e princípios de animação) com duração, easing e parâmetros padrão, gramática de spec ("peça assim"), 5 modelos de prompt em blocos efx.jsdeterminístico (função do tempo, sem dependências) para HTML-to-video, GSAP, Remotion, CSS ou Framer Motion
Game projects only (experimental — not yet used in two real projects; load only when the project is a game, never in backends or web apps):
game-design-doc— building/reviewing a GDD (pillars, core loop, economy, scope);/oficina:gddgame-assets— asset layout, naming and the AssetForge viewer/export scaffold for Unity, Electron and Roblox;/oficina:asset-forge,/oficina:asset
- Documentary source of truth: data model and scope come from the project's documents. Divergence is a blocker to resolve with the tech lead, not a detail to ignore.
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.

