web-stylebook-mcp 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.ko.md CHANGED
@@ -212,7 +212,7 @@ MCP 설정에 추가:
212
212
  | **`compose_design_tokens`** | 역할 기반 토큰(색·타이포·간격·radius·모션·밀도)을 `json` / `css-variables` / `tailwind` / `typescript`, light / dark / both | WCAG 대비 경고를 숨기지 않고 내보냅니다 |
213
213
  | **`get_design_audit_plan`** | 안정적인 검사 ID·심각도·적용 조건·필요 증거·수정 방향·사용자용 콘텐츠 검사·선택 원칙 검사·UI 상태 범위를 담은 다국어 감사 계획 | 프로젝트를 실제로 봤다고 가장하지 않으며, 증거가 없으면 `PASS`가 아니라 `NOT_VERIFIED`입니다 |
214
214
 
215
- **카탈로그:** 스타일 48 · 인터페이스 디자인 원칙 25 · UX 원칙 23 · 구조화 감사 검사 45 · 컴포넌트 20 · 표면 5 · UI 상태 레시피 57 · 모션 프로파일 29 · 제품 아키타입 14.
215
+ **카탈로그:** 스타일 48 · 인터페이스 디자인 원칙 25 · UX 원칙 23 · 구조화 감사 검사 51 · 컴포넌트 20 · 표면 5 · UI 상태 레시피 57 · 모션 프로파일 29 · 제품 아키타입 14.
216
216
 
217
217
  ## 다국어 출력
218
218
 
@@ -248,6 +248,11 @@ webstylebook://policies/anti-patterns · /policies/verification · /policies/aud
248
248
  감사 범위(시각 / 시각 + 문구·정보 구조 / 전체 경험)와 변경 깊이(결과만 / 개선안 / 실제
249
249
  수정·검증)입니다. 감사 요청만으로 파일 수정·커밋·릴리스·배포 권한을 추정하지 않습니다.
250
250
 
251
+ 콘텐츠 감사는 내부 용어만 검사하지 않습니다. 개인화된 주장과 조언에 근거가 있는지,
252
+ 눈에 띄는 문구가 구체적이고 제품에 고유한지, 시각적 강조가 근거의 수준에 비례하는지도
253
+ 검사합니다. 카드·통계·Sitemap 링크는 유형 자체를 금지하지 않고 실제 사용자 과업에
254
+ 도움이 되는지로 판단합니다.
255
+
251
256
  ## CLI
252
257
 
253
258
  ```bash
package/README.md CHANGED
@@ -210,7 +210,7 @@ Add the same block to your `claude_desktop_config.json`, then restart:
210
210
  | **`compose_design_tokens`** | Role-based tokens (color, type, spacing, radius, motion, density) as `json` / `css-variables` / `tailwind` / `typescript`, light / dark / both | Emits WCAG contrast warnings instead of hiding them |
211
211
  | **`get_design_audit_plan`** | Localized, surface-aware checks with stable ids, severity, applicability, required evidence, remediation, user-facing content checks, selected principle checks, and UI-state coverage | The tool plans the audit but never pretends it inspected your project; missing evidence is `NOT_VERIFIED`, not `PASS` |
212
212
 
213
- **Catalog:** 48 styles · 25 interface design principles · 23 UX principles · 45 structured audit checks · 20 components · 5 surfaces · 57 UI-state recipes · 29 motion profiles · 14 product archetypes.
213
+ **Catalog:** 48 styles · 25 interface design principles · 23 UX principles · 51 structured audit checks · 20 components · 5 surfaces · 57 UI-state recipes · 29 motion profiles · 14 product archetypes.
214
214
 
215
215
  ## Localized output
216
216
 
@@ -247,6 +247,11 @@ before inspection: audit coverage (visual / visual + copy and information struct
247
247
  experience) and change depth (findings / proposals / implement and verify). File edits, commits,
248
248
  releases, and deployment are never inferred from an audit request.
249
249
 
250
+ Content coverage checks more than jargon: it tests whether personalization and advice are grounded,
251
+ whether prominent copy says something concrete and product-specific, and whether its visual emphasis
252
+ is proportional to the evidence behind it. Cards, statistics, and Sitemap links are still judged by
253
+ their actual user-task value rather than banned as types.
254
+
250
255
  ## CLI
251
256
 
252
257
  ```bash
@@ -155,6 +155,8 @@ export function registerPrompts(server) {
155
155
  'After scope is confirmed, call get_design_audit_plan with styleId, surfaces: [the inferred/provided surface], locale, and includeGroups matching the confirmed audit coverage. Read webstylebook://styles/{styleId} once for the chosen direction; do not fetch the full multilingual policy resources.',
156
156
  'Inspect the actual rendered implementation, source, interactions, target viewports, console, and relevant commands. Never assign PASS from this summary alone; missing evidence is NOT_VERIFIED.',
157
157
  'When the selected scope includes content, inspect every prominent heading, label, summary, card, statistic, navigation item, and disclosure. Prefer the audience’s vocabulary; lead with the user-relevant conclusion, consequence, or next action; move optional methodology behind supporting detail; and reject counts, agreement labels, confidence badges, or status language that simulate certainty without a clear method, denominator, uncertainty, and decision value.',
158
+ 'A sentence can fail even when it contains no internal jargon. Run four tests on every prominent string: grounding (which exact user fact or identified source supports it), substitution (would it still fit almost anyone or any product after swapping a name or noun), specificity (does it name a concrete actor, object, event, offer, decision, or observable change), and authority (did the user, product, or identified domain source justify the advice, or did the agent invent it to sound useful). Keep observed fact, source interpretation, agent inference, and advice distinct.',
159
+ 'Compare visual prominence with evidential substance. Broad advice, generic interpretation, methodology, and caveats must not become oversized headlines, isolated cards, badges, or statistics. Replace the centerpiece with a product- or document-specific fact/result/object/offer/action, or source-frame and demote it. Do not use a keyword blacklist; judge the proposition in context.',
158
160
  'No content type is banned by default. Keep cards, statistics, navigation links, and disclosures when they support the primary task; remove, merge, or demote them only when the observed product context shows they do not earn attention.',
159
161
  'Return one row per stable check id: verdict, observed evidence with exact location, and remediation. Use PASS / FIX_NOW / RISK / NOT_APPLICABLE / NOT_VERIFIED, then total each verdict. Every FIX_NOW needs the smallest concrete fix.',
160
162
  'For a deeper principle pass, run the audit-design-principles and audit-ux-principles prompts.',
@@ -1 +1 @@
1
- {"version":3,"file":"register-prompts.js","sourceRoot":"","sources":["../../src/protocol/register-prompts.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,mFAAmF;AACnF,4DAA4D;AAE5D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;AACjD,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AAC5C,M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3
  export declare const SERVER_INSTRUCTIONS: string;
4
4
  export declare const TOOL_NAMES: readonly ["recommend_design_direction", "compare_design_directions", "get_design_principle_plan", "get_ux_principle_plan", "get_design_audit_plan", "get_ui_state_plan", "compose_design_tokens"];
5
5
  export declare const PROMPT_NAMES: readonly ["design-product", "design-screen", "complete-ui-states", "redesign-with-style", "audit-design-direction", "audit-design-principles", "audit-ux-principles"];
@@ -1,7 +1,7 @@
1
1
  export const SERVER_NAME = 'web-stylebook';
2
- export const SERVER_VERSION = '0.6.0';
2
+ export const SERVER_VERSION = '0.7.0';
3
3
  export const SERVER_INSTRUCTIONS = [
4
- 'Use Web Stylebook before implementing or redesigning UI. For an audit or redesign, when the human has not already set scope, first ask two short questions and stop: audit coverage (visual only / visual plus user-facing copy and information structure / full experience including behavior, accessibility, states, and build-performance evidence) and change depth (findings only / prioritized proposals / implement and verify). Commit, push, release, and deployment remain separate authorizations. Start with recommend_design_direction using product context, then read webstylebook://styles/{id}, call get_design_principle_plan for the layout concerns/surface/phase, call get_ux_principle_plan for the task outcomes/surface/phase, call get_ui_state_plan for each surface, and compose_design_tokens for tokens. After implementation call get_design_audit_plan and inspect the actual rendered/code/interaction evidence for every included check; missing evidence is NOT_VERIFIED, never PASS. Use design principles as practical placement and visual-review guidance rather than a fixed recipe. Treat UX principles as evidence-labeled decision prompts, not universal laws; accessibility, safety, informed consent, and truthful feedback take priority.',
4
+ 'Use Web Stylebook before implementing or redesigning UI. For an audit or redesign, when the human has not already set scope, first ask two short questions and stop: audit coverage (visual only / visual plus user-facing copy and information structure / full experience including behavior, accessibility, states, and build-performance evidence) and change depth (findings only / prioritized proposals / implement and verify). Commit, push, release, and deployment remain separate authorizations. Start with recommend_design_direction using product context, then read webstylebook://styles/{id}, call get_design_principle_plan for the layout concerns/surface/phase, call get_ux_principle_plan for the task outcomes/surface/phase, call get_ui_state_plan for each surface, and compose_design_tokens for tokens. After implementation call get_design_audit_plan and inspect the actual rendered/code/interaction evidence for every included check; missing evidence is NOT_VERIFIED, never PASS. When content is in scope, lack of internal jargon is not enough: test whether personalized claims and advice are grounded, whether prominent copy names concrete actors/objects/changes instead of interchangeable consultancy abstractions, and whether visual prominence matches evidential substance. Do not invent advice while rewriting. Use design principles as practical placement and visual-review guidance rather than a fixed recipe. Treat UX principles as evidence-labeled decision prompts, not universal laws; accessibility, safety, informed consent, and truthful feedback take priority.',
5
5
  'Treat results as evidence, not code; do not blindly choose candidates[0]. The chosen style is a starting tone, not a layout mold: compose the components the brief needs and adapt the style to fit (override fonts/grid where it calls for it), not a generic page in that style. Compose the opening from the product’s single most important object/action/feeling, not the SaaS template. Two columns (copy beside a visual) are fine, but the visual must be a bespoke demonstration of THIS product’s core mechanic — NOT generic furniture (a stock photo, an abstract blob, generic app chrome, or a card you could paste onto another product); a decorative seam bridging the columns does not launder a generic visual. Avoid the all-text centered-stack and giant-word defaults too, and cap opening prose at a headline + one short line + one action. Don’t default to the AI headline cadence either — an evocative noun-phrase fragment with one word italicized in the accent color, repeated on every product; the headline must be specific to THIS product (paste-test: it couldn’t sit on a competitor by swapping a noun) and vary its form and emphasis each time. For open-ended UI work, first ask a short intake (available image/brand assets or whether to source license-free sample imagery, and anything to emphasize), then present 2-3 candidate directions that differ in opening STRUCTURE (not just color/tone) and wait for user approval before final component/system implementation; once a direction is approved, confirm scope and open details (deliverable, stack, real content/data, target devices) before building. This server is deterministic, read-only, offline, and does not access the project filesystem.',
6
6
  ].join(' ');
7
7
  export const TOOL_NAMES = [
@@ -1 +1 @@
1
- {"version":3,"file":"server-info.js","sourceRoot":"","sources":["../src/server-info.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC;AAC3C,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC;AAEtC,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,ytCAAytC;IACztC,mqDAAmqD;CACpqD,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,4BAA4B;IAC5B,2BAA2B;IAC3B,2BAA2B;IAC3B,uBAAuB;IACvB,uBAAuB;IACvB,mBAAmB;IACnB,uBAAuB;CACf,CAAC;AAEX,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,gBAAgB;IAChB,eAAe;IACf,oBAAoB;IACpB,qBAAqB;IACrB,wBAAwB;IACxB,yBAAyB;IACzB,qBAAqB;CACb,CAAC"}
1
+ {"version":3,"file":"server-info.js","sourceRoot":"","sources":["../src/server-info.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC;AAC3C,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC;AAEtC,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,wiDAAwiD;IACxiD,mqDAAmqD;CACpqD,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,4BAA4B;IAC5B,2BAA2B;IAC3B,2BAA2B;IAC3B,uBAAuB;IACvB,uBAAuB;IACvB,mBAAmB;IACnB,uBAAuB;CACf,CAAC;AAEX,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,gBAAgB;IAChB,eAAe;IACf,oBAAoB;IACpB,qBAAqB;IACrB,wBAAwB;IACxB,yBAAyB;IACzB,qBAAqB;CACb,CAAC"}
@@ -1,6 +1,6 @@
1
1
  {
2
- "catalogVersion": "0.6.0",
3
- "contentHash": "sha256:9b9097f947272c6d089826609521293c5ff3d46d793629578228c6fbfb691d04",
2
+ "catalogVersion": "0.7.0",
3
+ "contentHash": "sha256:41a02c57b7af4741dddb86ea947a44f19bfb589d89168ce4fbd3b9fb9e43b8a2",
4
4
  "data": {
5
5
  "componentCategories": [
6
6
  {
@@ -6000,6 +6000,60 @@
6000
6000
  "ko": "반사적인 AI 헤드라인은 막연히 시적인 명사구 단편(자주 쉼표로 끊은 두 박자, 정보보다 분위기)에 한 단어만 액센트 컬러 이탤릭으로 강조한 형태입니다. 제품이 무엇이든 같은 리듬과 같은 강조가 반복된다는 점이 단서(tell)이고, 이 제품을 위해 쓴 게 아니라 AI가 찍어낸 것처럼 읽힙니다."
6001
6001
  }
6002
6002
  },
6003
+ {
6004
+ "fix": {
6005
+ "en": "Identify the exact source for each personal claim or recommendation and distinguish observed fact, source interpretation, agent inference, and advice. If grounding is missing, remove the claim or frame it narrowly as a source-scoped possibility or general guidance. Never invent an action plan merely to sound useful.",
6006
+ "ja": "個人についての主張や推奨ごとに正確な出典を示し、観察事実、出典の解釈、エージェントの推論、助言を区別します。根拠がなければ削除するか、その出典の範囲に限った可能性または一般的な案内として狭く表現します。役立つように見せるためだけに行動計画を作ってはいけません。",
6007
+ "ko": "개인에 관한 주장이나 권고마다 정확한 출처를 밝히고 관찰 사실·출처의 해석·에이전트 추론·조언을 구분하세요. 근거가 없으면 제거하거나 해당 출처 범위의 가능성 또는 일반 안내로 좁혀 쓰세요. 유용해 보이기 위해 행동 계획을 새로 만들지 마세요."
6008
+ },
6009
+ "id": "unsupported-personalization",
6010
+ "pattern": {
6011
+ "en": "Unsupported personalization and prescriptive certainty",
6012
+ "ja": "根拠のない個人化と断定的な行動指示",
6013
+ "ko": "근거 없는 개인화와 단정적인 행동 지침"
6014
+ },
6015
+ "why": {
6016
+ "en": "Sparse inputs, broad segment data, or symbolic interpretation can be turned into confident claims about a person’s character, motives, future, or correct next step. This can feel personally accurate even when there is not enough evidence to know that individual.",
6017
+ "ja": "少ない入力、広い集団データ、象徴的な解釈だけから、個人の性格、動機、将来、正しい次の行動を自信ありげに断定することがあります。その人を知る根拠が足りなくても、自分を正確に理解した言葉のように感じさせることがあります。",
6018
+ "ko": "적은 입력·폭넓은 집단 자료·상징 해석만으로 개인의 성격·동기·미래·올바른 다음 행동을 자신 있게 단정할 수 있습니다. 그 사람을 알 근거가 부족한데도 나를 정확히 이해한 말처럼 느껴지게 할 수 있습니다."
6019
+ }
6020
+ },
6021
+ {
6022
+ "fix": {
6023
+ "en": "Judge the proposition, not a keyword blacklist. Run a substitution test and a specificity test, then name the actor, object, action, observable effect, and source in plain audience language. If the sentence cannot be made concrete without inventing facts, remove it.",
6024
+ "ja": "単語の禁止リストではなく、文が実際に何を主張しているかを判断します。置換テストと具体性テストを行い、主体、対象、行動、観察可能な結果、出典を利用者の平易な言葉で示します。事実を作らずに具体化できない文は削除します。",
6025
+ "ko": "단어 목록이 아니라 문장이 실제로 무엇을 주장하는지 판단하세요. 치환 테스트와 구체성 테스트를 거친 뒤 주체·대상·행동·관찰 가능한 결과·출처를 사용자의 평범한 언어로 밝히세요. 사실을 만들지 않고 구체화할 수 없다면 문장을 제거하세요."
6026
+ },
6027
+ "id": "abstract-consultancy-copy",
6028
+ "pattern": {
6029
+ "en": "Abstract consultancy copy that sounds actionable but says little",
6030
+ "ja": "実行可能に聞こえるが中身の薄い抽象的なコンサル文言",
6031
+ "ko": "실행 가능한 듯 들리지만 내용이 빈 추상적 컨설팅 문구"
6032
+ },
6033
+ "why": {
6034
+ "en": "Stacking broad terms such as structure, alignment, leverage, execution, impact, or bottleneck can imitate expert analysis without naming what happened, to whom, or what would actually change. If the sentence survives swapping the user or product, it is likely generic filler rather than useful meaning.",
6035
+ "ja": "構造、整合、レバレッジ、実行、影響、ボトルネックのような広い語を重ねると、何が誰に起き、実際に何が変わるのかを示さずに専門的な分析を装えます。ユーザーや製品を入れ替えても文が成立するなら、有用な意味より汎用的な埋め草である可能性が高いです。",
6036
+ "ko": "구조·정렬·레버리지·실행·영향·병목 같은 넓은 말을 겹치면 무엇이 누구에게 일어났고 실제로 무엇이 달라지는지 말하지 않은 채 전문가 분석처럼 보일 수 있습니다. 사용자나 제품을 바꿔도 문장이 그대로 성립하면 유용한 의미보다 범용 채움 문구일 가능성이 큽니다."
6037
+ }
6038
+ },
6039
+ {
6040
+ "fix": {
6041
+ "en": "Replace the centerpiece with a product- or document-specific fact, result, offer, object, or action that earns the attention. Otherwise source-frame and demote the statement to supporting copy or optional detail, and reduce its typographic scale to match its evidence.",
6042
+ "ja": "注目に値する製品・文書固有の事実、結果、提案、対象、行動へ中心内容を置き換えます。できない場合は出典の範囲を示して補助文または任意の詳細へ下げ、根拠の強さに合わせて文字サイズと視覚的強調を減らします。",
6043
+ "ko": "그 주목을 받을 만한 제품·문서 고유의 사실·결과·제안·대상·행동으로 중심 내용을 바꾸세요. 그렇지 못하면 출처가 드러나게 한 뒤 보조 문구나 선택적 상세로 내리고, 근거 수준에 맞게 글자 크기와 시각적 강조를 줄이세요."
6044
+ },
6045
+ "id": "empty-claim-as-centerpiece",
6046
+ "pattern": {
6047
+ "en": "A vague or weakly supported claim used as the visual centerpiece",
6048
+ "ja": "曖昧または根拠の弱い主張を画面の中心として誇張",
6049
+ "ko": "모호하거나 근거가 약한 주장을 화면의 중심으로 과장"
6050
+ },
6051
+ "why": {
6052
+ "en": "Large type, isolated cards, badges, and statistics lend authority and importance to whatever they contain. Giving that treatment to generic advice, broad interpretation, methodology, or a caveat makes weak content look like the product’s central result.",
6053
+ "ja": "大きな文字、独立したカード、バッジ、統計は、中身に権威と重要性を与えます。汎用的な助言、幅広い解釈、方法論、注意書きをそのように強調すると、弱い内容が製品の中心的な結果のように見えます。",
6054
+ "ko": "큰 글자·고립된 카드·뱃지·통계는 그 안의 내용에 권위와 중요도를 부여합니다. 범용 조언·폭넓은 해석·방법론·주의 문구를 그렇게 강조하면 약한 내용이 제품의 핵심 결과처럼 보입니다."
6055
+ }
6056
+ },
6003
6057
  {
6004
6058
  "fix": {
6005
6059
  "en": "Write real or plausible product-specific copy. If a metric or testimonial is unknown, omit the section entirely rather than fabricating it.",
@@ -6544,6 +6598,63 @@
6544
6598
  "global"
6545
6599
  ]
6546
6600
  },
6601
+ {
6602
+ "applicability": "when-present",
6603
+ "automation": "manual",
6604
+ "evidenceTypes": [
6605
+ "document",
6606
+ "screenshot",
6607
+ "manual"
6608
+ ],
6609
+ "id": "copy-grounds-personalization-and-advice",
6610
+ "severity": "major",
6611
+ "source": {
6612
+ "groupId": "content",
6613
+ "itemIndex": 4,
6614
+ "kind": "verification"
6615
+ },
6616
+ "surfaceTags": [
6617
+ "global"
6618
+ ]
6619
+ },
6620
+ {
6621
+ "applicability": "always",
6622
+ "automation": "manual",
6623
+ "evidenceTypes": [
6624
+ "document",
6625
+ "screenshot",
6626
+ "manual"
6627
+ ],
6628
+ "id": "copy-is-concrete-and-specific",
6629
+ "severity": "major",
6630
+ "source": {
6631
+ "groupId": "content",
6632
+ "itemIndex": 5,
6633
+ "kind": "verification"
6634
+ },
6635
+ "surfaceTags": [
6636
+ "global"
6637
+ ]
6638
+ },
6639
+ {
6640
+ "applicability": "always",
6641
+ "automation": "manual",
6642
+ "evidenceTypes": [
6643
+ "document",
6644
+ "screenshot",
6645
+ "manual"
6646
+ ],
6647
+ "id": "copy-prominence-matches-substance",
6648
+ "severity": "major",
6649
+ "source": {
6650
+ "groupId": "content",
6651
+ "itemIndex": 6,
6652
+ "kind": "verification"
6653
+ },
6654
+ "surfaceTags": [
6655
+ "global"
6656
+ ]
6657
+ },
6547
6658
  {
6548
6659
  "applicability": "always",
6549
6660
  "automation": "assisted",
@@ -6819,6 +6930,61 @@
6819
6930
  "content"
6820
6931
  ]
6821
6932
  },
6933
+ {
6934
+ "applicability": "when-present",
6935
+ "automation": "manual",
6936
+ "evidenceTypes": [
6937
+ "document",
6938
+ "screenshot",
6939
+ "manual"
6940
+ ],
6941
+ "id": "avoid-unsupported-personalization",
6942
+ "severity": "major",
6943
+ "source": {
6944
+ "antiPatternId": "unsupported-personalization",
6945
+ "kind": "anti-pattern"
6946
+ },
6947
+ "surfaceTags": [
6948
+ "global"
6949
+ ]
6950
+ },
6951
+ {
6952
+ "applicability": "when-present",
6953
+ "automation": "manual",
6954
+ "evidenceTypes": [
6955
+ "document",
6956
+ "screenshot",
6957
+ "manual"
6958
+ ],
6959
+ "id": "avoid-abstract-consultancy-copy",
6960
+ "severity": "major",
6961
+ "source": {
6962
+ "antiPatternId": "abstract-consultancy-copy",
6963
+ "kind": "anti-pattern"
6964
+ },
6965
+ "surfaceTags": [
6966
+ "global"
6967
+ ]
6968
+ },
6969
+ {
6970
+ "applicability": "when-present",
6971
+ "automation": "manual",
6972
+ "evidenceTypes": [
6973
+ "document",
6974
+ "screenshot",
6975
+ "manual"
6976
+ ],
6977
+ "id": "avoid-empty-claim-as-centerpiece",
6978
+ "severity": "major",
6979
+ "source": {
6980
+ "antiPatternId": "empty-claim-as-centerpiece",
6981
+ "kind": "anti-pattern"
6982
+ },
6983
+ "surfaceTags": [
6984
+ "landing-page",
6985
+ "content"
6986
+ ]
6987
+ },
6822
6988
  {
6823
6989
  "applicability": "always",
6824
6990
  "automation": "manual",
@@ -7392,6 +7558,21 @@
7392
7558
  "en": "every prominent card, statistic, navigation link, section, and disclosure earns attention by supporting the primary user task; contextually useful items remain, while irrelevant ones are removed, merged, or demoted",
7393
7559
  "ja": "目立つカード、統計、ナビゲーションリンク、セクション、詳細開示は主要タスクを支えることで注意を得る理由がある。文脈上有用なものは残し、無関係なものは削除、統合、優先度を下げる",
7394
7560
  "ko": "눈에 띄는 카드·통계·내비게이션 링크·섹션·상세 공개가 핵심 사용자 과업을 지원해 주목받을 이유가 있음; 맥락상 유용한 것은 유지하고 무관한 것은 제거·통합·후순위화함"
7561
+ },
7562
+ {
7563
+ "en": "personalized claims about a person’s traits, motives, needs, or future outcomes — and any prescribed next steps — are traceable to user-provided facts or identified domain evidence; sparse inputs and broad interpretations are not presented as specific knowledge of the person",
7564
+ "ja": "個人の特性、動機、必要、将来の結果について述べたり次の行動を勧めたりする場合、ユーザー提供の事実または明示した分野の根拠まで追跡できる。少ない入力や幅広い解釈を、その人を具体的に知っているかのように提示しない",
7565
+ "ko": "개인의 성향·동기·필요·미래 결과를 말하거나 다음 행동을 권할 때 사용자 제공 사실 또는 명시한 분야 근거로 추적할 수 있음; 적은 입력과 폭넓은 해석을 그 사람을 구체적으로 아는 것처럼 제시하지 않음"
7566
+ },
7567
+ {
7568
+ "en": "prominent copy names a concrete subject, object, event, offer, decision, or observable change; it does not stack abstract nouns or consultant-sounding phrases that still fit after swapping the user or product",
7569
+ "ja": "主要な文言が、具体的な主体、対象、出来事、提案、判断、観察可能な変化を明示する。ユーザーや製品を入れ替えても成立する抽象名詞やコンサルタント風の表現を重ねない",
7570
+ "ko": "주요 문구가 구체적인 주체·대상·사건·제안·결정·관찰 가능한 변화를 밝힘; 사용자나 제품을 바꿔도 그대로 성립하는 추상 명사와 컨설팅식 표현을 겹쳐 쓰지 않음"
7571
+ },
7572
+ {
7573
+ "en": "visual and structural prominence is proportional to content substance and evidence; broad advice, generic interpretations, caveats, and methodology do not become oversized headlines, cards, badges, or statistics",
7574
+ "ja": "視覚的・構造的な強調が、内容の実質と根拠に比例する。幅広い助言、汎用的な解釈、注意書き、方法論を巨大な見出し、カード、バッジ、統計として前面に出さない",
7575
+ "ko": "시각적·구조적 강조가 내용의 실질과 근거에 비례함; 폭넓은 조언·범용 해석·주의 문구·방법론을 거대한 제목·카드·뱃지·통계로 내세우지 않음"
7395
7576
  }
7396
7577
  ],
7397
7578
  "title": {
@@ -1,8 +1,8 @@
1
1
  {
2
- "catalogVersion": "0.6.0",
3
- "contentHash": "sha256:9b9097f947272c6d089826609521293c5ff3d46d793629578228c6fbfb691d04",
2
+ "catalogVersion": "0.7.0",
3
+ "contentHash": "sha256:41a02c57b7af4741dddb86ea947a44f19bfb589d89168ce4fbd3b9fb9e43b8a2",
4
4
  "counts": {
5
- "auditChecks": 45,
5
+ "auditChecks": 51,
6
6
  "components": 20,
7
7
  "designPrinciples": 25,
8
8
  "motionPatterns": 29,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-stylebook-mcp",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Design intelligence for coding agents — choose a direction, apply interface-design and UX principles, cover real UI states, and compose design tokens.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/skill/AGENTS.md CHANGED
@@ -84,6 +84,14 @@ denominator, uncertainty, and decision value; otherwise remove or qualify them.
84
84
  card, statistic, navigation link, section, and disclosure earn attention through the primary task.
85
85
  Keep useful instances - no content type is banned by default. Rewrite without inventing claims or
86
86
  dropping material caveats, then re-check wrapping and hierarchy in target locales and viewports.
87
+ Do not treat the absence of internal jargon as a pass. Ground every personalized claim and next-step
88
+ recommendation in user-provided facts or identified domain evidence; keep facts, source interpretation,
89
+ agent inference, and advice distinct. Run grounding, substitution, specificity, and authority tests on
90
+ prominent copy: what supports it, would it fit almost anyone/product, does it name a concrete
91
+ actor/object/event/change, and did a real source justify the advice? Reject abstract consultancy filler
92
+ that merely sounds actionable. Match typographic and structural prominence to evidential substance;
93
+ demote generic advice, broad interpretation, methodology, and caveats instead of making them giant
94
+ headlines, cards, badges, or statistics.
87
95
 
88
96
  **No formulaic opening.** The disease was never *two columns* — strong products (Linear, Stripe) put
89
97
  copy beside a visual. The disease is **generic furniture**: a copy stack
package/skill/CLAUDE.md CHANGED
@@ -84,6 +84,14 @@ denominator, uncertainty, and decision value; otherwise remove or qualify them.
84
84
  card, statistic, navigation link, section, and disclosure earn attention through the primary task.
85
85
  Keep useful instances — no content type is banned by default. Rewrite without inventing claims or
86
86
  dropping material caveats, then re-check wrapping and hierarchy in target locales and viewports.
87
+ Do not treat the absence of internal jargon as a pass. Ground every personalized claim and next-step
88
+ recommendation in user-provided facts or identified domain evidence; keep facts, source interpretation,
89
+ agent inference, and advice distinct. Run grounding, substitution, specificity, and authority tests on
90
+ prominent copy: what supports it, would it fit almost anyone/product, does it name a concrete
91
+ actor/object/event/change, and did a real source justify the advice? Reject abstract consultancy filler
92
+ that merely sounds actionable. Match typographic and structural prominence to evidential substance;
93
+ demote generic advice, broad interpretation, methodology, and caveats instead of making them giant
94
+ headlines, cards, badges, or statistics.
87
95
 
88
96
  **No formulaic opening.** The disease was never *two columns* — strong products (Linear, Stripe) put
89
97
  copy beside a visual. The disease is **generic furniture**: a copy stack
@@ -121,6 +121,8 @@ Map the answer to `get_design_audit_plan.includeGroups`:
121
121
  principle override accessibility, safety, informed consent, or truthful feedback.
122
122
  When the confirmed scope includes content, do not skip the checklist's **`content` group**. Inspect
123
123
  the actual visible strings and their hierarchy, not just component names or localization keys.
124
+ The absence of internal jargon is not a pass: run the grounding, substitution, specificity, and
125
+ authority checks below, and compare each claim's visual prominence with its evidence and usefulness.
124
126
  *This inline pass is your job on every build.* The server also ships three deeper audits as MCP
125
127
  **prompts** — `audit-design-direction`, `audit-design-principles`, `audit-ux-principles`. Those
126
128
  are slash commands the **user** invokes, not tools you can call, so don't wait on them: do the
@@ -253,6 +255,21 @@ Apply this section when the confirmed scope includes user-facing copy or the ful
253
255
  sections, and disclosures against the primary user task. Keep them when useful. Remove, merge, or
254
256
  demote them only when the observed context shows they are irrelevant — no content type is banned by
255
257
  default.
258
+ - **Ground personalization and advice.** Separate user-provided facts, cited source interpretations,
259
+ your own inference, and recommendations. Do not turn sparse inputs, segment-level data, symbolic
260
+ material, or broad source text into confident claims about this person's traits, motives, future,
261
+ or correct next step. If the source does not support a personal claim or action plan, remove it or
262
+ frame it narrowly as a source-scoped possibility or general guidance.
263
+ - **Reject abstract consultancy filler.** A string can fail even when it contains no internal jargon.
264
+ Run four checks on every prominent sentence: (1) **grounding** — what exact input or source supports
265
+ it? (2) **substitution** — would it still fit almost anyone or any product after swapping a name or
266
+ noun? (3) **specificity** — does it name a real actor, object, event, offer, decision, or observable
267
+ change? (4) **authority** — did the user, product, or cited domain source actually justify the
268
+ advice, or did the agent invent it to sound useful? Judge the proposition, not a blacklist of words.
269
+ - **Match emphasis to substance.** Do not turn broad advice, generic interpretation, methodology, or
270
+ a caveat into an oversized headline, isolated card, badge, or statistic. Replace the centerpiece
271
+ with a product- or document-specific fact, result, object, offer, or action; otherwise source-frame
272
+ and demote it, and reduce its scale to match the evidence.
256
273
  - **Rewrite without inventing.** Preserve factual meaning, material caveats, and domain nuance. For
257
274
  findings/proposal scope, show the smallest useful before → after rewrite and why. For implementation
258
275
  scope, edit the real strings, re-check wrapping and hierarchy at target locales/viewports, and