web-stylebook-mcp 0.7.0 → 0.8.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 +4 -4
- package/README.md +5 -4
- package/dist/protocol/register-prompts.js +2 -2
- package/dist/protocol/register-prompts.js.map +1 -1
- package/dist/server-info.d.ts +1 -1
- package/dist/server-info.js +2 -2
- package/dist/server-info.js.map +1 -1
- package/generated/catalog.v1.json +36 -36
- package/generated/manifest.v1.json +2 -2
- package/package.json +1 -1
- package/skill/AGENTS.md +7 -8
- package/skill/CLAUDE.md +7 -8
- package/skill/web-stylebook-design/SKILL.md +14 -16
package/README.ko.md
CHANGED
|
@@ -248,10 +248,10 @@ webstylebook://policies/anti-patterns · /policies/verification · /policies/aud
|
|
|
248
248
|
감사 범위(시각 / 시각 + 문구·정보 구조 / 전체 경험)와 변경 깊이(결과만 / 개선안 / 실제
|
|
249
249
|
수정·검증)입니다. 감사 요청만으로 파일 수정·커밋·릴리스·배포 권한을 추정하지 않습니다.
|
|
250
250
|
|
|
251
|
-
콘텐츠 감사는 내부 용어만 검사하지 않습니다.
|
|
252
|
-
눈에 띄는 문구가 구체적이고
|
|
253
|
-
|
|
254
|
-
도움이 되는지로 판단합니다.
|
|
251
|
+
콘텐츠 감사는 내부 용어만 검사하지 않습니다. 중요한 주장·결론·권고의 강도와 확신이
|
|
252
|
+
근거에 맞는지, 눈에 띄는 문구가 구체적이고 해당 맥락에 필요한 정보를 전달하는지,
|
|
253
|
+
시각적 강조가 정보 가치·과업 관련성·근거 수준에 맞는지도 검사합니다. 카드·통계·Sitemap
|
|
254
|
+
링크는 유형 자체를 금지하지 않고 실제 사용자 과업에 도움이 되는지로 판단합니다.
|
|
255
255
|
|
|
256
256
|
## CLI
|
|
257
257
|
|
package/README.md
CHANGED
|
@@ -247,10 +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
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
250
|
+
Content coverage checks more than jargon: it tests whether material claims, conclusions, and
|
|
251
|
+
recommendations match their support and expressed certainty, whether prominent copy conveys concrete
|
|
252
|
+
context-specific information, and whether its visual emphasis matches information value, task
|
|
253
|
+
relevance, and support. Cards, statistics, and Sitemap links are still judged by their actual
|
|
254
|
+
user-task value rather than banned as types.
|
|
254
255
|
|
|
255
256
|
## CLI
|
|
256
257
|
|
|
@@ -155,8 +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.
|
|
159
|
-
'Compare visual prominence with
|
|
158
|
+
'A sentence can fail even when it contains no internal jargon. For every material claim, conclusion, or recommendation, ask what it actually says, what available content, evidence, or context supports it, whether its wording and certainty match that support, and whether the unchanged sentence would remain equally plausible on an unrelated product or page. Qualify or remove unsupported content; never invent evidence, facts, or next steps.',
|
|
159
|
+
'Compare visual prominence with information value, task relevance, and support. Vague, generic, redundant, or weakly supported content must not become an oversized headline, isolated card, badge, or statistic. Replace it with content that earns the attention, or demote it and reduce its scale. Do not use a keyword blacklist; judge the statement in context.',
|
|
160
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.',
|
|
161
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.',
|
|
162
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,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,oBAAoB,EAAE,iBAAiB,CAAC,CAAC,CAAC;AACrF,MAAM,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,mBAAmB,EAAE,sBAAsB,CAAC,CAAC,CAAC;AAEzF,SAAS,WAAW,CAAC,IAAY;IAC/B,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC;AAC7F,CAAC;AAED,SAAS,SAAS,CAChB,SAAwC,IAAI,EAC5C,UAAwC,EACxC,WAA0C;IAE1C,MAAM,IAAI,GAAG;QACX,EAAE,EAA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export declare const SERVER_VERSION = "0.
|
|
2
|
+
export declare const SERVER_VERSION = "0.8.0";
|
|
3
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"];
|
package/dist/server-info.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const SERVER_NAME = 'web-stylebook';
|
|
2
|
-
export const SERVER_VERSION = '0.
|
|
2
|
+
export const SERVER_VERSION = '0.8.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. When content is in scope, lack of internal jargon is not enough: test whether
|
|
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 material claims, conclusions, and recommendations match their support and expressed certainty; whether prominent copy conveys concrete, context-specific information; and whether visual prominence matches information value, task relevance, and support. Do not invent evidence, facts, or next steps 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 = [
|
package/dist/server-info.js.map
CHANGED
|
@@ -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,
|
|
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,imDAAimD;IACjmD,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.
|
|
3
|
-
"contentHash": "sha256:
|
|
2
|
+
"catalogVersion": "0.8.0",
|
|
3
|
+
"contentHash": "sha256:2eca040387f64807366282dacff82a40309b1dc93c3a52f6c58df024197c6d7b",
|
|
4
4
|
"data": {
|
|
5
5
|
"componentCategories": [
|
|
6
6
|
{
|
|
@@ -6002,27 +6002,27 @@
|
|
|
6002
6002
|
},
|
|
6003
6003
|
{
|
|
6004
6004
|
"fix": {
|
|
6005
|
-
"en": "
|
|
6006
|
-
"ja": "
|
|
6007
|
-
"ko": "
|
|
6005
|
+
"en": "For each material statement, identify its support and calibrate wording, certainty, and placement to that support. Show decision-relevant sources or limits; qualify or remove anything that cannot be supported, and do not invent evidence, facts, or next steps.",
|
|
6006
|
+
"ja": "重要な文ごとに裏付けを確認し、文言の強さ、確信度、配置をその裏付けに合わせます。判断に必要な出典や限界を示し、支えられない内容は限定するか削除し、根拠、事実、次の行動を作り上げてはいけません。",
|
|
6007
|
+
"ko": "중요한 문장마다 뒷받침하는 근거를 확인하고 문구의 강도·확신 수준·배치를 그 근거에 맞추세요. 판단에 필요한 출처나 한계를 드러내고, 뒷받침할 수 없는 내용은 한정해서 쓰거나 제거하며 근거·사실·다음 행동을 만들어내지 마세요."
|
|
6008
6008
|
},
|
|
6009
|
-
"id": "unsupported-
|
|
6009
|
+
"id": "unsupported-claim-as-established",
|
|
6010
6010
|
"pattern": {
|
|
6011
|
-
"en": "
|
|
6012
|
-
"ja": "
|
|
6013
|
-
"ko": "
|
|
6011
|
+
"en": "An unsupported claim or recommendation presented as established",
|
|
6012
|
+
"ja": "根拠の乏しい主張や推奨を確定事項のように提示",
|
|
6013
|
+
"ko": "근거가 부족한 주장이나 권고를 확정된 내용처럼 제시"
|
|
6014
6014
|
},
|
|
6015
6015
|
"why": {
|
|
6016
|
-
"en": "
|
|
6017
|
-
"ja": "
|
|
6018
|
-
"ko": "
|
|
6016
|
+
"en": "A statement becomes misleading when its wording carries more certainty or authority than the available evidence or context supports. Polished presentation can conceal that gap and make an assumption look established.",
|
|
6017
|
+
"ja": "利用できる根拠や文脈を超える確信や権威を文言に持たせると、誤解を招きます。整った表現はその隔たりを隠し、仮定を確定事項のように見せることがあります。",
|
|
6018
|
+
"ko": "문구가 사용 가능한 근거나 맥락보다 더 큰 확신과 권위를 띠면 오해를 만듭니다. 매끄러운 표현은 그 간극을 숨기고 가정을 확정된 내용처럼 보이게 할 수 있습니다."
|
|
6019
6019
|
}
|
|
6020
6020
|
},
|
|
6021
6021
|
{
|
|
6022
6022
|
"fix": {
|
|
6023
|
-
"en": "
|
|
6024
|
-
"ja": "
|
|
6025
|
-
"ko": "
|
|
6023
|
+
"en": "State the concrete information the audience needs in plain language and tie it to the current page and task. If the sentence cannot become specific without inventing facts, remove it.",
|
|
6024
|
+
"ja": "利用者に必要な具体的情報を平易な言葉で示し、現在のページとタスクに結び付けます。事実を作らずに具体化できない文は削除します。",
|
|
6025
|
+
"ko": "사용자에게 필요한 구체적인 정보를 평범한 언어로 밝히고 현재 페이지와 과업에 연결하세요. 사실을 만들지 않고 구체화할 수 없다면 문장을 제거하세요."
|
|
6026
6026
|
},
|
|
6027
6027
|
"id": "abstract-consultancy-copy",
|
|
6028
6028
|
"pattern": {
|
|
@@ -6031,16 +6031,16 @@
|
|
|
6031
6031
|
"ko": "실행 가능한 듯 들리지만 내용이 빈 추상적 컨설팅 문구"
|
|
6032
6032
|
},
|
|
6033
6033
|
"why": {
|
|
6034
|
-
"en": "
|
|
6035
|
-
"ja": "
|
|
6036
|
-
"ko": "
|
|
6034
|
+
"en": "Abstract language can imitate expertise while leaving the actual information unspecified. If a sentence remains equally plausible after moving it to an unrelated product or page, it is likely adding tone rather than meaning.",
|
|
6035
|
+
"ja": "抽象的な表現は、実際の情報を示さないまま専門的な分析のように見せることがあります。無関係な製品やページへ移しても同じように成立する文は、意味より雰囲気を足している可能性が高いです。",
|
|
6036
|
+
"ko": "추상적인 표현은 실제 정보를 밝히지 않은 채 전문적인 분석처럼 보일 수 있습니다. 문장을 무관한 제품이나 페이지로 옮겨도 똑같이 그럴듯하다면 의미보다 분위기만 더하는 문구일 가능성이 큽니다."
|
|
6037
6037
|
}
|
|
6038
6038
|
},
|
|
6039
6039
|
{
|
|
6040
6040
|
"fix": {
|
|
6041
|
-
"en": "Replace the centerpiece with
|
|
6042
|
-
"ja": "
|
|
6043
|
-
"ko": "그 주목을 받을
|
|
6041
|
+
"en": "Replace the centerpiece with content whose information value, task relevance, and support earn that attention. Otherwise remove or demote it to supporting detail and reduce its visual scale.",
|
|
6042
|
+
"ja": "その注目に見合う情報価値、タスクとの関連性、裏付けを持つ内容へ中心を置き換えます。できない場合は削除するか補助的な詳細へ下げ、視覚的な大きさを抑えます。",
|
|
6043
|
+
"ko": "그 주목을 받을 만큼 정보 가치·과업 관련성·근거가 충분한 내용으로 중심을 바꾸세요. 그렇지 못하면 제거하거나 보조 상세로 내리고 시각적 크기를 줄이세요."
|
|
6044
6044
|
},
|
|
6045
6045
|
"id": "empty-claim-as-centerpiece",
|
|
6046
6046
|
"pattern": {
|
|
@@ -6049,9 +6049,9 @@
|
|
|
6049
6049
|
"ko": "모호하거나 근거가 약한 주장을 화면의 중심으로 과장"
|
|
6050
6050
|
},
|
|
6051
6051
|
"why": {
|
|
6052
|
-
"en": "Large type, isolated cards, badges, and statistics
|
|
6053
|
-
"ja": "
|
|
6054
|
-
"ko": "큰 글자·고립된 카드·뱃지·통계는 그 안의 내용에
|
|
6052
|
+
"en": "Large type, isolated cards, badges, and statistics assign importance to whatever they contain. Giving that treatment to vague, generic, redundant, or weakly supported content makes low-value content look like the page’s central result.",
|
|
6053
|
+
"ja": "大きな文字、独立したカード、バッジ、統計は、中身に重要性を与えます。曖昧、汎用的、重複、または根拠の弱い内容をそのように強調すると、情報価値の低い内容がページの中心的な結果のように見えます。",
|
|
6054
|
+
"ko": "큰 글자·고립된 카드·뱃지·통계는 그 안의 내용에 중요도를 부여합니다. 모호하거나 범용적이거나 중복되거나 근거가 약한 내용을 그렇게 강조하면 정보 가치가 낮은 내용이 페이지의 핵심 결과처럼 보입니다."
|
|
6055
6055
|
}
|
|
6056
6056
|
},
|
|
6057
6057
|
{
|
|
@@ -6606,7 +6606,7 @@
|
|
|
6606
6606
|
"screenshot",
|
|
6607
6607
|
"manual"
|
|
6608
6608
|
],
|
|
6609
|
-
"id": "copy-
|
|
6609
|
+
"id": "copy-matches-claims-to-support",
|
|
6610
6610
|
"severity": "major",
|
|
6611
6611
|
"source": {
|
|
6612
6612
|
"groupId": "content",
|
|
@@ -6938,10 +6938,10 @@
|
|
|
6938
6938
|
"screenshot",
|
|
6939
6939
|
"manual"
|
|
6940
6940
|
],
|
|
6941
|
-
"id": "avoid-unsupported-
|
|
6941
|
+
"id": "avoid-unsupported-claim-as-established",
|
|
6942
6942
|
"severity": "major",
|
|
6943
6943
|
"source": {
|
|
6944
|
-
"antiPatternId": "unsupported-
|
|
6944
|
+
"antiPatternId": "unsupported-claim-as-established",
|
|
6945
6945
|
"kind": "anti-pattern"
|
|
6946
6946
|
},
|
|
6947
6947
|
"surfaceTags": [
|
|
@@ -7560,19 +7560,19 @@
|
|
|
7560
7560
|
"ko": "눈에 띄는 카드·통계·내비게이션 링크·섹션·상세 공개가 핵심 사용자 과업을 지원해 주목받을 이유가 있음; 맥락상 유용한 것은 유지하고 무관한 것은 제거·통합·후순위화함"
|
|
7561
7561
|
},
|
|
7562
7562
|
{
|
|
7563
|
-
"en": "
|
|
7564
|
-
"ja": "
|
|
7565
|
-
"ko": "
|
|
7563
|
+
"en": "material claims, conclusions, and recommendations are traceable to the evidence or context that supports them; wording strength and certainty match that support, and missing or limited support is not hidden",
|
|
7564
|
+
"ja": "重要な主張、結論、推奨は、それを支える根拠または文脈まで追跡できる。文言の強さと確信度はその裏付けに見合い、根拠がない、または限定的であることを隠さない",
|
|
7565
|
+
"ko": "중요한 주장·결론·권고가 이를 뒷받침하는 근거나 맥락으로 추적 가능함; 문구의 강도와 확신 수준이 그 근거에 맞고, 근거가 없거나 제한적이라는 사실을 숨기지 않음"
|
|
7566
7566
|
},
|
|
7567
7567
|
{
|
|
7568
|
-
"en": "prominent copy
|
|
7569
|
-
"ja": "
|
|
7570
|
-
"ko": "주요 문구가
|
|
7568
|
+
"en": "prominent copy conveys concrete, context-specific information that helps the audience understand, decide, or act; it does not rely on interchangeable abstractions that remain unchanged when moved to an unrelated product or page",
|
|
7569
|
+
"ja": "主要な文言は、利用者の理解、判断、行動に必要な具体的かつ文脈に即した情報を伝える。無関係な製品やページへ移してもそのまま成立する、置き換え可能な抽象表現に依存しない",
|
|
7570
|
+
"ko": "주요 문구가 사용자가 이해·결정·행동하는 데 필요한 구체적이고 맥락에 맞는 정보를 전달함; 무관한 제품이나 페이지로 옮겨도 그대로 성립하는 교체 가능한 추상 표현에 의존하지 않음"
|
|
7571
7571
|
},
|
|
7572
7572
|
{
|
|
7573
|
-
"en": "visual and structural prominence
|
|
7574
|
-
"ja": "
|
|
7575
|
-
"ko": "시각적·구조적 강조가 내용의
|
|
7573
|
+
"en": "visual and structural prominence matches the content’s informational value, task relevance, and support; vague, generic, redundant, or weakly supported content does not become an oversized headline, card, badge, or statistic",
|
|
7574
|
+
"ja": "視覚的・構造的な強調は、内容の情報価値、タスクとの関連性、裏付けの強さに見合う。曖昧、汎用的、重複、または根拠の弱い内容を巨大な見出し、カード、バッジ、統計として前面に出さない",
|
|
7575
|
+
"ko": "시각적·구조적 강조가 내용의 정보 가치·과업 관련성·근거 수준에 맞음; 모호하거나 범용적이거나 중복되거나 근거가 약한 내용을 거대한 제목·카드·뱃지·통계로 내세우지 않음"
|
|
7576
7576
|
}
|
|
7577
7577
|
],
|
|
7578
7578
|
"title": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"catalogVersion": "0.
|
|
3
|
-
"contentHash": "sha256:
|
|
2
|
+
"catalogVersion": "0.8.0",
|
|
3
|
+
"contentHash": "sha256:2eca040387f64807366282dacff82a40309b1dc93c3a52f6c58df024197c6d7b",
|
|
4
4
|
"counts": {
|
|
5
5
|
"auditChecks": 51,
|
|
6
6
|
"components": 20,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-stylebook-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.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,14 +84,13 @@ 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.
|
|
88
|
-
recommendation
|
|
89
|
-
|
|
90
|
-
prominent
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
headlines, cards, badges, or statistics.
|
|
87
|
+
Do not treat the absence of internal jargon as a pass. For every material claim, conclusion, or
|
|
88
|
+
recommendation, ask what supports it and whether wording and certainty match that support. Qualify or
|
|
89
|
+
remove unsupported content; never invent evidence, facts, or next steps. Ask what concrete information
|
|
90
|
+
each prominent sentence adds and whether it would remain equally plausible on an unrelated product or
|
|
91
|
+
page. Reject interchangeable consultancy filler. Match typographic and structural prominence to
|
|
92
|
+
information value, task relevance, and support; demote vague, generic, redundant, or weakly supported
|
|
93
|
+
content instead of making it a giant headline, card, badge, or statistic.
|
|
95
94
|
|
|
96
95
|
**No formulaic opening.** The disease was never *two columns* — strong products (Linear, Stripe) put
|
|
97
96
|
copy beside a visual. The disease is **generic furniture**: a copy stack
|
package/skill/CLAUDE.md
CHANGED
|
@@ -84,14 +84,13 @@ 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.
|
|
88
|
-
recommendation
|
|
89
|
-
|
|
90
|
-
prominent
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
headlines, cards, badges, or statistics.
|
|
87
|
+
Do not treat the absence of internal jargon as a pass. For every material claim, conclusion, or
|
|
88
|
+
recommendation, ask what supports it and whether wording and certainty match that support. Qualify or
|
|
89
|
+
remove unsupported content; never invent evidence, facts, or next steps. Ask what concrete information
|
|
90
|
+
each prominent sentence adds and whether it would remain equally plausible on an unrelated product or
|
|
91
|
+
page. Reject interchangeable consultancy filler. Match typographic and structural prominence to
|
|
92
|
+
information value, task relevance, and support; demote vague, generic, redundant, or weakly supported
|
|
93
|
+
content instead of making it a giant headline, card, badge, or statistic.
|
|
95
94
|
|
|
96
95
|
**No formulaic opening.** The disease was never *two columns* — strong products (Linear, Stripe) put
|
|
97
96
|
copy beside a visual. The disease is **generic furniture**: a copy stack
|
|
@@ -121,8 +121,9 @@ 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:
|
|
125
|
-
|
|
124
|
+
The absence of internal jargon is not a pass: ask what each material statement actually says,
|
|
125
|
+
what supports it, whether it is specific to this context, and whether its certainty and prominence
|
|
126
|
+
match that support and its usefulness.
|
|
126
127
|
*This inline pass is your job on every build.* The server also ships three deeper audits as MCP
|
|
127
128
|
**prompts** — `audit-design-direction`, `audit-design-principles`, `audit-ux-principles`. Those
|
|
128
129
|
are slash commands the **user** invokes, not tools you can call, so don't wait on them: do the
|
|
@@ -255,21 +256,18 @@ Apply this section when the confirmed scope includes user-facing copy or the ful
|
|
|
255
256
|
sections, and disclosures against the primary user task. Keep them when useful. Remove, merge, or
|
|
256
257
|
demote them only when the observed context shows they are irrelevant — no content type is banned by
|
|
257
258
|
default.
|
|
258
|
-
- **
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
frame it narrowly as a source-scoped possibility or general guidance.
|
|
259
|
+
- **Match claims to support.** For every material claim, conclusion, or recommendation, identify what
|
|
260
|
+
in the available content, evidence, or context supports it. Calibrate wording and certainty to that
|
|
261
|
+
support, and make decision-relevant sources or limits visible. Qualify or remove anything that
|
|
262
|
+
cannot be supported; never invent evidence, facts, or next steps to make copy sound useful.
|
|
263
263
|
- **Reject abstract consultancy filler.** A string can fail even when it contains no internal jargon.
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
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.
|
|
264
|
+
Ask what concrete information it adds here and whether the unchanged sentence would remain equally
|
|
265
|
+
plausible on an unrelated product or page. Rewrite it around the information this audience needs
|
|
266
|
+
to understand, decide, or act. If it cannot become specific without inventing facts, remove it.
|
|
267
|
+
- **Match emphasis to substance.** Match typographic and structural emphasis to information value,
|
|
268
|
+
task relevance, and support. Do not turn vague, generic, redundant, or weakly supported content into
|
|
269
|
+
an oversized headline, isolated card, badge, or statistic. Replace it with content that earns the
|
|
270
|
+
attention, or demote it and reduce its scale.
|
|
273
271
|
- **Rewrite without inventing.** Preserve factual meaning, material caveats, and domain nuance. For
|
|
274
272
|
findings/proposal scope, show the smallest useful before → after rewrite and why. For implementation
|
|
275
273
|
scope, edit the real strings, re-check wrapping and hierarchy at target locales/viewports, and
|