agentleFS
KaratussKaratuss/bstack/skills/metrics/SKILL.md

metrics

Skill0 starsChanged 7 months agoMITView on GitHub

정량 예측/측정 체크리스트 — QPS, row 수, join fan-out, p99 목표. 설계·리뷰 pre-condition.

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use docgen, knowledge-graph and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • prsolansSkill

    docgen

    Generate professional contract/agreement PDFs (and .docx CLM templates) from a declarative YAML config using the yaml-doc-generator tool ("docgen"). Use this whenever the user wants to create, manufacture, or mock up agreement documents — an MSA, NDA, SaaS/subscription agreement, amendment, exhibit, SOW, renewal notice, loan/credit agreement, fund/investment doc, BAA/DPA, government contract, or a whole document FAMILY between named parties — especially demo/test documents to load into Docusign Navigator/CLM or to feed an agreement-lifecycle agent. Triggers include "generate an MSA/NDA/agreement", "make demo contracts", "create a document family for <party> and <party>", "use docgen", or "use the yaml-doc-generator". Produces real PDFs with parties, clauses, and a manifest of critical dates (renewal/expiration).

    Also in 3 projects that use this

  • ddehartSkill

    knowledge-graph

    Search, capture, and query the claude-code-plugins knowledge graph. Use when asked to "capture this", "add this to the graph", "what do we know about X", "update the graph", "check the graph for X", or when a decision, pattern, or non-obvious fact surfaces mid-session that's worth recording. Also: "log an observation", "what patterns do we have about skill triggering", "any decisions on the knowledge-commons plugin", "what do we know about the commit-creator agent".

    Also in 3 projects that use this

  • rajnavakotiSkill

    scan

    Run the AI dashboard scanner and generate the HTML report.

    Also in 3 projects that use this

  • MicrosoftSkill

    retrospective

    Review how work went and improve the next round. USE WHEN asked for a retro, delays, or process lessons. DO NOT USE for code review or transcript replay.

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 5 projects that use this

  • JaimeGBASkill

    ingest

    Digest an external source (article, paper, transcript, URL, book chapter) and integrate its content into the knowledge base

    Also in 3 projects that use this

The file

Files
SKILL.md

/metrics — 정량 지표 스킬

"감이 아니라 숫자로." 설계·리뷰 전 이 체크리스트가 비면 진행 금지.

When to use

  • 새 엔드포인트/기능 설계 전
  • /architect · /persistence · /perf 진입 시 pre-condition
  • 부하 예측, 쿼리 튜닝 우선순위 결정
  • SLO/SLA 수치 명시

How

필수 예측 6항목

항목질문단위
QPS현재 / 3개월 후 / 1년 후req/s
Row 수엔드포인트·쿼리별 반환 rowrows
Join fan-outN × M 예상 결과 크기rows
p99 latencyread / write 분리 목표ms
SLA가용성, 에러율 임계%, %
캐시 적중률목표치 + 측정 방법%

측정 방법 (실측 필요 시)

// Micrometer — 서비스 메서드 타이밍
@Timed("order.create")
public Order create(...) { ... }

// HikariCP wait + active
HikariDataSource ds = ...;
ds.getHikariPoolMXBean().getThreadsAwaitingConnection();

쿼리 row/fan-out

-- EXPLAIN ANALYZE 필수 (PostgreSQL)
EXPLAIN (ANALYZE, BUFFERS) SELECT ...;

-- MySQL
EXPLAIN FORMAT=JSON SELECT ...;

확인 포인트: rows 컬럼, nested loop 반복 횟수, index usage.

"모르겠다"의 처리

  • 모르면 결론이 "모름" 자체. 진행 전에 실측 또는 합리적 추정치 + 출처를 남긴다.
  • 추정은 근거와 함께: "기존 유사 엔드포인트 X의 p99가 120ms 이므로 150ms 목표".

Decision tree

설계 요청 수신
├── 6항목 전부 예측 있음 → /architect 로 진행
├── 일부 누락
│   ├── 실측 가능 → micrometer/EXPLAIN 으로 즉시 측정
│   └── 실측 불가 (신규 기능) → 근거 있는 추정치 기록
└── 전부 누락 → 설계 중단, 예측부터

References

  • docs/STYLE_GUIDE.md#정량-지표-요구
  • /perf — 측정 후 최적화
  • /persistence — 쿼리 row/fan-out 실측
  • /observability — Micrometer 설정

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.