agentleFS
aayushusaayushus/skills/guidelines/SKILL.md

engineering-guidelines

Skill1 starsChanged 3 months agoMITView on GitHub

Comprehensive engineering standards and architecture playbook. Use when designing system topology, database schemas, auth/security controls, REST APIs, testing strategies, performance budgets, or incident response procedures.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. 0xkangl/skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When this skill is active, apply these engineering standards and architectural patterns across all design, coding, security, and testing …

    line 8
  2. Very specific:

    Tenancy Isolation: If multi-tenant, every database query touching customer data MUST filter by tenantId derived strictly from session …

    line 43
  3. Distinctive:

    Parameterized Queries: Never concatenate user input into raw SQL queries.

    line 44
  4. Very specific:

    No Blind eval(): Never evaluate raw LLM-generated code or SQL strings directly in production.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Engineering Guidelines Skill

When this skill is active, apply these engineering standards and architectural patterns across all design, coding, security, and testing tasks.


1. Domain Navigation Router

Load the relevant atomic guideline file based on the task:

DomainWhen working onLoad Document
ArchitectureService boundaries, monolith vs microservices, module seamsdocs/guidelines/architecture/service-topology.md
Database schema, primary keys, tenancy isolation, zero-downtime migrationsdocs/guidelines/architecture/database-and-tenancy.md
Background jobs, worker queues, retry policies, idempotencydocs/guidelines/architecture/async-and-queues.md
SecurityPasswords, session revocation, cookie flags, RBAC permissionsdocs/guidelines/security/auth-and-sessions.md
Boundary schema validation (Zod), XSS, SSRF, SQL injection defensesdocs/guidelines/security/input-validation.md
Secrets management, encryption at rest/transit, key rotationdocs/guidelines/security/secrets-and-crypto.md
OWASP Top 10 for LLMs, prompt injection defense, PII scrubbing, tool sandboxingdocs/guidelines/security/ai-security.md
APIREST endpoint conventions, URL versioning, JSON error/data envelopes, rate limitsdocs/guidelines/api/api-contracts.md
Inbound/outbound webhooks, HMAC signature verification, idempotency, DLQsdocs/guidelines/api/webhooks-and-events.md
TestingTest pyramid (70/20/10), unit testing, integration DB isolation, mocks, CI gatesdocs/guidelines/testing/testing-strategy.md
Playwright E2E browser flows, visual regression, golden sets, LLM-as-a-judgedocs/guidelines/testing/e2e-and-ai-testing.md
Quality & PerformanceTypeScript strictness, Result/Either error types, function & file capsdocs/guidelines/quality-performance/code-standards.md
p95 latency budgets, Core Web Vitals, caching layers, bundle size budgetsdocs/guidelines/quality-performance/performance-budgets.md
Structured JSON logging, correlation ID propagation, tracingdocs/guidelines/quality-performance/observability.md
OperationsProduction outage triage, SEV 1–4 severity levels, Incident Commander roledocs/guidelines/operations/incident-response.md
Branching, PR sizing (<300 lines), feature flags, semantic versioningdocs/guidelines/operations/git-and-release.md
Architecture Decision Records (ADRs), README standards, changelogsdocs/guidelines/operations/documentation-and-adrs.md
Docker Compose standards, multi-stage production builds, non-root usersdocs/guidelines/operations/container-standards.md
Model escalation tiers (Tier 1-3), context window discipline, parallel agentsdocs/guidelines/operations/ai-workflow.md
ADR Template for recording new technical decisionsdocs/guidelines/operations/TEMPLATE-Decision.md

2. Universal Hard Rules

  1. Tenancy Isolation: If multi-tenant, every database query touching customer data MUST filter by tenantId derived strictly from session context.
  2. Parameterized Queries: Never concatenate user input into raw SQL queries.
  3. Async > 1 Second: Any operation taking longer than 1,000ms must run in a background worker.
  4. Input Validation: Validate 100% of inputs at system boundaries with strict schemas (e.g., Zod / Pydantic).
  5. No Blind eval(): Never evaluate raw LLM-generated code or SQL strings directly in production.
  6. Structured Logging: Output all production logs as single-line JSON with correlationId and timestamp.
  7. Strict Typing: Enforce strict: true and noUncheckedIndexedAccess in TypeScript; never use any.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.