Agent skill

Wrdn Effect Value Inferred Types

by UsefulSoftwareCo in UsefulSoftwareCo/executor

Replace duplicated object API types with types inferred from the runtime value or factory that owns the shape.

MITAuto-check: notes

Install Wrdn Effect Value Inferred Types

skills CLI
$ npx skills add UsefulSoftwareCo/executor --skill wrdn-effect-value-inferred-types -a claude-code

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

GitHub CLI
$ gh skill install UsefulSoftwareCo/executor wrdn-effect-value-inferred-types --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/UsefulSoftwareCo/executor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/wrdn-effect-value-inferred-types .claude/skills/wrdn-effect-value-inferred-types && 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
wrdn-effect-value-inferred-types
GitHub stars
4.1k
Token cost
~805 tokens
SKILL.md length
254 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

Replace duplicated object API types with types inferred from the runtime value or factory that owns the shape.

  • Works in 5 steps: Find the source value. Look for an… → Find the duplicate type. A nearby… → Check whether the value is the source of… → …
  • Review flags an interface/type alias that mirrors a returned object such as a plugin extension
  • SKILL.md covers Trace before changing, Fix shape, Bad and Good, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Wrdn Effect Value Inferred Types is an agent skill from UsefulSoftwareCo/executor. Replace duplicated object API types with types inferred from the runtime value or factory that owns the shape. Use when lint or review flags an interface/type alias that mirrors a returned object such as a plugin extension, client surface, route map, or handler table.

Its SKILL.md is about 810 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: The missing integration layer for AI agents. Let them call any OpenAPI / MCP / GraphQL / custom js functions in secure environment. The licence is MIT.

When your agent uses it

  • Review flags an interface/type alias that mirrors a returned object such as a plugin extension

Example prompts

  • “/wrdn-effect-value-inferred-types”

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Find the source value. Look for an object returned from a named factory, extension: (...) => ({ ... }), a client object, route map, or…
  2. Find the duplicate type. A nearby interface X or type X = { ... } repeats the object methods/properties.
  3. Check whether the value is the source of truth. If the interface is a contract with multiple implementations, keep the interface.
  4. Preserve the exported type name. Replace its definition with ReturnType and update callers only if needed.
  5. Use satisfies only at boundaries. Do not make the implementation satisfy a duplicate shape that could drift.

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Bash

    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

Wrdn Effect Value Inferred Types loads about 805 tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 254 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~805

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Grep, Glob, Bash

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 UsefulSoftwareCo/executor at commit 9ef04e9, republished under its MIT licence (© UsefulSoftwareCo). 254 words, ~805 tokens.

Download SKILL.mdSave it as .claude/skills/wrdn-effect-value-inferred-types/SKILL.md (or your agent's skills folder).
name
wrdn-effect-value-inferred-types
description
Replace duplicated object API types with types inferred from the runtime value or factory that owns the shape. Use when lint or review flags an interface/type alias that mirrors a returned object such as a plugin extension, client surface, route map, or handler table.
allowed-tools
Read, Grep, Glob, Bash

You fix one pattern: a TypeScript object type manually mirrors a runtime object that already owns the shape.

Prefer value-first APIs. Build the object in a named factory, then export type X = ReturnType<typeof makeX>. Consumers keep importing the stable type name, but the type cannot drift from the implementation.

Trace before changing

  1. Find the source value. Look for an object returned from a named factory, extension: (...) => ({ ... }), a client object, route map, or handler table.
  2. Find the duplicate type. A nearby interface X or type X = { ... } repeats the object methods/properties.
  3. Check whether the value is the source of truth. If the interface is a contract with multiple implementations, keep the interface.
  4. Preserve the exported type name. Replace its definition with ReturnType<typeof makeX> and update callers only if needed.
  5. Use satisfies only at boundaries. Do not make the implementation satisfy a duplicate shape that could drift.

Fix shape

ts
const makePluginExtension = (ctx: PluginCtx<Store>) => {
  const addSource = ...
  const removeSource = ...

  return {
    addSource,
    removeSource,
  };
};

export type PluginExtension = ReturnType<typeof makePluginExtension>;

For factories that need options:

ts
const makePluginExtension =
  (options: PluginOptions) =>
  (ctx: PluginCtx<Store>) => ({
    addSource: ...,
  });

export type PluginExtension = ReturnType<ReturnType<typeof makePluginExtension>>;

Bad

ts
export interface McpPluginExtension {
  readonly addSource: (config: McpSourceConfig) => Effect.Effect<AddResult, Failure>;
  readonly removeSource: (namespace: string, scope: string) => Effect.Effect<void, Failure>;
}

extension: (ctx) => {
  return {
    addSource,
    removeSource,
  } satisfies McpPluginExtension;
};

Good

ts
const makeMcpPluginExtension = (ctx: PluginCtx<McpStore>) => {
  return {
    addSource,
    removeSource,
  };
};

export type McpPluginExtension = ReturnType<typeof makeMcpPluginExtension>;

extension: makeMcpPluginExtension;

What not to report

  • Service/dependency interfaces with multiple implementations.
  • Public config input types that are intentionally a stable authored API.
  • Branded IDs, discriminated unions, or small aliases that do not mirror one object value.
  • Test fakes typed against an existing exported contract.
  • Schema-owned data shapes; use wrdn-effect-schema-inferred-types for those.

Output requirements

When reviewing, report:

  • File and line of the duplicate object type or satisfies usage.
  • Value/factory that owns the shape.
  • Why the manual type can drift.
  • Fix: the exact ReturnType alias to introduce.

When editing, name the factory after the exported type, e.g. makeMcpPluginExtension for McpPluginExtension.

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

Files

Just SKILL.md in .agents/skills/wrdn-effect-value-inferred-types of UsefulSoftwareCo/executor.

Open the folder on GitHubat commit 9ef04e9

Compare with similar skills

Wrdn Effect Value Inferred Types 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.

Wrdn Effect Value Inferred Types compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wrdn Effect Value Inferred Types this skillUsefulSoftwareCo/executor4.1k—~805Automated safety check: NotesMIT
Type Inferencebiomejs/biome26k—~2.6kAutomated safety check: PassApache-2.0
Rust Path Typesopeninterpreter/openinterpreter69k2 repos~605Automated safety check: PassApache-2.0
Python Type Safetywshobson/agents40k—~1.4kAutomated safety check: PassMIT
Ito Inferenceaffaan-m/ECC276k1 repos~1.5kAutomated safety check: PassMIT
Pyrefly Type Coveragepytorch/pytorch104k—~3kAutomated safety check: PassCustom licence

Similar skills

  • Type Inference

    biomejs/biome

    Official

    A skill your agent uses when working on Biome's Salsa-backed JavaScript and TypeScript inference, including type-aware lint rules, raw collection or inferred representations, analyzer requests…

    26k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Rust Path Types

    openinterpreter/openinterpreter

    Rules for choosing Rust types for filesystem paths in new Codex code, covering protocol types, internal use and model tool arguments.

    69k GitHub starsUsed in 2 repos~605 tokens
    DevelopmentAuto-check passed
  • Python Type Safety

    wshobson/agents

    Python type safety with type hints, generics, protocols, and strict type checking.

    40k GitHub stars~1.4k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Ito Inference

    affaan-m/ECC

    Inspect the availability of model serving on a completed Itô compute booking and, when the canonical backend becomes available, hand off an explicitly confirmed serving manifest.

    276k GitHub starsUsed in 1 repo~1.5k tokens
    AI & LLM EngineeringAuto-check passed
  • Pyrefly Type Coverage

    pytorch/pytorch

    Migrate a file to use stricter Pyrefly type checking with annotations required for all functions, classes, and attributes.

    104k GitHub stars~3k tokensUpdated today
    DevelopmentAuto-check passed
  • Teaches an agent to write fp-go v2 services with the Effect type, carrying dependencies in its type parameter instead of in context.Context or parameters.

    2k GitHub stars~4.3k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from UsefulSoftwareCo/executor

All 21 skills in this repo
  • Effect Client Wrapper

    UsefulSoftwareCo/executor

    Pattern for wrapping third-party SDK clients (Stripe, Resend, AWS, etc.) with Effect.

    4.1k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • CLI Release

    UsefulSoftwareCo/executor

    Runbook for releasing the executor CLI package (stable and beta).

    4.1k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Effect Atom Optimistic Updates

    UsefulSoftwareCo/executor

    Pattern for implementing optimistic UI updates with effect-atom in this codebase.

    4.1k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Effect HTTP Testing

    UsefulSoftwareCo/executor

    Testing Effect HttpApi services end-to-end. An agent skill from UsefulSoftwareCo/executor.

    4.1k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Emulate

    UsefulSoftwareCo/executor

    Use the @executor-js/emulate service emulators (GitHub, Google, Stripe, Resend, WorkOS, …) to test integrations for real — full OpenAPI specs, working OAuth flows, mintable credentials, and a…

    4.1k GitHub stars~2.2k tokensUpdated today
    Auto-check: notes
  • Prod Telemetry

    UsefulSoftwareCo/executor

    Query Executor's production telemetry — Axiom traces (executor-cloud dataset), prod Postgres via PlanetScale, PostHog product analytics — through the Executor MCP.

    4.1k GitHub stars~1.9k tokensUpdated today
    Auto-check passed

Questions about Wrdn Effect Value Inferred Types

What does Wrdn Effect Value Inferred Types do?

Replace duplicated object API types with types inferred from the runtime value or factory that owns the shape. Wrdn Effect Value Inferred Types is an agent skill from UsefulSoftwareCo/executor. Replace duplicated object API types with types inferred from the runtime value or factory that owns the shape.

When should I use Wrdn Effect Value Inferred Types?

Wrdn Effect Value Inferred Types fits situations like: review flags an interface/type alias that mirrors a returned object such as a plugin extension.

How do I install Wrdn Effect Value Inferred Types in Claude Code?

Run `npx skills add UsefulSoftwareCo/executor --skill wrdn-effect-value-inferred-types -a claude-code`. Or copy the skill folder (.agents/skills/wrdn-effect-value-inferred-types in UsefulSoftwareCo/executor) into .claude/skills/wrdn-effect-value-inferred-types in your project. Claude Code loads it when a task matches its description.

How do I install Wrdn Effect Value Inferred Types in Codex?

Run `npx skills add UsefulSoftwareCo/executor --skill wrdn-effect-value-inferred-types -a codex`. Or copy the skill folder (.agents/skills/wrdn-effect-value-inferred-types in UsefulSoftwareCo/executor) into .agents/skills/wrdn-effect-value-inferred-types in your project. Codex loads it when a task matches its description.

Can I use Wrdn Effect Value Inferred Types 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 UsefulSoftwareCo/executor --skill wrdn-effect-value-inferred-types -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wrdn-effect-value-inferred-types, .gemini/skills/wrdn-effect-value-inferred-types, .github/skills/wrdn-effect-value-inferred-types and .opencode/skills/wrdn-effect-value-inferred-types in your project.

What does Wrdn Effect Value Inferred Types need to run?

SKILL.md names no scripts, command-line tools or credentials: Wrdn Effect Value Inferred Types is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash.

Does Wrdn Effect Value Inferred Types 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 Wrdn Effect Value Inferred Types safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Wrdn Effect Value Inferred Types use?

Wrdn Effect Value Inferred Types 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 Wrdn Effect Value Inferred Types use?

About 805 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Wrdn Effect Value Inferred Types?

Skills that share tags, products or a category with Wrdn Effect Value Inferred Types: Type Inference (biomejs/biome, 26k stars), Rust Path Types (openinterpreter/openinterpreter, 69k stars), Python Type Safety (wshobson/agents, 40k stars) and Ito Inference (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wrdn Effect Value Inferred Types?

UsefulSoftwareCo (a GitHub organization) maintains it in UsefulSoftwareCo/executor, which has 4,111 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 9, 2026.

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