Agent skill

Microservice Patterns

by revfactory in revfactory/claude-code-harness

Event-driven microservice architecture patterns guide. An agent skill from revfactory/claude-code-harness.

No licenceAuto-check passedBackend & APIs

Install Microservice Patterns

skills CLI
$ npx skills add revfactory/claude-code-harness --skill microservice-patterns -a claude-code

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

GitHub CLI
$ gh skill install revfactory/claude-code-harness microservice-patterns --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/revfactory/claude-code-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/experiments/results/case-008/harness/.claude/skills/microservice-patterns .claude/skills/microservice-patterns && 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
microservice-patterns
GitHub stars
120
Token cost
~502 tokens
SKILL.md length
104 words
Files
3 (incl. references)
Skills in repo
15
Repo updated
First seen
Licence
None found

At a glance

Event-driven microservice architecture patterns guide. An agent skill from revfactory/claude-code-harness.

  • Works in 5 steps: 정상 플로우: 주문→재고예약→결제→확정, 모든 서비스 상태 검증 → 재고 부족: 주문→재고실패→취소, 주문 상태 CANCELLED → 결제 실패: 주문→재고예약→결제실패→재고해제→취소, 재고 원복 확인 → …
  • The user requests implementing microservices
  • SKILL.md covers 서비스 아키텍처, SAGA 플로우, 이벤트 네이밍 규칙 and 파일 구조, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Microservice Patterns is an agent skill from revfactory/claude-code-harness. Event-driven microservice architecture patterns guide. Use when the user requests implementing microservices, event bus, SAGA pattern, orchestration, compensating transactions, or distributed system coordination.

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/event-bus.md` and `references/saga-pattern.md`).

It sits in Backend & APIs, covering Microservices and Event-driven systems.

When your agent uses it

  • The user requests implementing microservices
  • Compensating transactions
  • Distributed system coordination

Example prompts

  • “/microservice-patterns”

Workflow steps

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

  1. 정상 플로우: 주문→재고예약→결제→확정, 모든 서비스 상태 검증
  2. 재고 부족: 주문→재고실패→취소, 주문 상태 CANCELLED
  3. 결제 실패: 주문→재고예약→결제실패→재고해제→취소, 재고 원복 확인
  4. 동시 주문: 2개 주문이 동시에 같은 상품 주문, 하나만 성공
  5. 타임아웃: SAGA 단계가 시간 초과 시 보상 트랜잭션

What it can do on your machine

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

Microservice Patterns loads about 502 tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 59 tokens; SKILL.md has 104 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 104 words (~502 tokens).

“이벤트 드리븐 마이크로서비스 아키텍처 패턴 가이드”

— opening of SKILL.md by revfactory
name
microservice-patterns

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in experiments/results/case-008/harness/.claude/skills/microservice-patterns of revfactory/claude-code-harness.

  • SKILL.md
  • references/event-bus.md
  • references/saga-pattern.md

Open the folder on GitHubat commit 267005c

Compare with similar skills

Microservice Patterns 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.

Microservice Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Microservice Patterns this skillrevfactory/claude-code-harness120—~502Automated safety check: PassNone
AWS Serverless Edazxkane/aws-skills3674 repos~3.2kAutomated safety check: PassMIT
NestJS Modular Monolith Architecttech-leads-club/agent-skills7k—~3.9kAutomated safety check: PassCC-BY-4.0
Abp Microserviceabpframework/abp14k—~1.7kAutomated safety check: PassLGPL-3.0
Microservices ArchitectJeffallan/claude-skills12k—~1.8kAutomated safety check: PassMIT
Architecture Selectionrsmdt/the-startup551—~1.2kAutomated safety check: PassMIT

Similar skills

  • AWS Serverless Eda

    zxkane/aws-skills

    AWS serverless and event-driven architecture expert based on Well-Architected Framework.

    367 GitHub starsUsed in 4 repos~3.2k tokens
    Backend & APIsAuto-check passed
  • NestJS Modular Monolith Architect

    tech-leads-club/agent-skills

    Designs scalable NestJS modular monoliths with domain-driven design, Clean Architecture layers and optional CQRS, defining bounded contexts and strict module boundaries.

    7k GitHub stars~3.9k tokensUpdated 18 days ago
    Backend & APIsAuto-check passed
  • Abp Microservice

    abpframework/abp

    ABP Microservice solution template - service structure, Integration Services ([IntegrationService]), inter-service HTTP proxies, distributed events with Outbox/Inbox, Entity Cache…

    14k GitHub stars~1.7k tokensUpdated today
    Backend & APIsAuto-check passed
  • Microservices Architect

    Jeffallan/claude-skills

    Designs distributed systems: bounded-context service boundaries, sync and async communication, data ownership, resilience, tracing and rollout strategy.

    12k GitHub stars~1.8k tokensUpdated 4 days ago
    Backend & APIsAuto-check passed
  • Architecture Selection

    rsmdt/the-startup

    System architecture patterns including monolith, microservices, event-driven, and serverless, with C4 modeling, scalability strategies, and technology selection criteria.

    551 GitHub stars~1.2k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed
  • Saga Orchestration

    wshobson/agents

    Implement saga patterns for distributed transactions and cross-aggregate workflows.

    40k GitHub stars~1.5k tokensUpdated 3 days ago
    Backend & APIsAuto-check passed

More from revfactory/claude-code-harness

All 15 skills in this repo
  • Query Engine Design

    revfactory/claude-code-harness

    SQL query engine design and implementation guide. An agent skill from revfactory/claude-code-harness.

    120 GitHub stars~474 tokensUpdated 7 mo ago
    Auto-check passed
  • API Documentation

    revfactory/claude-code-harness

    Write accurate and complete library API documentation. An agent skill from revfactory/claude-code-harness.

    120 GitHub stars~263 tokensUpdated 7 mo ago
    Auto-check passed
  • Crdt Algorithms

    revfactory/claude-code-harness

    CRDT-based real-time collaborative text editor implementation guide.

    120 GitHub stars~375 tokensUpdated 7 mo ago
    Auto-check passed
  • Express API Design

    revfactory/claude-code-harness

    Express.js REST API design and implementation guide. An agent skill from revfactory/claude-code-harness.

    120 GitHub stars~276 tokensUpdated 7 mo ago
    Auto-check passed
  • Interpreter Design

    revfactory/claude-code-harness

    Programming language interpreter design and implementation guide.

    120 GitHub stars~387 tokensUpdated 7 mo ago
    Auto-check passed
  • Static Site Generator

    revfactory/claude-code-harness

    Build a markdown-based static site generator with zero dependencies.

    120 GitHub stars~291 tokensUpdated 7 mo ago
    Auto-check passed

Categories

Questions about Microservice Patterns

What does Microservice Patterns do?

Event-driven microservice architecture patterns guide. An agent skill from revfactory/claude-code-harness. Microservice Patterns is an agent skill from revfactory/claude-code-harness. Event-driven microservice architecture patterns guide.

When should I use Microservice Patterns?

Microservice Patterns fits situations like: the user requests implementing microservices; compensating transactions; distributed system coordination.

How do I install Microservice Patterns in Claude Code?

Run `npx skills add revfactory/claude-code-harness --skill microservice-patterns -a claude-code`. Or copy the skill folder (experiments/results/case-008/harness/.claude/skills/microservice-patterns in revfactory/claude-code-harness) into .claude/skills/microservice-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Microservice Patterns in Codex?

Run `npx skills add revfactory/claude-code-harness --skill microservice-patterns -a codex`. Or copy the skill folder (experiments/results/case-008/harness/.claude/skills/microservice-patterns in revfactory/claude-code-harness) into .agents/skills/microservice-patterns in your project. Codex loads it when a task matches its description.

Can I use Microservice Patterns 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 revfactory/claude-code-harness --skill microservice-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/microservice-patterns, .gemini/skills/microservice-patterns, .github/skills/microservice-patterns and .opencode/skills/microservice-patterns in your project.

What does Microservice Patterns need to run?

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

Does Microservice Patterns 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 Microservice Patterns 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 Microservice Patterns use?

No licence was found for Microservice Patterns or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Microservice Patterns use?

About 502 tokens (SKILL.md is roughly 2k 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 890 tokens, read only when the agent opens those files.

What are the alternatives to Microservice Patterns?

Skills that share tags, products or a category with Microservice Patterns: AWS Serverless Eda (zxkane/aws-skills, 367 stars), NestJS Modular Monolith Architect (tech-leads-club/agent-skills, 7k stars), Abp Microservice (abpframework/abp, 14k stars) and Microservices Architect (Jeffallan/claude-skills, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Microservice Patterns?

revfactory (a GitHub user) maintains it in revfactory/claude-code-harness, which has 120 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on March 6, 2026.

Source: revfactory/claude-code-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.