Agent skill

New Use Case

by mirumee in mirumee/nimara-ecommerce

Add an infrastructure use-case wired through a provider and app service using Result.

BSD-3-ClauseAuto-check passedBackend & APIs

Install New Use Case

skills CLI
$ npx skills add mirumee/nimara-ecommerce --skill new-use-case -a claude-code

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

GitHub CLI
$ gh skill install mirumee/nimara-ecommerce new-use-case --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/mirumee/nimara-ecommerce.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/new-use-case .claude/skills/new-use-case && 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
new-use-case
GitHub stars
129
Token cost
~362 tokens
SKILL.md length
131 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Add an infrastructure use-case wired through a provider and app service using Result.

  • Works in 6 steps: Types — define shared request, response,… → Implementation — add the use-case under → Expose — surface the operation through… → …
  • Implementing a new external-operation
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Integration use-case

What it does

New Use Case is an agent skill from mirumee/nimara-ecommerce. Add an infrastructure use-case wired through a provider and app service using Result. Use when implementing a new external-operation or integration use-case.

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

It sits in Backend & APIs. It works with GraphQL and shadcn/ui. The repository describes itself as: Headless, composable ecommerce storefront built with Next.js, Typescript, and shadcn/ui. The licence is BSD-3-Clause.

When your agent uses it

  • Implementing a new external-operation
  • Integration use-case

Example prompts

  • “/new-use-case”

Workflow steps

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

  1. Types — define shared request, response, and entity types in packages/domain, or
  2. Implementation — add the use-case under
  3. Expose — surface the operation through the relevant provider-neutral contract and
  4. Consume — wire it through the app service registry and lazy loader. Apps must not
  5. Generate — invoke /codegen-check after changing GraphQL documents.
  6. Test — cover both success and expected-failure Result paths.

What it can do on your machine

Read from SKILL.md and the folder at commit c2ad30b. 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.

    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

New Use Case loads about 362 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 131 words of instructions outside code blocks.

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

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 mirumee/nimara-ecommerce at commit c2ad30b, republished under its BSD-3-Clause licence (© mirumee). 131 words, ~362 tokens.

Download SKILL.mdSave it as .claude/skills/new-use-case/SKILL.md (or your agent's skills folder).
name
new-use-case
description
Add an infrastructure use-case wired through a provider and app service using Result. Use when implementing a new external-operation or integration use-case.
argument-hint
<use-case name and behavior>

Add an infrastructure use-case

Create this use-case: $ARGUMENTS

Read packages/infrastructure/CLAUDE.md and .claude/skills/project-guidelines/SKILL.md. Mirror the closest existing pattern under packages/infrastructure/src/use-cases/<domain>/.

  1. Types — define shared request, response, and entity types in packages/domain, or keep use-case-specific types beside the infrastructure contract.
  2. Implementation — add the use-case under packages/infrastructure/src/use-cases/<domain>/. Place provider implementation and GraphQL documents under the matching provider directory. Return Result<T, E> or AsyncResult<T, E> from @nimara/domain/objects/Result.
  3. Expose — surface the operation through the relevant provider-neutral contract and provider implementation.
  4. Consume — wire it through the app service registry and lazy loader. Apps must not import @nimara/codegen directly.
  5. Generate — invoke /codegen-check after changing GraphQL documents.
  6. Test — cover both success and expected-failure Result paths.

Report the files created, the provider contract, and the service entry point the app calls. Do not invoke /pre-ship.

© mirumee, BSD-3-Clause. 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 .claude/skills/new-use-case of mirumee/nimara-ecommerce.

Open the folder on GitHubat commit c2ad30b

Compare with similar skills

New Use Case 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.

New Use Case compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
New Use Case this skillmirumee/nimara-ecommerce129—~362Automated safety check: PassBSD-3-Clause
Nodejs Backend Patternsever-works/ever-works16218 repos~4kAutomated safety check: PassAGPL-3.0
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT
API DesignerJeffallan/claude-skills12k1 repos~2kAutomated safety check: PassMIT
GraphQL Operations with CodegenChrisWiles/claude-code-showcase6.1k3 repos~1.5kAutomated safety check: PassNone
Nestjs Trpctrycompai/crm11k—~2.8kAutomated safety check: PassMIT

Similar skills

  • Nodejs Backend Patterns

    ever-works/ever-works

    Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices.

    162 GitHub starsUsed in 18 repos~4k tokens
    Backend & APIsAuto-check passed
  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • API Designer

    Jeffallan/claude-skills

    Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.

    12k GitHub starsUsed in 1 repo~2k tokens
    Backend & APIsAuto-check passed
  • GraphQL Operations with Codegen

    ChrisWiles/claude-code-showcase

    Sets the rules for writing GraphQL queries and mutations in .gql files, running codegen, and using generated Apollo hooks with proper error and loading handling.

    6.1k GitHub starsUsed in 3 repos~1.5k tokens
    Backend & APIsAuto-check passed
  • Nestjs Trpc

    trycompai/crm

    Build end-to-end type-safe tRPC APIs inside NestJS using the nestjs-trpc adapter — @Router/@Query/@Mutation/@Subscription decorators, TRPCModule.forRoot, injectable middlewares and context, Zod…

    11k GitHub stars~2.8k tokensUpdated 28 days ago
    Backend & APIsAuto-check passed
  • API Design Principles

    jh941213/my-cc-harness

    REST 및 GraphQL API 설계 원칙 가이드. An agent skill from jh941213/my-cc-harness.

    126 GitHub starsUsed in 18 repos~3.4k tokens
    Backend & APIsAuto-check passed

More from mirumee/nimara-ecommerce

All 12 skills in this repo
  • Project Guidelines

    mirumee/nimara-ecommerce

    Guide for working with Nimara's layered monorepo architecture.

    129 GitHub stars~4.8k tokensUpdated today
    Auto-check passed
  • Prd Modeling

    mirumee/nimara-ecommerce

    A skill your agent uses when creating, rewriting, refining, or stress-testing a Product Requirements Document (PRD), including turning an initiative or feature brief into product requirements.

    129 GitHub stars~824 tokensUpdated today
    Auto-check passed
  • Rfc Modeling

    mirumee/nimara-ecommerce

    A skill your agent uses when designing, drafting, refining, or stress-testing an RFC for an approved PRD, including requests for a design doc, solution design, or how to build it.

    129 GitHub stars~920 tokensUpdated today
    Auto-check passed
  • Ucp Agent

    mirumee/nimara-ecommerce

    Operate Nimara's UCP REST commerce API. An agent skill from mirumee/nimara-ecommerce.

    129 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Show Me

    mirumee/nimara-ecommerce

    Help the user understand the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts.

    129 GitHub starsUsed in 7 repos~809 tokens
    Auto-check passed
  • Bug Retest Triage

    mirumee/nimara-ecommerce

    Retest a reported defect on the live Nimara board (Jira project MS, board 74) and give it an evidence-backed verdict — still reproduces → Open, fixed → Done, blocked → leave In testing and ask.

    129 GitHub stars~888 tokensUpdated today
    Auto-check passed

Categories

Questions about New Use Case

What does New Use Case do?

Add an infrastructure use-case wired through a provider and app service using Result. New Use Case is an agent skill from mirumee/nimara-ecommerce. Add an infrastructure use-case wired through a provider and app service using Result.

When should I use New Use Case?

New Use Case fits situations like: implementing a new external-operation; integration use-case.

How do I install New Use Case in Claude Code?

Run `npx skills add mirumee/nimara-ecommerce --skill new-use-case -a claude-code`. Or copy the skill folder (.claude/skills/new-use-case in mirumee/nimara-ecommerce) into .claude/skills/new-use-case in your project. Claude Code loads it when a task matches its description.

How do I install New Use Case in Codex?

Run `npx skills add mirumee/nimara-ecommerce --skill new-use-case -a codex`. Or copy the skill folder (.claude/skills/new-use-case in mirumee/nimara-ecommerce) into .agents/skills/new-use-case in your project. Codex loads it when a task matches its description.

Can I use New Use Case 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 mirumee/nimara-ecommerce --skill new-use-case -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/new-use-case, .gemini/skills/new-use-case, .github/skills/new-use-case and .opencode/skills/new-use-case in your project.

What does New Use Case need to run?

SKILL.md names no scripts, command-line tools or credentials: New Use Case is instructions for the agent only.

Does New Use Case 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 New Use Case 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 New Use Case use?

New Use Case is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does New Use Case use?

About 362 tokens (SKILL.md is roughly 1.4k 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 New Use Case?

Skills that share tags, products or a category with New Use Case: Nodejs Backend Patterns (ever-works/ever-works, 162 stars), Use Yaak (mountain-loop/yaak, 19k stars), API Designer (Jeffallan/claude-skills, 12k stars) and GraphQL Operations with Codegen (ChrisWiles/claude-code-showcase, 6.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains New Use Case?

mirumee (a GitHub organization) maintains it in mirumee/nimara-ecommerce, which has 129 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 8, 2026.

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