CLAUDE.md@packages/apiA

CLAUDE.md@packages/api from constructorfabric/gears-frontx is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add constructorfabric/gears-frontx/packages/api/CLAUDE.md@git:20260914.cf2bb84

Pins git:20260914.cf2bb84 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
CLAUDE.md file
Repository
constructorfabric/gears-frontx
Path
packages/api/CLAUDE.md
Versions recorded
5
Latest version
git:20260914.cf2bb84, committed Sep 14, 2026
First version recorded
Mar 28, 2026
Size
12,564 bytes
Repository stars
30
License
Apache-2.0

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# @gears-frontx/api

API communication protocols and service registry for FrontX applications.

## Core Framework Layer

This package is part of the **Core Framework layer** (`architecture/DESIGN.md` §1.3), alongside `@gears-frontx/mfes` and `@gears-frontx/gts-plugin`. It ships zero `@gears-frontx/*` runtime dependencies and can be used independently — only shared build-time config (`@gears-frontx/eslint-config`, `@gears-frontx/depcruise-config`) appears under devDependencies, and nothing under `src/` may import them. It has `axios` as a peer dependency.

Enforced by `npm run arch:edges` (manifest edges) and `npm run arch:deps:core` (import graph).

## Core Concepts

### BaseApiService

Abstract base class for domain-specific API services:

```typescript
import { BaseApiService, RestEndpointProtocol, RestProtocol } from '@gears-frontx/api';

class AccountsApiService extends BaseApiService {
  constructor() {
    const rest = new RestProtocol();
    super(
      { baseURL: '/api/accounts' },
      rest,
      new RestEndpointProtocol(rest)
    );
  }

  async getCurrentUser(): Promise<User> {
    return this.protocol(RestProtocol).get('/user/current');
  }
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add constructorfabric/gears-frontx/packages/api/CLAUDE.md@sha256:59d8bdf583aef454

The line at the top of this page pins the label git:20260914.cf2bb84, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_txfo4gqbttzfe3gb.svg)](https://markdownregistry.com/a/art_txfo4gqbttzfe3gb)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Mar 28, 2026 and Sep 14, 2026, about one every 43 days.

versioncommittedcommitsizeaudit
git:20260914.cf2bb84 latest2026-09-14 cf2bb84 12,564 BA view · diff
git:20260804.65ebb012026-08-04 65ebb01 12,727 BA view · diff
git:20260616.363929e2026-06-16 363929e 12,170 BA view · diff
git:20260415.62985512026-04-15 6298551 12,154 BA view · diff
git:20260328.16667d92026-03-28 16667d9 8,638 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (12564 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

constructorfabric/gears-frontx · 30 stars · license Apache-2.0 · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_txfo4gqbttzfe3gb
GET https://markdownregistry.com/api/v1/resolve?ref=constructorfabric/gears-frontx/packages/api/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/59d8bdf583aef4548cf3e06c18c4ee512ba50fbca14d94cdcdbdebbbf627edfc

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.

More from constructorfabric/gears-frontx

AGENTS.md@.cf-studio/config AGENTS.md file
constructorfabric/gears-frontx · .cf-studio/config/AGENTS.md
git:20261012.dbc0bcf · audit A · 30 stars
config SKILL.md skill
constructorfabric/gears-frontx · .cf-studio/config/SKILL.md
git:20260724.f63c5ec · audit C · 30 stars
cf-sdlc-change-impact-analysis SKILL.md skill
constructorfabric/gears-frontx · .claude/skills/cf-sdlc-change-impact-analysis/SKILL.md · Invoke when the user intent is analyzing the impact of an upstream artifact change…
git:20261019.3263a3e · audit A · 30 stars
cf-sdlc-decompose SKILL.md skill
constructorfabric/gears-frontx · .claude/skills/cf-sdlc-decompose/SKILL.md · Invoke when the user asks to decompose, break down, or author/revise a DECOMPOSITION — e.g. "decompose", "break into…
git:20261019.3263a3e · audit A · 30 stars
cf-sdlc-doc-adr SKILL.md skill
constructorfabric/gears-frontx · .claude/skills/cf-sdlc-doc-adr/SKILL.md · Invoke when the user asks to author, write, revise, generate, or record an ADR or architecture decision — e.g…
git:20261019.3263a3e · audit A · 30 stars
cf-sdlc-doc-design SKILL.md skill
constructorfabric/gears-frontx · .claude/skills/cf-sdlc-doc-design/SKILL.md · Invoke when the user asks to author, write, revise, generate, or produce a DESIGN or system/technical design — e.g…
git:20261019.3263a3e · audit A · 30 stars
cf-sdlc-doc-feature SKILL.md skill
constructorfabric/gears-frontx · .claude/skills/cf-sdlc-doc-feature/SKILL.md · Invoke when the user asks to author, write, revise, generate, or spec a FEATURE — e.g. "generate FEATURE", "spec the…
git:20261019.3263a3e · audit A · 30 stars
cf-sdlc-doc-prd SKILL.md skill
constructorfabric/gears-frontx · .claude/skills/cf-sdlc-doc-prd/SKILL.md · Invoke when the user asks to author, write, revise, or generate a PRD — e.g. "generate PRD", "write the PRD", "create…
git:20261019.3263a3e · audit A · 30 stars
cf-sdlc-implement SKILL.md skill
constructorfabric/gears-frontx · .claude/skills/cf-sdlc-implement/SKILL.md · Invoke when the user asks to implement, build, or write the code for a FEATURE — e.g. "implement", "write the code"…
git:20261019.3263a3e · audit A · 30 stars
cf-sdlc-reverse-engineer SKILL.md skill
constructorfabric/gears-frontx · .claude/skills/cf-sdlc-reverse-engineer/SKILL.md · Invoke when the user intent is reconstructing SDLC artifacts (PRD/ADR/DESIGN/DECOMPOSITION/FEATURE) from existing code…
git:20261019.3263a3e · audit A · 30 stars
team-lead SKILL.md skill
constructorfabric/gears-frontx · .claude/skills/team-lead/SKILL.md · Use this skill whenever delegating work to subagents — whether a single Task call or a full team via TeamCreate. Guides…
git:20260810.4dc1101 · audit A · 30 stars
frontx Cursor rule
constructorfabric/gears-frontx · .cursor/rules/frontx.mdc · FrontX development guidelines
git:20260730.e46ecc2 · audit A · 30 stars

Every file in constructorfabric/gears-frontx

Browse by kind, by grade A, or by owner.