polishup-cli 0.0.0-stage → 0.1.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.
Files changed (46) hide show
  1. package/.opencode/commands/polishup.md +6 -0
  2. package/LICENSE +21 -0
  3. package/README.md +177 -3
  4. package/cli/hosts.mjs +171 -0
  5. package/cli/index.mjs +256 -0
  6. package/cli/installations.mjs +300 -0
  7. package/cli/update.mjs +57 -0
  8. package/package.json +53 -6
  9. package/skills/polishup/LICENSE.txt +21 -0
  10. package/skills/polishup/SKILL.md +84 -0
  11. package/skills/polishup/references/code/implementation.md +43 -0
  12. package/skills/polishup/references/code/index.md +13 -0
  13. package/skills/polishup/references/code/rules.md +24 -0
  14. package/skills/polishup/references/colors.md +65 -0
  15. package/skills/polishup/references/research.md +50 -0
  16. package/skills/polishup/references/tools.md +57 -0
  17. package/skills/polishup/references/ui-ux/accessibility.md +136 -0
  18. package/skills/polishup/references/ui-ux/art-direction.md +127 -0
  19. package/skills/polishup/references/ui-ux/audio-and-video.md +121 -0
  20. package/skills/polishup/references/ui-ux/data-visualization.md +130 -0
  21. package/skills/polishup/references/ui-ux/design-ethics.md +98 -0
  22. package/skills/polishup/references/ui-ux/design-evaluation.md +123 -0
  23. package/skills/polishup/references/ui-ux/design-systems.md +110 -0
  24. package/skills/polishup/references/ui-ux/foundations.md +23 -0
  25. package/skills/polishup/references/ui-ux/index.md +29 -0
  26. package/skills/polishup/references/ui-ux/information-architecture.md +132 -0
  27. package/skills/polishup/references/ui-ux/interaction-design.md +155 -0
  28. package/skills/polishup/references/ui-ux/motion-design.md +110 -0
  29. package/skills/polishup/references/ui-ux/performance.md +109 -0
  30. package/skills/polishup/references/ui-ux/responsive-design.md +98 -0
  31. package/skills/polishup/references/ui-ux/rules.md +36 -0
  32. package/skills/polishup/references/ui-ux/ux-research.md +110 -0
  33. package/skills/polishup/references/ui-ux/visual-design.md +147 -0
  34. package/skills/polishup/references/writing/accessibility-and-inclusion.md +57 -0
  35. package/skills/polishup/references/writing/content-and-evidence.md +83 -0
  36. package/skills/polishup/references/writing/content-structure.md +94 -0
  37. package/skills/polishup/references/writing/foundations.md +19 -0
  38. package/skills/polishup/references/writing/index.md +17 -0
  39. package/skills/polishup/references/writing/language-and-style.md +83 -0
  40. package/skills/polishup/references/writing/multilingual-writing.md +51 -0
  41. package/skills/polishup/references/writing/purpose-audience-context.md +72 -0
  42. package/skills/polishup/references/writing/review-and-revision.md +81 -0
  43. package/skills/polishup/references/writing/rules.md +26 -0
  44. package/skills/polishup/references/writing/voice-and-tone.md +72 -0
  45. package/skills/polishup/scripts/NOTICE.txt +27 -0
  46. package/skills/polishup/scripts/color.mjs +5626 -0
@@ -0,0 +1,36 @@
1
+ # UI/UX Rules
2
+
3
+ Apply to interfaces and their styling, imagery, and motion, not standalone 3D work, illustration, film, or other visual media. Do not introduce the patterns below by default. They are PolishUp interface design restrictions, not universal usability rules or proof of AI authorship. Review reports policy mismatches without unrequested edits.
4
+
5
+ These defaults intentionally limit some styling choices. The alternatives illustrate options, not a required replacement style; do not turn them into a uniform sparse, neutral, or enterprise look.
6
+
7
+ Preserve relevant existing identity, content, behavior, and project conventions during maintenance and extensions. Missing approval records or DESIGN.md do not make an existing product unconstrained. A listed pattern alone does not authorize replacing it during unrelated refinement.
8
+
9
+ An explicit user request or relevant established project direction can override affected styling defaults. A visual reference the user asks to match or adapt counts as direction for the requested features. A reference found during research, or supplied only for content or behavior, does not authorize copying its styling. Reuse established choices needed for continuity; an incidental effect is not permission to add it elsewhere. Follow applicable direction without repeated approval. The agent's own rationale does not authorize an exception; requesting blue or a modern look does not request a gradient. Otherwise choose an alternative.
10
+
11
+ | Do not introduce by default | Possible alternatives |
12
+ | --- | --- |
13
+ | Purple, blue, indigo, or violet gradient themes on heroes, buttons, or backgrounds; gradient-filled headings or metrics; decorative gradients repeated across surfaces | Choose color roles for the product and use solid, contrast-checked text and action fills |
14
+ | Blurred orbs, aurora washes, neon glows, colored shadow halos, decorative grid/dot fields, repeating stripes, particles, or beams | Let content, composition, and relevant imagery establish emphasis |
15
+ | Frosted-glass panels or floating pill navigation as a style preset; oversized rounding, diffuse shadows, or a thin border combined with a broad shadow on every card | Use task-appropriate navigation, grouping, shape, and elevation |
16
+ | Cream/terracotta with dramatic serif type, black/neon themes, newspaper styling, or neobrutalist styling with heavy outlines and hard offset shadows used as a ready-made identity | Choose type, color, and density from the actual subject and brief rather than another preset |
17
+ | A repeated announcement pill, oversized centered headline, vague subtitle, paired CTAs, logo strip, and closing gradient banner | Organize the opening and sections around the product's actual message, evidence, and next action |
18
+ | Identical icon-heading-description feature cards, tinted bento teasers, nested cards, or a container around every paragraph | Prioritize content and use appropriate rows, sections, comparisons, or object-based cards |
19
+ | Decorative uppercase labels above every heading, nonsequential section numbers, arrows on every action, or dots and badges with no actual status | Keep labels and indicators that communicate category, sequence, navigation, or state |
20
+ | Repeated colored icon tiles, oversized decorative icon blocks, arbitrary emoji icons, generic sparkles/rocket/shield motifs, or colored side stripes with no meaning | Use a coherent icon family where it aids recognition; keep meaningful warnings and status cues |
21
+ | One dramatized word or colored serif italics in every headline, monospace as generic technical styling, or display-sized copy that hides the product and action | Set readable role-based typography; preserve code, identifiers, and purposeful emphasis |
22
+ | Decorative terminals, unreadable pseudo-interfaces, generic AI brains/robots, rough placeholder illustrations, abstract 3D filler, or browser frames that obscure the product | Show relevant product information or suitable assets; omit a visual when it adds no information or intended character |
23
+ | Autoplaying testimonial carousels, anonymous avatar stacks, decorative KPI rows, or logo walls added as standard social proof | Use relevant, verifiable evidence only when it belongs in the message |
24
+ | Fade-and-slide entrances on every section, staggered reveals for every row, repeated bounce, hover-lift, or image zoom used as decoration | Use motion selectively for feedback, orientation, or an explicitly requested expressive treatment |
25
+ | Fake blinking carets, typing headlines, pulsing static status dots, count-up statistics, cursor trails, or automatic logo/ticker marquees | Show readable text, actual values, and honest status; keep necessary motion and media controllable |
26
+ | Redundant labels, descriptions, helper text, welcome panels, tips, or AI insight panels added to fill a screen | Keep distinct task information; preserve accessible labels, necessary constraints, and recovery guidance |
27
+ | Modal dialogs for routine navigation or multi-section work without a need for interruption or protected focus | Use a suitable page or in-place controls; retain a scoped dialog when it supports the task |
28
+ | An unchanged starter page with placeholder sections, branding, or asset slots; meaningless dashboard metrics, unwired controls, or shortcut hints with no working action | Build the requested content and behavior; label genuine prototype limits instead of implying working capabilities |
29
+
30
+ These restrictions concern the decorative uses described, not all blue or purple colors, dark themes, serif fonts, cards, native platform materials, numbered instructions, status indicators, or data gradients. Familiar controls, deliberate avatar fallbacks, loading placeholders, informative diagrams, and a single readable font family remain valid. Do not remove useful behavior or force unusual layouts to look original. No user preference authorizes fabricated evidence or an unsupported accessibility claim.
31
+
32
+ Replace listed patterns when their removal is part of the requested change; preserve unrelated styling, meaning, and task support. Repair evidenced usability or accessibility problems within scope while retaining unaffected identity. Flag wider concerns without silently expanding the work. Check for replacement presets too. [Impeccable](https://impeccable.style/slop/), [SlopFix](https://slopfix.getbags.app/checklist), and [Paralect](https://www.paralect.com/blog/signs-of-ai-slop-in-design) provide practitioner examples, not prevalence measurements. Do not target detector scores or require a detector.
33
+
34
+ ## Check the result
35
+
36
+ Check the affected screen as a whole: task priority, grouping, readable type, actual color pairs, useful density, content, controls, states, and responsive behavior. A collection of permitted components can still obscure the task. Match claimed improvements to the delivered artifact; a rationale or screenshot does not prove working interactions or accessibility. Report only checks performed. Use the [UI/UX index](index.md) for unresolved decisions and [Writing rules](../writing/rules.md) for UI copy. Check applicable restrictions and exceptions without turning a narrow repair into a full audit.
@@ -0,0 +1,110 @@
1
+ # UX Research
2
+
3
+ Use when the design goal, user need, evidence, or direction is unresolved. For a settled narrow task, use the relevant section without reopening product strategy.
4
+
5
+ ## Frame the problem
6
+
7
+ Inspect the brief, current product, content, components, brand guidance, design files, constraints, feedback, and prior research as relevant. Reuse established decisions. A project requirement states what is requested; it does not prove user demand.
8
+
9
+ Establish enough context to decide:
10
+
11
+ - **Outcome:** what people must understand, decide, accomplish, or experience; what prevents it.
12
+ - **People:** users and affected groups, including operators, buyers, administrators, and customers with different interests.
13
+ - **Situation:** task trigger, environment, devices, interruptions, dependencies, and work before or after the screen.
14
+ - **Limits:** requested deliverable, business objectives, commitments, non-goals, resources, and deadline.
15
+ - **Success:** useful improvement and behavior or identity to preserve.
16
+
17
+ Separate needs from solutions. “Add a dashboard” specifies an approach; locating unresolved exceptions before handover describes a possible need. Verify that interpretation. Reframing does not authorize replacing an explicitly requested implementation or expanding scope.
18
+
19
+ Expose tensions between business and user goals. Informed plan selection can support subscriptions; concealing terms to increase conversion creates a conflict. Seek an approach serving legitimate objectives without hiding consequences.
20
+
21
+ Framing can evolve during exploration. If a sketch reveals missing data rather than a layout problem, revisit that assumption without restarting all discovery.
22
+
23
+ ## Understand user tasks
24
+
25
+ Describe relevant behavior and conditions, not invented demographic biographies. Domain expertise, product familiarity, use frequency, language, permissions, and access needs can affect decisions independently.
26
+
27
+ For complex work, identify the trigger, desired end state, inputs, decisions, handoffs, tools, and consequential exceptions. Inspect workarounds: an accompanying spreadsheet may reveal missing functionality or a necessary approval. Determine a step's purpose before removing it as friction. Use a diagram only when it clarifies complexity.
28
+
29
+ Use mental models to describe how users expect objects, terms, steps, status, and consequences to work. Compare these expectations with observed behavior; clicks alone do not reveal motives. Preserve familiar conventions and explain necessary differences.
30
+
31
+ ## Assess evidence and assumptions
32
+
33
+ | Basis | Supports | Does not establish alone |
34
+ | --- | --- | --- |
35
+ | Requirement or project convention | What the project requests or commits to | User demand |
36
+ | Observation or measured behavior | What happened under recorded conditions | Intent, prevalence, or causality |
37
+ | Participant report | That person's account or evaluation | Accurate recall or future adoption |
38
+ | External research or professional guidance | Findings within its population, task, and scope | Transfer to every product; heuristics and standards have different authority |
39
+ | Assumption, interpretation, or preference | A proposed explanation or choice | An observed user fact |
40
+
41
+ Check evidence age, product version, method, missing groups, and relevance. Support tickets omit people who never contact support; analytics omit untracked behavior. Few complaints do not prove few problems.
42
+
43
+ When findings conflict, inspect segments, tasks, definitions, and collection methods. Seek counterexamples to consequential assumptions. A rare severe access barrier can outweigh a frequent inconvenience.
44
+
45
+ Record the basis for major decisions in existing notes. Never invent interviews, quotations, researched personas, sample counts, or validation. Model-generated personas can suggest hypotheses; they are not evidence from participants.
46
+
47
+ ## Ask, research, or proceed
48
+
49
+ Identify the uncertainty that could change the decision, consequences if wrong, and reversibility.
50
+
51
+ | Situation | Action |
52
+ | --- | --- |
53
+ | Answer exists in supplied material or the current product | Inspect it rather than asking again |
54
+ | Missing intent, authority, scope, or business constraint would materially change work | Ask a focused stakeholder question; public research cannot establish a private decision |
55
+ | Unknown concerns actual behavior, comprehension, or use conditions | Use relevant user evidence or an appropriate research method |
56
+ | Choice is low-risk, reversible, and has a defensible project or platform default | Proceed; disclose assumptions that materially affect the result |
57
+ | Consequential unknown cannot be resolved | Keep that choice provisional, explain the consequence and next check, and complete unaffected work |
58
+
59
+ Ordinary design work does not authorize participant contact, published experiments, or external sharing of private research. If tools or access are unavailable, use authorized artifacts and state limitations rather than reporting simulated research.
60
+
61
+ Stop when evidence is adequate for the scoped decision. More browsing cannot establish an individual's unobserved needs or a missing stakeholder decision.
62
+
63
+ ## Choose research methods
64
+
65
+ Reuse relevant findings. Choose methods for the question, available access, risk, and evidence needed. Do not let a tool or fixed sequence determine the method.
66
+
67
+ | Question | Suitable starting approach | Limit |
68
+ | --- | --- | --- |
69
+ | What exists and constrains the solution? | Product, brief, system, support, and domain-source inspection | Omits needs absent from those materials |
70
+ | What are people trying to achieve? | Contextual interviews, recent incidents, real-artifact walkthroughs | Hypothetical enthusiasm does not predict adoption |
71
+ | How is work actually done? | Observation, contextual inquiry; diaries for behavior over time | A small purposive sample does not measure prevalence |
72
+ | Can people understand and complete a task? | Task-based usability sessions with a sufficiently functional artifact | Does not establish demand or long-term adoption |
73
+ | How do people group or locate information? | Card sorting for grouping hypotheses; tree testing for findability | Neither produces a complete visual navigation design |
74
+ | How common is an issue or attitude? | Suitable survey or behavioral data with a defined population and measures | Does not establish causes or unmeasured explanations |
75
+ | Did a change affect an outcome? | Authorized, properly designed experiment; observational comparison with stated limits otherwise | Uncontrolled before/after differences do not establish causality |
76
+ | Which visual or interaction approaches might fit? | Focused reference research and meaningful concept comparison | Attractive examples do not validate usability |
77
+
78
+ [NN/g's methods comparison](https://www.nngroup.com/articles/which-ux-research-methods/) distinguishes attitudes, behavior, qualitative and quantitative inquiry, and use context. Combine methods when they resolve a meaningful gap, without a triangulation quota.
79
+
80
+ ### Work with participant evidence
81
+
82
+ Recruit for relevant experience and variation, including newcomers, nonusers, or excluded users where needed. Colleagues and current customers may not represent them. Include relevant language and access needs; one participant cannot represent every disability or assistive strategy.
83
+
84
+ Use neutral prompts about specific events. Ask “Show how you handled the last failed import” rather than “Would this smart dashboard help?” Give usability participants a goal without teaching the route. Separate their words from interpretation and retain contradictory findings.
85
+
86
+ Explain participation and data use; obtain appropriate collection and recording consent, protect confidentiality, and avoid unnecessary sensitive data. Provide usable communication and accommodations. Do not upload identifiable research to external tools without authorization.
87
+
88
+ Choose sample size for the method, participant variation, and risk. There is no universal count. Information power, the relevant information an interview sample provides, is not a sample-size formula for experiments or usability tests. Population estimates and effect comparisons need suitable sampling and statistical justification. Limited access requires narrower claims, not unsupported claims of representativeness or saturation.
89
+
90
+ ## Set an initial design direction
91
+
92
+ Reuse established tasks, real content, audience, brand, platform expectations, components, and constraints. A missing design-system file does not make an existing interface a blank slate. Separate missing visual direction from unknown user needs; resolve gaps that change this task. A missing formal system does not require adopting a complete one.
93
+
94
+ Before substantial visual work, define enough character, hierarchy, density, and conventions to guide implementation. Turn broad style requests into concrete choices; do not assign a style from the industry alone. Use [Art Direction](art-direction.md) to research references or compare meaningfully different concepts when the choice warrants it.
95
+
96
+ Research only gaps that could change the result. Use relevant guidelines, comparable products, and user evidence to answer questions about tasks, interaction, density, content, or identity. Comparing system names or spacing numbers alone does not establish fit. When existing guidance suffices, proceed; a small repair needs no new moodboard or approval cycle.
97
+
98
+ Use [Visual Design](visual-design.md) for craft choices. Its spacing fallback fills missing spatial choices after context is understood; it does not choose the direction or replace needed research. When evidence or tools are unavailable, state consequential assumptions and keep affected choices provisional. Record useful rationale in the existing deliverable without requiring a separate design-system document.
99
+
100
+ ## Define requirements and success criteria
101
+
102
+ Connect a finding to a necessary capability before prescribing a component. If people lose their place while comparing records, specify what context must remain available, then evaluate suitable approaches.
103
+
104
+ Choose criteria representing outcomes and risks. “Three cards exist” describes an output; “an operator can identify the import needing action and explain its status” describes a task outcome. Clicks, session length, and completion speed can improve or worsen an experience depending on purpose.
105
+
106
+ Connect goals to observable signals and appropriate measures, following the distinction in [Google's user-centered metrics research](https://research.google/pubs/measuring-the-user-experience-on-a-large-scale-user-centered-metrics-for-web-applications/). Do not require every HEART category, invent baselines, or add instrumentation for a minor task. Mark unestablished targets as proposals.
107
+
108
+ Ask whether the criterion could pass while the problem remains. Successful submission does not prove someone understood the commitment. When useful, record the need, evidence, decision, trade-off, and remaining check in the deliverable. A plausible explanation is not user validation.
109
+
110
+ Use [Information Architecture](information-architecture.md) for grouping and flows, [Design Evaluation](design-evaluation.md) for evaluation and repair priority, and [Purpose, Audience & Context](../writing/purpose-audience-context.md) or [Content & Evidence](../writing/content-and-evidence.md) when the unresolved issue concerns communication.
@@ -0,0 +1,147 @@
1
+ # Visual Design
2
+
3
+ Use for hierarchy, grouping, layout, spacing, typography, color, density, and visual detail. Apply [UI/UX rules](rules.md) unless already in context. Reuse the established task, content, and identity. Use [UX Research](ux-research.md) when those are unresolved, or [Art Direction](art-direction.md) when the decision concerns concepts or imagery.
4
+
5
+ ## Contents
6
+
7
+ - [Hierarchy](#set-visual-hierarchy) and [grouping](#group-related-elements)
8
+ - [Layout and spacing](#define-layout-and-spacing), including [spacing scales](#choose-a-spacing-scale)
9
+ - [Typography](#define-typography-styles) and [color](#define-color-roles-and-contrast)
10
+ - [Density](#choose-content-density), [borders, shadows, and shape](#use-borders-shadows-and-shape)
11
+ - [Visual details](#refine-visual-details) and [generic patterns](#review-generic-design-patterns)
12
+ - [Rendered checks](#check-the-rendered-design) and [accessibility requirements](#standards-and-reading-flexibility)
13
+
14
+ ## Set visual hierarchy
15
+
16
+ Identify what people need to notice, read, compare, or do now. Distinguish the main work, supporting context, secondary options, and important conditions. Several elements can share priority in a comparison; every screen does not need one dominant CTA.
17
+
18
+ Combine size, weight, contrast, placement, grouping, and spacing. Reduce competing emphasis before enlarging the main element. Keep important costs, limits, and conditions readable beside the affected choice.
19
+
20
+ A marketing page, reading view, and operations dashboard need different emphasis. Check hierarchy against their actual use, rather than a standard hero or equal-weight card grid.
21
+
22
+ ## Group related elements
23
+
24
+ Use related cues together; one visual rule does not determine every grouping.
25
+
26
+ | Cue | Application | Problem to check |
27
+ | --- | --- | --- |
28
+ | Proximity | Associate labels, values, help, and actions | A heading appears attached to the preceding section |
29
+ | Similarity | Give comparable roles a recognizable treatment | Different roles look interchangeable |
30
+ | Boundaries | Enclose an independent object or task when useful | Nested cards fragment a continuous comparison |
31
+ | Alignment and continuity | Connect rows, columns, and sequences | Drift associates a control with the wrong item |
32
+ | Foreground and background | Separate useful content from context | Texture or overlays obscure meaning |
33
+ | Repetition and difference | Establish a pattern and identify exceptions | Unique styling everywhere, or identical styling hiding a real distinction |
34
+
35
+ Choose spacing, alignment, boundaries, and surfaces for the relationship and intended identity, within the permitted direction. Clear grouping alone does not justify removing an intentional frame or surface. Check at actual display size.
36
+
37
+ ## Define layout and spacing
38
+
39
+ Establish content regions and shared alignment lines. Allocate space by reading and comparison needs; equal columns and symmetrical sections are optional. A narrow identifier column and wide description column can serve a table better than equal widths.
40
+
41
+ Reuse the project grid and spacing scale. If none exists, establish a small set of relationships: within items, between related items, between groups, and around major regions. Do not build a token catalog for one page.
42
+
43
+ For a new multi-column layout, separate the content area from navigation and side panels. Align major containers to shared columns; use internal spacing for labels, icons, and controls rather than forcing every element onto the page grid. [Atlassian's grid guidance](https://atlassian.design/foundations/grid/) makes this distinction. A simple stack may need no column grid. Choose a bounded reading width, wider comparison area, or fluid workspace by the content, without imposing one column count or maximum width everywhere.
44
+
45
+ Usually keep related items closer than separate groups, considering type size, alignment, and borders together. Equal gaps can hide hierarchy; arbitrary gaps can imply relationships that do not exist.
46
+
47
+ Inspect text baselines and visible contours as well as bounding boxes. Use optical corrections sparingly, without replacing a coherent layout with unrelated offsets. Test real labels, wrapped values, errors, and translations. Let containers grow or reorganize instead of shrinking text or clipping conditions to maintain equal heights.
48
+
49
+ ### Choose a spacing scale
50
+
51
+ Establish the relevant task, content, input, density, and direction before choosing spacing. For a new interface with material gaps, use [UX Research](ux-research.md#set-an-initial-design-direction) to resolve them through available evidence, focused questions, or proportionate research. Settled context does not require another design-system comparison.
52
+
53
+ For custom layout spacing with no suitable project or platform convention, prefer a documented eight-based scale such as [Atlassian's](https://atlassian.design/foundations/spacing/). Use this fallback only for missing spacing decisions. Choose steps for grouping, density, and content; keep equivalent gaps consistent. It does not select the overall design.
54
+
55
+ | Decision | Guidance |
56
+ | --- | --- |
57
+ | Main layout relationships | Prefer eight-based steps such as 8, 16, 24, 32, 48, or 64 within the selected scale |
58
+ | Tight component detail | Use supported smaller steps; Atlassian also includes 2, 4, 6, and 12, among others |
59
+ | Repeated roles and distinct groups | Keep equivalent relationships consistent and separate groups more strongly than their internal parts |
60
+ | Optical mismatch | Inspect visible shapes and text metrics; adjust deliberately rather than preserving an imbalance to satisfy the grid |
61
+
62
+ The examples are CSS pixels for web layout; use relative units where appropriate, respecting the user's default text size. Native units and controls need their own guidance. Do not round font sizes, line heights, borders, radii, hit areas, safe areas, or computed geometry to this spacing scale.
63
+
64
+ Eight-based does not mean every value is divisible by eight. Preserve working project conventions and documented component metrics, including justified exceptions. Adjust spacing choices across available space and input conditions while retaining meaningful relationships. Source-derived values are design conventions, not guarantees of usability or accessibility.
65
+
66
+ ## Define typography styles
67
+
68
+ Choose needed roles first: body text, headings, labels, values, captions. Coordinate size, weight, spacing, and placement without creating a separate style for every nesting level.
69
+
70
+ Select type for reading conditions, supported scripts, distinguishable characters, and product character. Check glyph coverage and fallback. Existing or system fonts are valid; novelty and price do not establish suitability. Data views need distinguishable digits, letters, punctuation, and units.
71
+
72
+ Adjust font size, line length, line height, weight, and letter spacing together. The same nominal size can look different across fonts. Tight line height can obscure accents; excessive line height separates related lines. Long lines can be hard to follow, while narrow columns cause frequent wrapping. [Butterick's line-length guidance](https://practicaltypography.com/line-length.html) offers roughly 45 to 90 characters as a starting range for Latin-script body text, not labels, tables, all scripts, or every viewport.
73
+
74
+ Keep characters distinguishable when adjusting tracking or weight. Do not compress lettering or shrink important text to preserve a decorative composition; change the wrapping or available space when needed.
75
+
76
+ Preserve script conventions. Check diacritics, punctuation, numerals, line breaks, and mixed-direction content. Do not apply Latin uppercase, tracking, hyphenation, or left alignment mechanically to another writing system. Keep units near values; use consistent numeric alignment and suitable tabular figures when comparison benefits. Monospace is not required for every number.
77
+
78
+ Read real content at its intended size and enlarged. A font sample alone does not show whether product text is readable.
79
+
80
+ When no type guidance exists, select a small set of matched styles for the actual font, task, script, and platform. For example, [Carbon's type sets](https://www.carbondesignsystem.com/building-blocks/foundations/typography/type-sets) pair 14/20 CSS pixels for productive body text and 16/24 for expressive body text, calibrated with IBM Plex. These are contextual size/line-height examples, not mandatory defaults for another font. [Spectrum's typography guidance](https://spectrum.adobe.com/foundations/typography/typography-system) explains platform and script differences. Use appropriate native text styles and user preferences; preserve their metrics instead of rounding to the spacing grid.
81
+
82
+ Give recurring roles recognizable size, weight, and spacing relationships. A local panel heading need not be as large as a page title. Select larger expressive type when the brief supports it; do not create hierarchy by making every heading huge or every secondary label faint. Visual size and semantic heading level are separate decisions. Check the actual font, adjacent controls, wrapping, and enlargement before repeating the styles.
83
+
84
+ ## Define color roles and contrast
85
+
86
+ Assign roles to content, surfaces, boundaries, actions, selection, status, and identity. Reuse established mappings. Check actual foreground/background pairs, including transparency, imagery, gradients, and relevant states.
87
+
88
+ Without color guidance, define only needed roles: page/surface, primary/secondary text, border, action and its label, focus, selection, and relevant status pairs. Keep each foreground with its intended background; a label suitable on an action fill may fail on a pale surface. [Material's color-role guidance](https://m3.material.io/styles/color/roles) explains pairing and layering. Select actual colors for identity and verified contrast, not a default brand palette. When focused and selected states coexist, preserve selection while adding a distinguishable focus cue.
89
+
90
+ Preserve role meaning across themes. Brand, status, selection, and action can share a hue without sharing a treatment; avoid contradictory meanings and add non-color cues for essential distinctions. Inspect actual foreground/surface pairs after customization in light, dark, selected, focused, hovered, and disabled states. Inverting colors, choosing a token, or reusing a palette does not establish hierarchy or contrast. Keep useful metadata readable rather than making it resemble unavailable content.
91
+
92
+ Color associations vary with language and context; a hue does not guarantee trust or conversion. Contrast calculations answer a specific question, not every reading, hierarchy, or accessibility question. Use the scoped requirements below.
93
+
94
+ ## Choose content density
95
+
96
+ Keep information visible together when people must compare it. A dense operational table can reduce navigation and memory work; turning every row into a large card can make comparison harder. An expressive reading page can legitimately need more space and pacing.
97
+
98
+ Adjust row height, controls, gaps, widths, labels, and emphasis together. Remove redundant decoration before making text smaller. Whitespace should separate, connect, pace, or emphasize. Excessive gaps can break a group or push important context out of view.
99
+
100
+ Use repeatable relationships with variation where function changes. Equal section heights, alternating left/right blocks, and identical feature groups are not required. Check whether the intended reader can find and compare what matters without avoidable scrolling or memorizing. Minimalism is not a universal quality standard.
101
+
102
+ ## Use borders, shadows, and shape
103
+
104
+ Use borders, surfaces, shadows, rounding, and layering to communicate grouping, interaction, depth, or identity. Keep treatment consistent with its role. Raising a static paragraph like a movable object can imply a capability it lacks.
105
+
106
+ Choose the separation needed: spacing can group a continuous task, a boundary can distinguish an object, and elevation can identify an overlapping layer. Do not give every container the same shadow or roundness by default. For nested rounded surfaces, inspect the relationship between outer curve, inset, and inner curve; independently chosen radii can produce uneven corners. Preserve appropriate native materials or project geometry rather than imposing one radius everywhere.
107
+
108
+ Apply the [UI/UX rules](rules.md) before adding effects or decorative containers. Within an approved direction, adjust an effect's strength, area, placement, or contrast when it competes with content. A style need not improve task speed to serve expression or identity.
109
+
110
+ ## Refine visual details
111
+
112
+ Compare equivalent elements in the same context: role, alignment, spacing, type, boundaries, icon proportions, and state treatment. Repair accidental differences; preserve intentional variants.
113
+
114
+ Inspect clipping, collisions, line breaks, truncated conditions, baseline drift, long or missing content, large values, and translated labels. Address unreadable information or misleading hierarchy before low-impact adjustments. Match precision to the deliverable: a discovery sketch does not need production polish.
115
+
116
+ ### Review generic design patterns
117
+
118
+ First check the [UI/UX rules and exceptions](rules.md). For other patterns and permitted exceptions, inspect purpose, hierarchy, and fit. Identify the element, its effect, and a proportionate change. Distinguish a PolishUp policy mismatch from a usability defect; popularity alone does not establish the latter.
119
+
120
+ Check priority, proximity, density, and wording before adding styling. Retain meaningful status badges and useful constraints. For claims with an unclear basis, check supplied records before judging them; flag unverified claims, use honest placeholders, and never invent proof.
121
+
122
+ For decorative controls or polished happy paths with unresolved states, define relevant actions and states using [Interaction Design](interaction-design.md); use [Motion Design](motion-design.md) for movement. Label illustrative mockups and prototype limits rather than implying unavailable capabilities.
123
+
124
+ For a project-specific screen, consider whether changing only the name would leave its priorities and claims equally suitable for unrelated products. If so, inspect task context and identity. Standard forms need not be made unusual. A permitted style still needs coherent hierarchy and readable content; replacing one excluded preset with another does not improve fit.
125
+
126
+ For example, reduce a decorative dashboard introduction when it hides urgent comparisons; allow pricing conditions to wrap rather than clipping them for equal card heights; preserve a readable asymmetric portfolio while repairing collisions.
127
+
128
+ ## Check the rendered design
129
+
130
+ Inspect representative content, relevant states, and the delivered result when available. Compare task priority with visible emphasis. Blurred or grayscale views can help reveal grouping, but cannot verify readability, color accessibility, semantics, or task success.
131
+
132
+ Separate aesthetic response, predicted usability, and observed outcomes. An attractive interface can still obstruct work. A screenshot reveals its displayed state; unshown behavior remains unverified. Use [Design Evaluation](design-evaluation.md) when a decision needs a different evaluation method.
133
+
134
+ ### Standards and reading flexibility
135
+
136
+ For web work targeting [WCAG 2.2](https://www.w3.org/TR/WCAG22/), retain these distinctions:
137
+
138
+ | Criterion | Level | Requirement and boundary |
139
+ | --- | --- | --- |
140
+ | 1.4.1 Use of Color | A | Color is not the only visual means of conveying essential information or distinctions |
141
+ | 1.4.3 Contrast (Minimum) | AA | Text/images of text normally need 4.5:1; qualifying large text needs 3:1. Large text is at least 18 point or 14 point bold, or equivalent CJK size. Apply the specified incidental-text and logotype exceptions |
142
+ | 1.4.11 Non-text Contrast | AA | Needed control/state information and meaningful graphic parts need 3:1 against adjacent colors, subject to inactive, unmodified user-agent, and essential-presentation exceptions |
143
+ | 1.4.4 Resize Text | AA | Except captions and images of text, text can grow to 200% without losing content or functionality |
144
+ | 1.4.12 Text Spacing | AA | Preserve content/function when the relevant overrides apply together: line height 1.5 times font size, paragraph spacing 2 times, letter spacing 0.12 times, word spacing 0.16 times, with the language/script exception. These are tolerance conditions, not required authored defaults |
145
+ | 1.4.10 Reflow | AA | Preserve information/function without two-dimensional scrolling at 320 CSS-pixel width for vertically scrolling content, or 256 CSS-pixel height for horizontally scrolling content, except parts requiring two-dimensional layout for use or meaning |
146
+
147
+ Secondary importance is not a contrast exception, and decorative borders are not all subject to non-text contrast. Meaningful reading sequence also needs appropriate programmatic representation under 1.3.2, A. Coordinate actual rendering and semantics with Engineering; use [Accessibility](accessibility.md) for applicability and broader access checks.
@@ -0,0 +1,57 @@
1
+ # Accessibility & Inclusive Writing
2
+
3
+ Use when content barriers, representation, or alternative formats affect understanding. [Multilingual Writing](multilingual-writing.md) covers translation and local conventions. Writing alone cannot establish product accessibility.
4
+
5
+ ## Identify content barriers
6
+
7
+ Use supplied requirements and observed difficulties to identify the obstacle: unfamiliar language, unexplained concepts, implicit information, memory or processing demands, inaccessible media, or inappropriate representation. Ask about a necessary function rather than demanding a diagnosis or inferring ability from identity.
8
+
9
+ Distinguish language proficiency, literacy, disability, topic expertise, and cultural background. A specialist may need explicit language or a different format while retaining full technical depth. Select assistance for the actual barrier; no single reading level or format serves everyone.
10
+
11
+ ## Apply relevant standards
12
+
13
+ For a standards-based task, establish version, conformance level, medium, and content scope. [WCAG 2.2](https://www.w3.org/TR/2024/REC-WCAG22-20241212/) is the normative source used here. Understanding documents explain criteria; [COGA guidance](https://www.w3.org/TR/coga-usable/) is supplemental. Neither adds requirements to WCAG by itself. Do not infer legal compliance from a style guide.
14
+
15
+ | WCAG 2.2 criterion | Level | Writing decision and boundary |
16
+ | --- | --- | --- |
17
+ | 1.1.1 Non-text Content | A | Provide an alternative serving equivalent purpose, subject to the criterion's exceptions. Informative, functional, and decorative content need different treatment |
18
+ | 2.4.4 Link Purpose (In Context) | A | Make purpose identifiable from link text or programmatically determined context, except where generally ambiguous. Every link need not stand alone |
19
+ | 2.4.6 Headings and Labels | AA | Provided headings and labels describe topic or purpose. This does not require headings everywhere or establish semantic markup; 1.3.1 addresses structure and relationships |
20
+ | 3.1.1 Language of Page; 3.1.2 Language of Parts | A; AA | Make the relevant human language programmatically determinable. Parts includes exceptions for names, technical terms, indeterminate language, and adopted vernacular |
21
+ | 3.1.5 Reading Level | AAA | For text above lower-secondary reading ability, after excluding proper names and titles, provide suitable supplemental content or a version within that level. This is not an AA grade-score requirement |
22
+
23
+ Definitions and abbreviations criteria 3.1.3 and 3.1.4 are AAA; specialist vocabulary is not universally prohibited at AA. A simplified version must preserve the information needed for its purpose. Interpret the full criterion and exceptions when they determine the design.
24
+
25
+ ## Reduce comprehension barriers
26
+
27
+ Make the point, action, conditions, and consequences easy to connect. Explain essential implications, define unfamiliar terms where needed, separate different instructions, and make clear what pronouns and labels refer to. Use [Language & Style](language-and-style.md) and [Content Structure](content-structure.md) for the specific repair.
28
+
29
+ Use literal language when idiom or cultural references obstruct essential instructions. Preserve intended creative expression; an accompanying explanation may address access without rewriting the work's identity. For quantities or probabilities, state the unit and relevant comparison, adding explanation when needed without changing the value or omitting a condition.
30
+
31
+ Choose plain language or a specialist format for an identified need. Short sentences alone do not make text suitable for a specialist format such as Easy Read or prove understanding. Preserve adult dignity and necessary detail. Add pictures when they help explain, and check that they do.
32
+
33
+ ## Provide content alternatives
34
+
35
+ Choose an alternative that preserves the information or function otherwise unavailable to the reader. Describe an image's contribution in context. A functional graphic needs its purpose communicated; a complex chart may need a takeaway plus accessible values, units, relationships, or a longer description. Decorative content should not add irrelevant spoken output. Apply the relevant exceptions and delivery requirements.
36
+
37
+ Inspect the actual image, recording, or data. If unavailable, identify the missing input rather than inventing details, speech, numbers, or identities. Distinguish a visible caption from a nonvisual alternative; avoid duplicating equivalent nearby information unnecessarily.
38
+
39
+ For media, determine whether speech, meaningful sounds, essential visuals, or their combination need representation. Captions, transcripts, and audio description serve different functions. A speech transcript does not replace synchronized captions or describe unspoken diagrams. WCAG 1.2 requirements depend on medium, live/prerecorded status, level, and exceptions; prepare the relevant content and arrange checks of timing, association, and delivery.
40
+
41
+ Use meaningful names for links and instructions, matching their actual destination or action. Avoid essential dependence on color, position, sound, or an icon alone. Specify the relationships the delivered format must preserve.
42
+
43
+ ## Represent people accurately
44
+
45
+ Include identity or demographic detail when relevant and supported. Do not infer competence, language, gender, or preferences from a name, appearance, location, or category. Use examples appropriate to the setting without treating one background as universal or one person as representative of a whole group.
46
+
47
+ Respect expressed names, pronouns, and self-description. Consult current community or professional guidance when terminology matters; individual preferences can differ from group conventions. Neither person-first nor identity-first English wording is universally preferred. Ask only for information needed by the task.
48
+
49
+ Keep narrator framing distinct from attributed quotations, historical terminology, fictional voices, and reclaimed descriptions. Explain important issues in context when needed, rather than silently replacing source wording. Gender-inclusive solutions and cultural conventions are language-specific; avoid applying an English word replacement mechanically elsewhere.
50
+
51
+ ## Check content and implementation
52
+
53
+ For creation, choose relevant support and alternatives. For refinement, repair the identified barrier and preserve meaning. For review, identify the affected passage or alternative, applicable need or criterion, proposed action, and delivery dependency.
54
+
55
+ Check whether the essential information remains obtainable through the intended reading path. Use relevant reader, subject-expert, or language feedback when available and important to the result. A checklist, score, imagined persona, or text-only review does not prove comprehension or WCAG conformance.
56
+
57
+ Writing specifies meaning, wording, alternatives, and content relationships. UI/UX verifies access paths, discoverability, and interaction; Engineering verifies semantics, language/direction handling, associations, and rendered behavior. Coordinate those checks without claiming unperformed implementation work.
@@ -0,0 +1,83 @@
1
+ # Content & Evidence
2
+
3
+ Use to develop content, assess reasoning, evaluate sources, check important claims, combine findings, or preserve source meaning. Reuse the purpose and scope. Fiction, a summary limited to supplied sources, and a researched recommendation need different checks.
4
+
5
+ ## Develop useful content
6
+
7
+ Identify the question, problem, observation, or experience being addressed. Develop it by explaining how something works, what differs, how options compare, what follows, or why it matters.
8
+
9
+ If a passage is generic, identify the missing information: actors, conditions, explanation of an outcome, a relevant example, or why a distinction matters. Develop that information instead of adding adjectives or restating the conclusion. An example explains a possibility; it does not establish its frequency.
10
+
11
+ Use supplied material to develop ideas. If it cannot answer an important question, narrow the answer, identify the gap, or seek information when warranted. Do not invent findings, customer experiences, or technical detail to imply depth or originality. A practical reply can simply answer correctly; reflective work need not contain an academic thesis.
12
+
13
+ ## Connect claims to support
14
+
15
+ For an important claim, identify the evidence, how it supports the conclusion, and any required assumptions. Distinguish observations, interpretations, recommendations, personal judgments, and hypothetical examples. Label them only when their status is unclear.
16
+
17
+ Check common inference errors:
18
+
19
+ - Association or a before/after change alone does not establish causation.
20
+ - One example does not establish a general rule.
21
+ - Evidence that an option works does not establish that it is best.
22
+ - A recommendation also depends on goals, costs, values, and alternatives.
23
+
24
+ Consider a plausible competing explanation or objection when it could change the conclusion. Compare fairly; do not create a weak opponent or give unsupported positions equal weight. If a strong objection remains, narrow the claim or state the unresolved choice. Correct the reasoning rather than only softening the wording. A formal argument template is optional.
25
+
26
+ ## Evaluate sources
27
+
28
+ Prioritize verification by consequence, uncertainty, changeability, and importance to the answer. Check consequential claims before polishing peripheral wording. A wording-only edit does not automatically require a research project.
29
+
30
+ Match evidence to the question. Original records establish what was stated or specified; a sound synthesis may answer a broad research question better than one isolated study. A vendor can document its product without independently establishing superiority. Reputation, peer review, recency, and citation count are signals, not proof of claim support.
31
+
32
+ For an unfamiliar source, check who produced it, their relevant knowledge, methods, incentives, and independent accounts. Trace important claims to the evidence. Three articles repeating one press release are not independent sources. Check dates, versions, corrections, populations, and scope; publication, event, and data-collection dates can differ.
33
+
34
+ Read the relevant material. Snippets and generated summaries provide leads but can omit qualifications. Restrict claims to accessible evidence; disclose abstract-only or excerpt-only access when it affects the conclusion. Without retrieval, use supplied material and identify verification gaps. Never invent a source or claim to have opened it.
35
+
36
+ Stop searching when the scoped claims have adequate support and more research is unlikely to change the answer. When support remains missing, qualify, omit, narrow, or leave the affected part provisional. Ask for missing information when it determines the deliverable.
37
+
38
+ ## Synthesize information
39
+
40
+ Organize around the question, comparing agreement, disagreement, definitions, populations, periods, outcomes, and methods. Explain what follows from those relationships rather than listing successive summaries.
41
+
42
+ When comparison needs it, record important claims and supporting passages in existing notes or tools. No dedicated ledger is required. Distinguish source statements from your interpretation.
43
+
44
+ Investigate apparent contradictions. Different measurements or conditions may explain them. If evidence remains incompatible, state the disagreement and its consequence. Do not average incomparable findings, count copied sources as corroboration, or suppress counterevidence.
45
+
46
+ ## Check facts and numbers
47
+
48
+ Verify consequential names, dates, quotations, attributed statements, and factual details against relevant records. Keep claims attached to the applicable population, place, product version, and period.
49
+
50
+ For numerical claims, check unit, denominator, baseline, timeframe, sample, comparison, and evidence quality. Recalculate derived values with suitable tools when useful. Distinguish:
51
+
52
+ - Counts from rates.
53
+ - Relative percentage change from percentage-point change.
54
+ - Observations from predictions.
55
+ - Statistical uncertainty from practical importance.
56
+
57
+ A decline from 20% to 15% is 5 percentage points, or a 25% relative decline if the measurements are comparable. It does not alone establish a causal effect or a company-wide result.
58
+
59
+ Use only justified precision. Even a correct number can mislead without its baseline, denominator, scope, or limitations.
60
+
61
+ ## Explain uncertainty
62
+
63
+ Specify what is uncertain: measurement, limited coverage, disputed interpretation, prediction, or incomplete verification. Explain the implication for the conclusion. Replace repeated vague hedges with an available range, condition, date, or attribution; do not invent probabilities or confidence scores.
64
+
65
+ State supported facts directly and retain qualifications that limit them. Failure to retrieve evidence is not proof that a claim is false or that evidence does not exist. Uncertainty belongs with the claim it limits, not only in a distant disclaimer.
66
+
67
+ ## Attribute sources and quotations
68
+
69
+ Use links, named sources, notes, or formal citations as the genre requires. Consequential or disputed factual claims need traceability; common knowledge, preferences, and clearly fictional events do not all need academic references.
70
+
71
+ Verify both the source identity and its support for the attached claim. Never invent authors, dates, titles, URLs, quotations, or page numbers. If verification is incomplete, use verified support, narrow the claim, or state the gap.
72
+
73
+ Preserve direct quotations and distinguish omissions, alterations, and translations when relevant. Do not convert an illustrative example into a reported event or invent testimony or lived experience for factual writing. Hypothetical or fictional material is appropriate when requested and its status is clear.
74
+
75
+ ## Preserve meaning when summarizing or revising
76
+
77
+ Check source fidelity, whether the text preserves the source's meaning, separately from factual accuracy. A faithful summary can repeat an error; a plausible addition can misrepresent the source. Stay within permitted sources. Flag errors or clearly separate authorized corrections instead of silently adding outside information.
78
+
79
+ Compare important statements and their relationships: actor, action, recipient, condition, time, certainty, negation, attribution, comparison direction, and restrictions. Preserve these relationships even when sentence structure changes. Do not turn a possibility into a guarantee, a proposal into a commitment, or an attributed claim into an established fact.
80
+
81
+ Check omissions as well as sentences. Dropping an exception, counterfinding, or condition can make an otherwise supported summary misleading. If the limit cannot preserve the essential meaning, identify the trade-off. An appealing rewrite or fluent translation does not establish fidelity.
82
+
83
+ For creation, resolve consequential gaps before asserting conclusions. For refinement, repair the unsupported claim, inference, or meaning change and retain sound content. For review, distinguish unsupported, contradicted, and not yet verified; identify the affected claim and what would resolve it. Confident recall, repeated model agreement, and a genuine citation are not independent verification.
@@ -0,0 +1,94 @@
1
+ # Content Structure
2
+
3
+ Use to organize information, develop paragraphs, connect ideas, and choose formats. Reuse the purpose, audience, and content. Preserve a structure that already works.
4
+
5
+ ## Choose a content structure
6
+
7
+ Organize around the reader's task and the relationships in the material, rather than the order in which notes arrived. Select and combine structures as needed:
8
+
9
+ | Reader need | Useful structure | Condition to preserve |
10
+ | --- | --- | --- |
11
+ | Get an answer, decide, or act | Main information or decision, essential conditions, then basis or next steps | Put indispensable explanation first if an immediate answer would mislead |
12
+ | Understand a concept or mechanism | Necessary concepts, their relationships, and a useful example | An example can precede abstraction; omit background that does not help |
13
+ | Follow an analysis or argument | Questions, distinctions, evidence, and implications in a sequence readers can evaluate | A recommendation may lead with its conclusion; an exploratory analysis can develop toward one |
14
+ | Compare options | Consistent criteria across options, or one coherent account per option | Criterion-based comparison aids direct evaluation; whole-option accounts preserve context. Do not invent symmetry in evidence |
15
+ | Follow events or a process | Time, dependency, perspective, or meaningful stages | Narrative can reorder events deliberately. Make needed time shifts clear; chronology does not prove causation |
16
+ | Look up information | Distinguishable categories, predictable labels, and direct routes to detail | Lookup and learning require different reading paths |
17
+
18
+ A short message may need connected sentences; a long reference may need headings and navigation. An introduction, conclusion, or visible outline is not required solely to satisfy a template.
19
+
20
+ ## Plan or review the structure
21
+
22
+ For complex writing, define what each section does: explain a problem, show how something works, compare options, address an objection, or support a decision. A topic list alone does not explain their connection. Keep planning internal unless an outline is requested.
23
+
24
+ When revising, identify what each paragraph says and what it does. This reverse outline can reveal missing connections, duplicated purposes, overloaded sections, or important information arriving late. It is unnecessary for an already clear short message.
25
+
26
+ Move, combine, split, or remove material to solve the identified problem. Check nearby transitions and cross-references afterward. Temporary drafting headings can be removed from the final piece. Retain an overview and detailed treatment when they serve different reading needs.
27
+
28
+ ## Order prerequisites and explanations
29
+
30
+ Provide a necessary definition, prerequisite, or condition before readers use it. For procedures, distinguish prerequisites, actions, expected results, and alternatives; background information is not an action step.
31
+
32
+ Keep consequential exceptions beside the instruction or claim they limit, before a decision or action. A remote footnote cannot repair a misleading summary or comparison table.
33
+
34
+ Explain complex material in usable stages. Connect new concepts to established information, retain necessary relationships in the main text, and make optional derivations or tangents separately accessible when useful. Do not assume a working link, interactive disclosure, or second document is available.
35
+
36
+ An overview should orient without repeating every section. A closing should resolve a question, explain an implication, or provide a needed next step. Omit a recap that adds nothing. Narrative and reflection can intentionally leave questions open.
37
+
38
+ Check independent entry points: a section link, summary, or forwarded excerpt may lose preceding context. Keep the conditions needed to interpret the passage available there.
39
+
40
+ ## Develop focused paragraphs
41
+
42
+ Use a paragraph to explain a relationship, develop a claim, compare possibilities, depict a moment, or serve another identifiable purpose. Split when its focus changes or a useful boundary helps; combine fragments when separation obscures their relationship.
43
+
44
+ Develop the point with relevant detail and make its significance understandable. Explain what examples show. Remove an ending that merely repeats the opening. Explanations, arguments, and sensory scenes need different kinds of development.
45
+
46
+ An early topic sentence often helps informational writing. A delayed point, dialogue turn, or brief emphasis paragraph can serve another purpose. Avoid fixed sentence counts, equal lengths, or mandatory claim-evidence-analysis patterns.
47
+
48
+ ## Connect ideas explicitly
49
+
50
+ Check that ideas form an understandable whole and that sentences connect clearly. Transition words cannot repair missing reasoning or the wrong order.
51
+
52
+ Identify the actual relationship: elaboration, contrast, qualification, cause, consequence, example, time, or scale. Use a precise repeated term, bridging sentence, reordering, or missing explanation as appropriate. Apply the target language's discourse conventions; do not impose English information order everywhere.
53
+
54
+ Do not add a connector to every sentence. Use words such as "however", "therefore", or "also" where the relationship needs to be stated; let sentence order and shared terms carry connections that are already clear.
55
+
56
+ "Both options reduce setup work. However, there are differences" leaves the comparison unspecified. "Both options reduce setup work, but the second requires training" states a useful difference, if supported by the material.
57
+
58
+ Do not use "therefore" to imply a causal inference the evidence lacks. Repair the underlying claim with [Content & Evidence](content-and-evidence.md). Preserve useful transitions and organizational signals; removing them can make relationships harder to understand.
59
+
60
+ ## Use headings for navigation
61
+
62
+ Use descriptive headings to help readers scan, return, or start at a topic. Nest sections by actual relationships and keep comparable topics at the same level. Avoid a heading for every paragraph or a complex hierarchy for a short piece.
63
+
64
+ Read headings together to inspect selection cues, overlaps, and omissions; then check the body for adequate explanation. A good outline does not prove that the content is complete.
65
+
66
+ When the medium supports semantics, use actual heading levels rather than bold alone. Descriptive headings and correct markup are separate requirements. WCAG 2.4.6 concerns the topic or purpose of provided headings and labels; 1.3.1 addresses programmatically determinable structure and relationships. Text wording alone does not establish semantic implementation; consult [Accessibility & Inclusive Writing](accessibility-and-inclusion.md#apply-relevant-standards) when standards interpretation is needed.
67
+
68
+ Give each document a clear purpose. Split for distinct tasks or independent lookup needs, not length alone. Add contents or direct links when they help readers find information. Link labels should remain meaningful outside the sentence.
69
+
70
+ ## Choose a presentation format
71
+
72
+ Preserve the requested format unless it impairs the task; explain a consequential change.
73
+
74
+ | Format | Use for | Check |
75
+ | --- | --- | --- |
76
+ | Paragraphs | Explanation, qualification, interpretation, or narrative continuity | Avoid dense topic changes and unnecessary conversion into bullets |
77
+ | Ordered list | Sequence, rank, or dependency | Do not number optional or unordered material as required steps |
78
+ | Unordered or description list | Distinct items, conditions, options, or terms | Clarify categories and whether requirements mean all or any; limit unnecessary nesting |
79
+ | Table | Comparison across consistent attributes or row-column lookup | Keep cells comparable and qualifications visible; check narrow and linear reading |
80
+ | Example or illustration | A relationship that benefits from a concrete explanation | Explain the relevant connection; avoid decorative or repetitive examples |
81
+
82
+ Avoid "first", "second", and "third" narration when it merely forces related ideas into slots. Use a list for items readers need to inspect separately, or connected paragraphs for an explanation. Preserve meaningful sequences and comparisons.
83
+
84
+ Place an example where readers can connect it to the principle. Use a contrasting example only when it explains a meaningful boundary. Diagrams and charts can help, but preserve essential interpretation and appropriate text alternatives. Do not require a new visual for every explanation.
85
+
86
+ Apply [Writing rules](rules.md) to formatting. Retain emphasis that improves selection or meaning; remove it when it makes no useful difference.
87
+
88
+ ## Remove repetition and check structure
89
+
90
+ Judge information density as well as length. A short paragraph can pack in unexplained concepts; a longer example may be easier to understand. Explain or regroup before removing necessary distinctions.
91
+
92
+ Merge sections that repeat the same point without a distinct purpose. Retain repetition that supports independent reading or an intentional narrative effect, and keep repeated facts consistent. Symmetrical sections or recurring constructions are review signals, not proof of poor quality or AI authorship.
93
+
94
+ Use only the checks relevant to the change: trace dependencies, inspect headings, compare adjacent paragraphs, or test table comparability. After moving or shortening text, check qualifications, references, captions, and meaning. In a structural review, identify the passage, likely difficulty, and justified repair. Inspection does not establish measured reader understanding.
@@ -0,0 +1,19 @@
1
+ # Writing Foundations
2
+
3
+ Use for shared writing principles. Topic references can be read independently; this file is optional.
4
+
5
+ ## Set writing priorities
6
+
7
+ Judge content, expression, and context together. Prioritize what readers need to understand, decide, do, or experience. Clear wording cannot replace missing information, and accurate content can still be hard to use. Brevity, formality, novelty, and familiar formats do not define quality by themselves.
8
+
9
+ ## Preserve meaning and voice
10
+
11
+ When changing text, preserve actors, actions, conditions, qualifications, certainty, and distinctions between claims. Keep the author's or brand's intended character unless changing it is requested. Apply the relevant language and project conventions. Unusual expression may be deliberate; identify a problem before replacing it.
12
+
13
+ ## Keep changes within scope
14
+
15
+ Distinguish a defect from a trade-off or preference. Make the change needed for the requested result and retain effective content. For review-only work, explain findings without applying edits.
16
+
17
+ Distinguish supplied facts, inferred meanings, and evidence from readers. Check what matters to the decision and risk. Keep small edits focused and report only verification actually performed.
18
+
19
+ Use the shared [Writing rules](rules.md). Topic references develop the methods for these decisions.
@@ -0,0 +1,17 @@
1
+ # Writing References
2
+
3
+ Apply [Writing rules](rules.md). Choose references for unresolved writing decisions; reuse a settled brief for local wording or tone changes.
4
+
5
+ | Reference | Read when |
6
+ | --- | --- |
7
+ | [Writing Foundations](foundations.md) | Resolving shared quality priorities or orienting broad writing work |
8
+ | [Purpose, Audience & Context](purpose-audience-context.md) | Choosing the outcome, readers, assumptions, medium, scope, or information depth |
9
+ | [Content & Evidence](content-and-evidence.md) | Developing ideas, assessing reasoning, evaluating sources, checking claims and numbers, expressing uncertainty, or preserving source meaning |
10
+ | [Content Structure](content-structure.md) | Grouping and sequencing information, developing paragraphs, connecting ideas, or choosing headings, lists, tables, and examples |
11
+ | [Language & Style](language-and-style.md) | Improving word choice, sentences, terminology, ambiguity, grammar, punctuation, concision, or formulaic wording |
12
+ | [Voice & Tone](voice-and-tone.md) | Establishing character, adapting attitude, using samples, preserving the author's style, or choosing expressive techniques |
13
+ | [Accessibility & Inclusive Writing](accessibility-and-inclusion.md) | Addressing content-access barriers, representation, meaningful alternatives, or content-related standards and delivery limits |
14
+ | [Multilingual Writing](multilingual-writing.md) | Translating, localizing, transcreating, comparing source and target, or preserving language-specific delivery requirements |
15
+ | [Review & Revision](review-and-revision.md) | Diagnosing and prioritizing issues, choosing edits, evaluating feedback, checking revisions, or deciding when to stop |
16
+
17
+ For interface copy, add UI/UX guidance only when the task also needs interaction, layout, or accessibility-delivery decisions. Editing wording alone does not require a UI audit.