Skip to content

AGENTS.md Effect section #61

Closed
Closed

Description

@allisonmahmood

Part of #54

Question

Nothing to decide: write the Effect guidance agents read. Point at node_modules/effect/AGENTS.md and MIGRATION.md; the service conventions in force (single-file services: errors/schemas → Context.Service with inline interface → make → layer; namespace imports at service boundaries; Schema.TaggedError); the capability-package map; the test patterns from the prototype; how RC bump PRs are finished. Short, pointing at sources, per writing-for-agents. Allison's opening and taste section (#22) is separate and stays hers. AFK.

Activity

  1. added
    wayfinder:task
    on Aug 28, 2026
  2. allisonmahmood commented on Aug 28, 2026

    @allisonmahmood
    OwnerAuthor

    Resolution

    Written as a new ## Effect section in AGENTS.md (sits between Agent skills and Pull requests; the RC-bump steps moved under it so all Effect guidance is one heading). Short, pointing at sources:

    • Read first: node_modules/effect/AGENTS.md + ai-docs/. Finding: MIGRATION.md is not shipped in the RC package — it lives at the Effect repo root upstream. The RC-bump step that pointed at node_modules/effect/MIGRATION.md was stale and now points at the upstream file.
    • Service conventions: five-line gist (single-file order, namespace imports at boundaries, Schema.TaggedError with structured fields, deps from the environment / runtimes only at entrypoints and port seams, one consumer → module) with .agents/skills/effect-service-conventions/SKILL.md named as the source of truth.
    • Packages by capability: the ten-package target from Package decomposition by capability #56, with config/db/storage named as the pre-port packages that go as the port reaches them.
    • Tests: the @effect/vitest patterns, pointing at packages/effect-slice/src/slice.test.ts on prototype/effect-slice as the copyable template and its README for the gotchas.
    • Guardrails: language-service diagnostics gate typecheck (config in tsconfig.base.json); /code-review loads the review spec.

    Allison's opening and taste section (#22) untouched. The edit is in the working tree, uncommitted — Allison lands it (no PR without a request).

  3. added a commit that references this issue on Aug 28, 2026
    0189e01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

wayfinder:task

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions