agentleFS
MicrosoftKnown publishermicrosoft/amplifier-bundle-skills/skills/engineering-patterns/SKILL.md

engineering-patterns

Skill12 starsChanged 3 months agoMITView on GitHub

Use for tool/service work: CLI packaging, installers, config/state, HTTP, auth/TLS, file IPC, plugins, instance storage, containers, React MFE, Graph, self-update, tool leverage.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read a second reference only if the work genuinely spans two topics.

    line 34

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Engineering Patterns

Thirteen hard-won pattern guides for building tools and services, behind one catalog entry. Each guide is a reference file — read only the one that matches the problem in front of you, not the whole set.

Pick the reference

If you are...Read
Packaging a CLI — one-line install via uv/npm, subcommand dispatch, 3-tier config resolutionreferences/cli-packaging-patterns.md
Writing a curl-piped installer for a stack that can't use uv tool install/npm publishreferences/one-line-installer-patterns.md
Persisting config and state — defaults merging, atomic crash-safe writes, XDG locationsreferences/config-state-patterns.md
Building an HTTP service — FastAPI lifecycle, background poll loops, SPA + API proxy, WebSocket relay, SSEreferences/http-service-patterns.md
Adding auth or TLS — localhost bypass, token auth with auto-generation, automatic certificatesreferences/auth-tls-patterns.md
Making processes talk through the filesystem — JSONL event logs, atomic snapshots, async request/response, SSE from file tailingreferences/file-ipc-patterns.md
Making a system extensible — Python entry points, file-based plugin registry, multi-backend providers, schema validationreferences/plugin-discovery-patterns.md
Managing many concurrent instances/sessions — isolated storage dirs, per-instance locking, prepare-once/create-many factoriesreferences/instance-storage-patterns.md
Running work in Docker — safety limits, watchdog resource enforcement, orphan recovery, sidecars, reproducible dev stacksreferences/container-orchestration-patterns.md
Building a React frontend that loads independent bundles sharing one React instance — import maps, frecency autocomplete, dynamic forms, Zustandreferences/react-microfrontend-patterns.md
Integrating Microsoft Graph / Teams / MSAL.js — probe methodology, OData quirks, consent sequencing, CSP, retry/pagination, auth-redirect loopsreferences/msgraph-integration-patterns.md
Making a CLI manage itself — doctor diagnostics, self-update, systemd/launchd service install, post-upgrade verificationreferences/self-managing-tool-patterns.md
Deciding how to expose an Amplifier workflow — .dot attractor pipeline, Python lib, tool module, or CLIreferences/amplifier-tool-leverage-patterns.md

How to use this

  1. Match the problem to a row above.
  2. read_file(skill_directory + "/references/<file>.md") for that one row.
  3. Read a second reference only if the work genuinely spans two topics.

Each reference is the original standalone skill, moved here unchanged — its frontmatter is retained at the top of the file as provenance. Nothing was rewritten or dropped in the fold.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.