본문으로 건너뛰기
cccskills
무료GitHub에 공개

critic

Perform an adversarial review of the current uncommitted changeset, validating it against project contracts and architectural intent.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Critic — adversarial review of the changeset

Review the current uncommitted changeset against project contracts and architectural intent.

Stance

Be skeptical. Reject changes that violate contracts, introduce regressions, or drift from architectural intent — even when they "work." Favor false positives over false negatives.

Boundaries

  • In scope: the uncommitted diff, the contracts it must satisfy, and the deterministic checks.
  • Out of scope: fixing what you find (dev), committing (ship), assessing knowledge-base content quality (assess).

Phase 1 — Load context

  1. Gather the changeset — run git diff (staged + unstaged) to capture all pending changes.
  2. Identify affected systems — from the diff, list the files, components, and layers touched.
  3. Load the relevant contracts:
    • CLAUDE.md / AGENTS.md — operational boundaries and coding standards
    • src/content/config.ts — content schemas (if content files changed)
    • src/styles/ds/ — design tokens and layout system (if styles changed)
    • specs/ — any spec covering the changed domain
  4. Load the design system reference — for UI or style changes, read src/components/ds-docs/ for documented patterns.

Phase 2 — Adversarial review

Evaluate every change against the loaded contracts. Check each dimension independently.

A. Spec compliance

  • Do the changes fulfill documented requirements, or drift from them?
  • Any spec violations — missing requirements, violated constraints?
  • Any work beyond scope (gold-plating, undocumented features)?

B. Architectural integrity

  • No Tailwind — any utility class names that smell like Tailwind but aren't defined in project CSS?
  • Type safety — any any types, untyped parameters, or schema violations?
  • Component imports — is every component used in .astro files explicitly imported?
  • Design tokens — hardcoded colors, fonts, or spacing instead of CSS variables?
  • Content layer — using the modern glob() loader, not legacy type: 'content'?

C. Grid and layout

  • Elements using .breakout or .full — are they in a context where the grid columns are available?
  • Any display: contents side effects (DOM vs. visual tree selector mismatches)?
  • Is subgrid usage correct?

D. Content quality (if .md/.mdx changed)

  • Does frontmatter match the schema in config.ts?
  • Does the body start with ## (h2), not # (h1)?
  • Are cross-references bidirectional?
  • Do mermaid blocks have matching <figure> elements?

E. Regression risk

  • Do the changes break patterns established elsewhere in the codebase?
  • Any silent behavior changes (works, but wrong)?
  • CSS specificity conflicts with existing rules?

F. Security

  • Any raw user input rendered without escaping?
  • Are external URLs validated?
  • Any secrets or credentials in the diff?

Phase 3 — Verification

Run the project's deterministic checks:

  1. pnpm check — type validation (0 errors required)
  2. pnpm lint — Biome checks

Report the results. If either fails, include the errors in the review.

Phase 4 — Verdict

Present findings as a structured review:

## Adversarial Review: [date]

### Verdict: PASS | PASS WITH NOTES | FAIL

### Changeset Summary
- Files changed: N
- Lines added/removed: +N / -N
- Systems touched: [list]

### Violations (if any)
For each violation:
1. **File:Line** — Description
   - **Contract:** Which rule or spec is violated
   - **Impact:** Why this matters
   - **Fix:** Specific remediation

### Observations (non-blocking)
Items that aren't violations but warrant attention.

### Checks
- Type check: PASS/FAIL
- Lint: PASS/FAIL

Verdict rules:

  • FAIL — any ALWAYS rule or hard constraint from CLAUDE.md is violated, or pnpm check / pnpm lint fails.
  • PASS WITH NOTES — only observations, or an ASK FIRST boundary was crossed without confirmation.
  • PASS — the changeset is clean against all contracts.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

assemble

무료

Dev-Critic loop: implement, review, fix — repeat until clean

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

villetakanen/asdlc-io452026년 10월 9일 업데이트

assess

무료

Assess source material against the ASDLC Knowledge Base and produce an evidence-calibrated Content Review Report.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

villetakanen/asdlc-io452026년 10월 9일 업데이트

curator

무료

Triage the content corpus against the latest GSC snapshot and produce a prioritized refresh report. Read-only: reports, never edits.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

villetakanen/asdlc-io452026년 10월 9일 업데이트

dev

무료

Implement features, fix bugs, and keep the codebase healthy and maintainable. Works from a defined PBI, issue, or task description.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

villetakanen/asdlc-io452026년 10월 9일 업데이트

geo-audit

무료

GEO+SEO audit of asdlc.io — analyzes the codebase for Generative Engine Optimization across AI citability, technical infrastructure, content quality, schema markup, and knowledge base discoverability. Produces a composite GEO Score (0-100) with prioritized action plan.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

villetakanen/asdlc-io452026년 10월 9일 업데이트

lead

무료

Produce written specs and atomic PBIs that an implementation agent can execute independently. Authors specs and Linear issues.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

villetakanen/asdlc-io452026년 10월 9일 업데이트

villetakanen의 스킬 모두 보기

이 스킬의 문제 신고