Agent skill

Effect Service Design

by dmmulroy in dmmulroy/skills

Design Effect services. An agent skill from dmmulroy/skills.

MITAuto-check passed

Install Effect Service Design

skills CLI
$ npx skills add dmmulroy/skills --skill effect-service-design -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dmmulroy/skills effect-service-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dmmulroy/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/effect-service-design .claude/skills/effect-service-design && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
effect-service-design
GitHub stars
429
Token cost
~1.9k tokens
SKILL.md length
871 words
Files
3 (incl. references)
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Design Effect services. An agent skill from dmmulroy/skills.

  • Works in 7 steps: Establish the local rules → Select the branch → Apply the service test → …
  • Designing a new Effect service module
  • SKILL.md covers 1. Establish the local rules, 2. Select the branch, 3. Apply the service test and 4. Place the authority seam, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Effect Service Design is an agent skill from dmmulroy/skills. Design Effect services. Use when designing a new Effect service module or auditing an existing codebase for service, Layer, and composition improvements.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/AUDIT.md`).

The licence is MIT.

When your agent uses it

  • Designing a new Effect service module
  • Auditing an existing codebase for service
  • Composition improvements

Example prompts

  • “/effect-service-design”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Establish the local rules
  2. Select the branch
  3. Apply the service test
  4. Place the authority seam
  5. Shape the Effect service module
  6. Choose test Layers honestly
  7. Finish the selected branch

What it can do on your machine

Read from SKILL.md and the folder at commit 8603380. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Effect Service Design loads about 1.9k tokens when it runs, and up to ~3.1k if it reads all its reference files. Until then it costs about 44 tokens; SKILL.md has 871 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dmmulroy/skills at commit 8603380, republished under its MIT licence (© dmmulroy). 871 words, ~1,869 tokens.

Download SKILL.mdSave it as .claude/skills/effect-service-design/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
effect-service-design
description
Design Effect services. Use when designing a new Effect service module or auditing an existing codebase for service, Layer, and composition improvements.

Effect Service Design

Treat a service as an authority seam: a cohesive capability whose requirements should propagate through Effect context. An Effect service module owns the service contract, construction, production Layer, and any honest reusable test implementation that belong to the same capability.

1. Establish the local rules

Read the nearest AGENTS.md, architecture docs, coding standards, project Effect guidance, pinned Effect version/source, and relevant vendored examples. Prefer current project-compatible patterns over remembered APIs.

Complete when: the governing files and pinned source examples have been read and recorded for use in later decisions.

2. Select the branch

  • Design branch: for a new service or a focused redesign, bound the capability, trace one caller-visible operation to every effect, then continue below.
  • Audit branch: for a codebase, package, feature slice, or diff, read and follow references/AUDIT.md, applying the rules below to every candidate it finds.

Complete when: one branch is selected, its scope is bounded, and the caller-visible operations in scope are named.

3. Apply the service test

A real service owns at least one meaningful capability:

  • authority over persistence, credentials, external I/O, runtime resources, configuration, time, randomness, or lifecycle;
  • cohesive effect sequencing or policy reused across entrypoints;
  • state or behavior with real production and test/runtime variation;
  • enough implementation complexity that deleting the module would spread complexity into callers.

Prefer an existing Effect service such as Clock, Crypto, Random, Config, HttpClient, FileSystem, or Path before defining an application service.

Keep these as values or pure modules:

  • parsed domain inputs and per-call request data;
  • deterministic calculations, projections, parsers, and constructors;
  • options that select policy for one call;
  • framework values confined to their adapter;
  • wrappers that only rename or forward another service.

A test-only desire to inject a value is not enough. The seam must represent real ownership or variability in production.

Complete when: the deletion test and the existing-service/adapter audit both support either “service” or “value,” and the rejected alternative is stated plainly.

4. Place the authority seam

  • Domain modules stay pure.
  • Application services own operation policy and application-owned ports.
  • A port's tag and interface live beside the application operation that needs them.
  • A concrete adapter owns its technology-specific make and layer; it need not share a file with the application-owned port.
  • Composition roots select and provide concrete Layers. They do not become reusable policy modules.
  • Runtime bindings are yielded in the composition root or owning adapter, then hidden behind application/domain types.

Yield stable dependencies while building the Layer and close over them in service methods. Yield request-, fiber-, or operation-scoped context inside the method that uses it. Let requirements propagate until the module that truthfully chooses an implementation provides them.

Passing an external library's constructor options remains correct after the owning adapter has yielded the relevant runtime capability. React props, request values, domain inputs, and framework constructors are not Effect dependency injection.

Complete when: dependencies point inward, raw technology types stop at adapters, and no inner caller chooses a concrete implementation it does not own.

Show full SKILL.md (379 more words)Show less

5. Shape the Effect service module

Follow the project's established equivalent of this shape:

ts
export interface Interface {
  readonly operation: (input: Input) => Effect.Effect<Output, OperationError>
}

export class Service extends Context.Service<Service, Interface>()(
  "@app/Capability",
) {}

export const make: Effect.Effect<
  Service["Service"],
  never,
  Dependency.Service
> = Effect.gen(function* () {
  const dependency = yield* Dependency.Service

  const operation = Effect.fn("Capability.operation")(function* (input: Input) {
    return yield* dependency.operation(input)
  })

  return Service.of({ operation })
})

export const layerWithoutDependencies = Layer.effect(Service, make)

export const layer = layerWithoutDependencies.pipe(
  Layer.provide([Dependency.layer]),
)

export const layerTest = Layer.succeed(
  Service,
  Service.of({
    operation: (_input) => Effect.succeed(testOutput),
  }),
)

layerWithoutDependencies preserves the service's requirements for composition. layer is the ready production assembly and provides the concrete dependency Layers. layerTest illustrates a complete static substitute; export it only when that behavior is reusable and honest. Use layerMemory instead when an in-memory implementation faithfully preserves the observable contract.

Use Layer.succeed for an already-built value, Layer.sync for lazy synchronous construction, and Layer.effect for effectful acquisition. Preserve an established compatible naming convention when renaming would add churn without clarity.

Keep interfaces narrow and domain-shaped. Use named Effect.fn methods, typed expected errors, and yielded dependencies. Add options, methods, services, and combinators only when each hides enough complexity to earn its place.

Complete when: the tag, interface, make, dependency-preserving Layer, production layer, errors, methods, and test strategy have one clear owner, and every exported symbol is required by a caller.

6. Choose test Layers honestly

  • Use Layer.succeed for a complete static implementation.
  • Add layerTest plus a test-control service when reusable state, failure injection, or observation is part of a real seam.
  • Name a Layer layerMemory only when it faithfully implements the service's observable contract in memory.
  • Prefer a real local substitute when persistence, transactions, serialization, or protocol behavior matters.
  • Keep a tiny one-off fake in its test when promoting it would create production surface solely for that test.

Tests cross the same service interface as production callers. When a reusable control service exists, back its production tag and test-control tag with the same object. Partial objects with “unused” methods that die are focused test fixtures, not reusable in-memory adapters.

Complete when: each test implementation is complete for its advertised name, tests observe outcomes through the public interface, and no new seam exists only to support mocking.

7. Finish the selected branch

  • Design branch: record the service-or-value decision and its evidence. When implementation is requested, create or refactor the module, update composition roots and tests, and run the repository's required checks.
  • Audit branch: produce prioritized findings with file/line or symbol evidence, target module shapes, composition and test impact, and explicit “keep” decisions.

Complete when: the designed capability has an explicit disposition and validated implementation when requested, or every audit inventory row has a disposition; validation passes or every failure is reported.

© dmmulroy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in effect-service-design of dmmulroy/skills.

  • SKILL.md
  • agents/openai.yaml
  • references/AUDIT.md

Open the folder on GitHubat commit 8603380

Compare with similar skills

Effect Service Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Effect Service Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Effect Service Design this skilldmmulroy/skills429—~1.9kAutomated safety check: PassMIT
Design Systemaffaan-m/ECC276k—~698Automated safety check: PassMIT
Design Guidepaperclipai/paperclip99k1 repos~3.1kAutomated safety check: PassMIT
Design Audit Against Rams' Principlesthedotmack/claude-mem99k—~4.6kAutomated safety check: PassApache-2.0
Figma Design to Codewarpdotdev/warp65k4 repos~2.9kAutomated safety check: PassAGPL-3.0
Design Consultationgarrytan/gstack136k—~15kAutomated safety check: NotesMIT

Similar skills

  • Design System

    affaan-m/ECC

    Generate a design system from an existing codebase or audit one for visual consistency: extract tokens (colors, typography, spacing, shadows) into design-tokens.json and CSS custom properties with…

    276k GitHub stars~698 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Design Guide

    paperclipai/paperclip

    Paperclip UI design system guide for building consistent, reusable frontend components.

    99k GitHub starsUsed in 1 repo~3.1k tokens
    Frontend & DesignAuto-check passed
  • Audits a design against Dieter Rams' ten principles of good design, scores each with evidence, and hands off a make-plan prompt for a new, refined or redesigned outcome.

    99k GitHub stars~4.6k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Figma Design to Code

    warpdotdev/warp

    Turns a Figma frame or component into production code that matches the design, using the Figma MCP server and the project's own design system.

    65k GitHub starsUsed in 4 repos~2.9k tokens
    Frontend & DesignAuto-check passed
  • Design Consultation

    garrytan/gstack

    Learns about your product, studies the landscape and writes a DESIGN.md with a full design system covering type, color, layout, spacing and motion.

    136k GitHub stars~15k tokensUpdated today
    Frontend & DesignAuto-check: notes
  • Product Design Workflow Bundle

    XiaomiMiMo/MiMo-Code

    Entry point to a bundle of product design workflows covering context, research, audits, ideation, URL or image to code, design QA and sharing a prototype.

    14k GitHub stars~721 tokensUpdated today
    Frontend & DesignAuto-check passed

More from dmmulroy/skills

  • Composition roots for Hono and Cloudflare. An agent skill from dmmulroy/skills.

    429 GitHub stars~2.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Herdr

    dmmulroy/skills

    Control Herdr, a terminl multiplexer for coding agents. An agent skill from dmmulroy/skills.

    429 GitHub stars~2.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Coding Standards

    dmmulroy/skills

    Correct-by-construction TypeScript standards. An agent skill from dmmulroy/skills.

    429 GitHub stars~8.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Prelude

    dmmulroy/skills

    Prelude bootstrapping for TypeScript. An agent skill from dmmulroy/skills.

    429 GitHub stars~1.4k tokensUpdated 2 mo ago
    Auto-check passed
  • Tech Spec

    dmmulroy/skills

    Write a typed call-stack architecture handoff. An agent skill from dmmulroy/skills.

    429 GitHub stars~2.1k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Effect Service Design

What does Effect Service Design do?

Design Effect services. An agent skill from dmmulroy/skills. Effect Service Design is an agent skill from dmmulroy/skills. Design Effect services.

When should I use Effect Service Design?

Effect Service Design fits situations like: designing a new Effect service module; auditing an existing codebase for service; composition improvements.

How do I install Effect Service Design in Claude Code?

Run `npx skills add dmmulroy/skills --skill effect-service-design -a claude-code`. Or copy the skill folder (effect-service-design in dmmulroy/skills) into .claude/skills/effect-service-design in your project. Claude Code loads it when a task matches its description.

How do I install Effect Service Design in Codex?

Run `npx skills add dmmulroy/skills --skill effect-service-design -a codex`. Or copy the skill folder (effect-service-design in dmmulroy/skills) into .agents/skills/effect-service-design in your project. Codex loads it when a task matches its description.

Can I use Effect Service Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dmmulroy/skills --skill effect-service-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/effect-service-design, .gemini/skills/effect-service-design, .github/skills/effect-service-design and .opencode/skills/effect-service-design in your project.

What does Effect Service Design need to run?

SKILL.md names no scripts, command-line tools or credentials: Effect Service Design is instructions for the agent only.

Does Effect Service Design access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Effect Service Design safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Effect Service Design use?

Effect Service Design is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Effect Service Design use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.

What are the alternatives to Effect Service Design?

Skills that share tags, products or a category with Effect Service Design: Design System (affaan-m/ECC, 276k stars), Design Guide (paperclipai/paperclip, 99k stars), Design Audit Against Rams' Principles (thedotmack/claude-mem, 99k stars) and Figma Design to Code (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Effect Service Design?

dmmulroy (a GitHub user) maintains it in dmmulroy/skills, which has 429 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on July 23, 2026.

Source: dmmulroy/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.