AGENT SKILL

omnipitch-patterns

Team workflow conventions for this repo — commit format, the ADR-before-code rule, prompt/GREEN logging, monorepo layout, colocated tests, and the bus/engine/txline/chain isolation laws. Use when committing, opening an ADR, deciding where a file goes, or wiring cross-service code. Extracted from git history (last 200 commits, 46 ADRs).

License 许可
MIT
所属仓库
Sushant6095/ninety
最近更新
2026-07-20
Stars
★ 1
Forks
0

01 前言 Front Matter

name
omnipitch-patterns
description
Team workflow conventions for this repo — commit format, the ADR-before-code rule, prompt/GREEN logging, monorepo layout, colocated tests, and the bus/engine/txline/chain isolation laws. Use when committing, opening an ADR, deciding where a file goes, or wiring cross-service code. Extracted from git history (last 200 commits, 46 ADRs).

03 SKILL.md 正文

omnipitch-patterns — how this team ships

Auto-derived from git. Domain how-to lives in the sibling skills (ui-craft, anchor-settlement, momentum-river, txline-integration, proof-flow-viz). This skill owns the process.

Commit conventions

Format: type(scope): summary (ADR-NN, prompt N)

  • Types (by frequency): feat · fix · docs · chore · test · spike
  • Scopes: web · chain · txline · intel · api · bus · schema · ingest · auth · settlement · programs · adr
  • Almost every feat/fix names the ADR it implements, and often the prompt number: feat(chain): settle_market on-chain proof gate … (ADR-036, prompt 19).
  • Review-fix commits name the reviewer: fix(api): apply quote/portfolio review findings (quant + typescript reviewers).
  • Progress is logged as its own docs commit: docs: log PROMPT 24 GREEN (8d8c7f2). Status vocabulary: GREEN (done) · CUT (dropped for v1) · BLOCKED.

ADR-before-code (the core ritual)

docs/adr/ holds 46 sequential ADRs (ADR-NNN-kebab-title.md). New architectural, product, or design decision → write the ADR first, then code it, then reference its number in the commit. docs/adr/inbox.md is the staging area. Use the /adr command and the adr-scribe agent — chat is not memory.

Monorepo layout (pnpm + turbo)

apps/
  api            single writer of market state (engine + http + ws)
  web            Next.js frontend (see ui-craft skill)
  worker-cortex  pricing (see quant-reviewer)
  worker-ingest  TxLINE stream → normalize → bus
  worker-jobs    settlement saga, moments, booth, cards
packages/
  bus            ALL inter-service comms flow here (domain + sys planes)
  chain          ONLY caller that builds Solana txs
  txline         ONLY caller of TxLINE
  schema         typed event contracts (AnyEvent union, topics, envelope)
  config
programs/omnipitch_core   Anchor/Rust — on-chain proof verification

Organize by feature/domain, not file type. New file → put it in the app or package that owns that concern; if it crosses services, it goes through packages/bus.

Testing

Colocated *.test.ts next to source (apps/api/src/engine/amm.test.ts, packages/bus/src/redis.test.ts). Rust/Anchor tests run via anchor test. pnpm test for the TS suite. test-fixer agent for the red→green loop.

Architecture laws (violations are bugs — from CLAUDE.md, enforced by structure)

  • Inter-service communication flows through packages/bus only. Two named intra-service exceptions (storage, not comms): the engine journal and WS resume buffers.
  • apps/api/src/engine is the single writer of market state. It must not import from http/ or ws/. Journal-then-ack.
  • Only packages/txline calls TxLINE. Only packages/chain builds Solana txs.
  • The Anchor program verifies TxLINE proofs on-chain — there is NO admin result path. Do not add one.
  • Play-money invariant: no deposits, no cash payouts, ever.

Working memory

.claude/context/NOW.md is the highest-churn file in the repo (35 edits) — keep it current; it's the human-discipline handoff file. Session decisions end with /adr.

Agents & commands (delegate proactively)

Agents: engine-guardian · proof-auditor · design-cop · quant-reviewer · test-fixer · adr-scribe. Commands: /adr · /ship · /screen · /spike-proof · /replay · /trace · /feature · /design-review.

04 同仓库更多 Skills

Sushant6095
Sushant6095/ninety

ui-ux-pro-max

UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.

★ 1
Sushant6095
Sushant6095/ninety

ui-craft

The ROUTER for all apps/web frontend work. NOT a craft skill — a thin dispatcher. It reads the task and tells you which PROVEN published skill to invoke. Use before any apps/web change. It has no design opinions of its own; the proven skills carry the craft, CLAUDE.md carries the constraints, this router connects them.

★ 1
Sushant6095
Sushant6095/ninety

txline-integration

Use for any work touching TxLINE — adding endpoints, auth/token issues, stream handling, normalization, replay data, or filling packages/txline.

★ 1
Sushant6095
Sushant6095/ninety

threejs-textures

Three.js textures - texture types, UV mapping, environment maps, texture settings. Use when working with images, UV coordinates, cubemaps, HDR environments, or texture optimization.

★ 1
Sushant6095
Sushant6095/ninety

threejs-shaders

Three.js shaders - GLSL, ShaderMaterial, uniforms, custom effects. Use when creating custom visual effects, modifying vertices, writing fragment shaders, or extending built-in materials.

★ 1
Sushant6095
Sushant6095/ninety

threejs-postprocessing

Three.js post-processing - EffectComposer, bloom, DOF, screen effects. Use when adding visual effects, color grading, blur, glow, or creating custom screen-space shaders.

★ 1