Search articles

Type a keyword to start searching
Back to selected work
Case 022025—2026

Shared rules and skills for AI coding tools

AgentInfra

We maintain our AI coding rules, skills, and workflows in one repository, then generate the files each client needs. It saves copying and updating them by hand.

Output image pending
AI engineering / Developer infrastructure2025—2026
We want to edit a rule once and use it in each of our coding tools.
10 clients
client targets
7 profiles
install profiles
AgentInfra source files, generators, and client adapters
Architecture diagram, not an output image

01 / Context

The problem

Claude, Codex, Cursor, and Gemini use different directories and formats. After a few manual copies, it becomes hard to tell which version is current or whether an install will overwrite local edits.

What we built

A single set of source files now feeds each client. Manifests determine what gets generated, installs can be previewed, and change records support inspection and rollback.

02 / System

How the system works

  1. 01

    Source files

    Rules, skills, agents, commands, and hooks are maintained in the capabilities and workflows directories.

  2. 02

    Generate client files

    Manifests list the content, install profiles, and target clients. The generator writes files in the corresponding formats.

  3. 03

    Validation & delivery

    Checks cover formats, links, and generated files. The installer previews changes and records which files it wrote so later cleanup can identify them.

03 / Decisions

Design choices

01

Separate source from output

Edits go into the source files and regenerate targets, keeping client copies in sync.

02

Choose what to install

Profiles such as core, quality, and frontend let us install the tools we need for a task.

04 / Our work

Our role

Role:We designed and built the repository structure, generators, installation flow, and checks.

  • 01Designed source directories, content categories, and client adapters
  • 02Wrote manifests, generators, installers, and checks
  • 03Turned recurring engineering tasks into skills and checks
AI EngineeringSkillsManifestsAdaptersQuality Gates