holyagent 0.0.0-stage → 0.3.3-bootstrap.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 (140) hide show
  1. package/agents/explorer-lookup-headless-screen.md +126 -0
  2. package/agents/explorer-lookup-screen.md +122 -0
  3. package/agents/explorer-lookup.md +122 -0
  4. package/agents/explorer-map-headless-screen.md +125 -0
  5. package/agents/explorer-map-screen.md +121 -0
  6. package/agents/explorer-map.md +121 -0
  7. package/agents/explorer-trace-headless-screen.md +129 -0
  8. package/agents/explorer-trace-screen.md +125 -0
  9. package/agents/explorer-trace.md +125 -0
  10. package/agents/librarian-lookup-headless-screen.md +132 -0
  11. package/agents/librarian-lookup-screen.md +128 -0
  12. package/agents/librarian-lookup.md +128 -0
  13. package/agents/librarian-research-headless-screen.md +132 -0
  14. package/agents/librarian-research-screen.md +128 -0
  15. package/agents/librarian-research.md +128 -0
  16. package/agents/reviewer-artifact-headless-screen.md +158 -0
  17. package/agents/reviewer-artifact-screen.md +154 -0
  18. package/agents/reviewer-artifact.md +154 -0
  19. package/agents/reviewer-audit-headless-screen.md +124 -0
  20. package/agents/reviewer-audit-screen.md +120 -0
  21. package/agents/reviewer-audit.md +120 -0
  22. package/agents/reviewer-code-headless-screen.md +180 -0
  23. package/agents/reviewer-code-screen.md +176 -0
  24. package/agents/reviewer-code.md +176 -0
  25. package/agents/reviewer-security-headless-screen.md +138 -0
  26. package/agents/reviewer-security-screen.md +134 -0
  27. package/agents/reviewer-security.md +134 -0
  28. package/agents/reviewer-testing-headless-screen.md +173 -0
  29. package/agents/reviewer-testing-screen.md +169 -0
  30. package/agents/reviewer-testing.md +169 -0
  31. package/agents/reviewer-visual-headless-screen.md +161 -0
  32. package/agents/reviewer-visual-screen.md +157 -0
  33. package/agents/reviewer-visual.md +157 -0
  34. package/agents/worker-debugging-headless-screen.md +175 -0
  35. package/agents/worker-debugging-screen.md +171 -0
  36. package/agents/worker-debugging.md +171 -0
  37. package/agents/worker-implementation-headless-screen.md +191 -0
  38. package/agents/worker-implementation-screen.md +187 -0
  39. package/agents/worker-implementation.md +187 -0
  40. package/agents/worker-integration-headless-screen.md +172 -0
  41. package/agents/worker-integration-screen.md +168 -0
  42. package/agents/worker-integration.md +168 -0
  43. package/agents/worker-mechanical-headless-screen.md +176 -0
  44. package/agents/worker-mechanical-screen.md +172 -0
  45. package/agents/worker-mechanical.md +172 -0
  46. package/agents/worker-operations-headless-screen.md +130 -0
  47. package/agents/worker-operations-screen.md +126 -0
  48. package/agents/worker-operations.md +126 -0
  49. package/agents/worker-validation-headless-screen.md +128 -0
  50. package/agents/worker-validation-screen.md +124 -0
  51. package/agents/worker-validation.md +124 -0
  52. package/agents/worker-visual-headless-screen.md +211 -0
  53. package/agents/worker-visual-screen.md +207 -0
  54. package/agents/worker-visual.md +207 -0
  55. package/extensions/holyagent.js +20006 -0
  56. package/families/gpt-6/agents/explorer-lookup-headless-screen.md +113 -0
  57. package/families/gpt-6/agents/explorer-lookup-screen.md +109 -0
  58. package/families/gpt-6/agents/explorer-lookup.md +109 -0
  59. package/families/gpt-6/agents/explorer-map-headless-screen.md +113 -0
  60. package/families/gpt-6/agents/explorer-map-screen.md +109 -0
  61. package/families/gpt-6/agents/explorer-map.md +109 -0
  62. package/families/gpt-6/agents/explorer-trace-headless-screen.md +113 -0
  63. package/families/gpt-6/agents/explorer-trace-screen.md +109 -0
  64. package/families/gpt-6/agents/explorer-trace.md +109 -0
  65. package/families/gpt-6/agents/librarian-lookup-headless-screen.md +115 -0
  66. package/families/gpt-6/agents/librarian-lookup-screen.md +111 -0
  67. package/families/gpt-6/agents/librarian-lookup.md +111 -0
  68. package/families/gpt-6/agents/librarian-research-headless-screen.md +115 -0
  69. package/families/gpt-6/agents/librarian-research-screen.md +111 -0
  70. package/families/gpt-6/agents/librarian-research.md +111 -0
  71. package/families/gpt-6/agents/reviewer-artifact-headless-screen.md +148 -0
  72. package/families/gpt-6/agents/reviewer-artifact-screen.md +144 -0
  73. package/families/gpt-6/agents/reviewer-artifact.md +144 -0
  74. package/families/gpt-6/agents/reviewer-audit-headless-screen.md +111 -0
  75. package/families/gpt-6/agents/reviewer-audit-screen.md +107 -0
  76. package/families/gpt-6/agents/reviewer-audit.md +107 -0
  77. package/families/gpt-6/agents/reviewer-code-headless-screen.md +173 -0
  78. package/families/gpt-6/agents/reviewer-code-screen.md +169 -0
  79. package/families/gpt-6/agents/reviewer-code.md +169 -0
  80. package/families/gpt-6/agents/reviewer-security-headless-screen.md +122 -0
  81. package/families/gpt-6/agents/reviewer-security-screen.md +118 -0
  82. package/families/gpt-6/agents/reviewer-security.md +118 -0
  83. package/families/gpt-6/agents/reviewer-testing-headless-screen.md +163 -0
  84. package/families/gpt-6/agents/reviewer-testing-screen.md +159 -0
  85. package/families/gpt-6/agents/reviewer-testing.md +159 -0
  86. package/families/gpt-6/agents/reviewer-visual-headless-screen.md +153 -0
  87. package/families/gpt-6/agents/reviewer-visual-screen.md +149 -0
  88. package/families/gpt-6/agents/reviewer-visual.md +149 -0
  89. package/families/gpt-6/agents/worker-debugging-headless-screen.md +168 -0
  90. package/families/gpt-6/agents/worker-debugging-screen.md +164 -0
  91. package/families/gpt-6/agents/worker-debugging.md +164 -0
  92. package/families/gpt-6/agents/worker-implementation-headless-screen.md +180 -0
  93. package/families/gpt-6/agents/worker-implementation-screen.md +176 -0
  94. package/families/gpt-6/agents/worker-implementation.md +176 -0
  95. package/families/gpt-6/agents/worker-integration-headless-screen.md +161 -0
  96. package/families/gpt-6/agents/worker-integration-screen.md +157 -0
  97. package/families/gpt-6/agents/worker-integration.md +157 -0
  98. package/families/gpt-6/agents/worker-mechanical-headless-screen.md +165 -0
  99. package/families/gpt-6/agents/worker-mechanical-screen.md +161 -0
  100. package/families/gpt-6/agents/worker-mechanical.md +161 -0
  101. package/families/gpt-6/agents/worker-operations-headless-screen.md +122 -0
  102. package/families/gpt-6/agents/worker-operations-screen.md +118 -0
  103. package/families/gpt-6/agents/worker-operations.md +118 -0
  104. package/families/gpt-6/agents/worker-validation-headless-screen.md +115 -0
  105. package/families/gpt-6/agents/worker-validation-screen.md +111 -0
  106. package/families/gpt-6/agents/worker-validation.md +111 -0
  107. package/families/gpt-6/agents/worker-visual-headless-screen.md +201 -0
  108. package/families/gpt-6/agents/worker-visual-screen.md +197 -0
  109. package/families/gpt-6/agents/worker-visual.md +197 -0
  110. package/families/gpt-6/skills/ci-watch/SKILL.md +34 -0
  111. package/families/gpt-6/skills/desktop-design/SKILL.md +144 -0
  112. package/families/gpt-6/skills/dev-server/SKILL.md +51 -0
  113. package/families/gpt-6/skills/evidence-judging/SKILL.md +37 -0
  114. package/families/gpt-6/skills/instruction-writing/SKILL.md +49 -0
  115. package/families/gpt-6/skills/mobile-design/SKILL.md +144 -0
  116. package/families/gpt-6/skills/state-mode/SKILL.md +17 -0
  117. package/families/gpt-6/skills/tui-design/SKILL.md +162 -0
  118. package/families/gpt-6/skills/user-busy/SKILL.md +16 -0
  119. package/families/gpt-6/skills/visual-judging/SKILL.md +47 -0
  120. package/families/gpt-6/skills/web-design/SKILL.md +161 -0
  121. package/package.json +40 -4
  122. package/prompts/code-review.md +35 -0
  123. package/prompts/security-review.md +35 -0
  124. package/scripts/empty-bunfig.toml +4 -0
  125. package/scripts/holyagent +45 -0
  126. package/scripts/holyagent.js +29047 -0
  127. package/scripts/just-bash.js +90614 -0
  128. package/scripts/setup-tui.js +4334 -0
  129. package/skills/ci-watch/SKILL.md +34 -0
  130. package/skills/desktop-design/SKILL.md +132 -0
  131. package/skills/dev-server/SKILL.md +51 -0
  132. package/skills/evidence-judging/SKILL.md +37 -0
  133. package/skills/instruction-writing/SKILL.md +44 -0
  134. package/skills/mobile-design/SKILL.md +132 -0
  135. package/skills/state-mode/SKILL.md +17 -0
  136. package/skills/tui-design/SKILL.md +150 -0
  137. package/skills/user-busy/SKILL.md +16 -0
  138. package/skills/visual-judging/SKILL.md +45 -0
  139. package/skills/web-design/SKILL.md +149 -0
  140. package/README.md +0 -3
@@ -0,0 +1,144 @@
1
+ ---
2
+ # Generated by packages/integrations/pi/build.ts from packages/runtime/src/instructions/gpt-6/skills/mobile-design/SKILL.md; edit the source and rebuild.
3
+ name: mobile-design
4
+ description: "Use when building, reshaping or judging the visual design of a phone or tablet app on iOS, iPadOS or Android."
5
+ ---
6
+
7
+ # Mobile design
8
+
9
+ Rules for phone and tablet apps, judged on what renders. Apply the shared part and the section of each OS the app ships on; never carry one OS's conventions to the other.
10
+
11
+ ## Shared core
12
+
13
+ Judge every rule on the rendered result, from the captures. The one exception is the rules under Direction before code, which are checked as a plan in the worker's report or `DESIGN.md`, not on a render.
14
+
15
+ Two tags mark rules that are not judged from a capture:
16
+
17
+ - `(behavior check)` marks a rule no capture can show (a file, a process, an input sequence). Worker.operations runs it and reports it, and nobody infers it from a still.
18
+ - `(preference)` marks taste: list it, do not repair it.
19
+
20
+ A violation of any other rule is judged by this definition:
21
+
22
+ A discrepancy is material, and starts a repair whatever its size, when it affects any of these: acceptance; hierarchy or composition; legibility (cramped, overlapping, clipped or disappearing text); responsiveness at a viewport or size the criteria list; whether text and numbers state the content correctly (a title that misstates what it covers); accessibility; interaction correctness; adherence to a reference; obvious production quality. Unnecessary text, headings, cards or badges are design defects. Only pure preference, with none of these effects, stays unrepaired: list it apart, marked optional.
23
+
24
+ A number is binding only where a platform guideline fixes it; every other number is a default, marked `(default)`, that the design may override with a stated reason.
25
+
26
+ Apply the skill's capture checklist on the final captures: the worker before reporting, the reviewer in its findings and the root in its own final pass. Before visual work is reported done, the worker also measures the padding and gaps on those captures against the spacing rules (in pixels or computed styles on a web, mobile or desktop render, in character cells on a terminal frame), repairs what it finds, captures again and names each place where content still touches a rule, border or edge, or says none remain. The reviewer compares the same captures and any measurements the worker recorded against the spacing rules and names each visible contact or missing padding by its location, or says it found none; it gives no number it did not read from a capture or a record. Check your own work as it takes shape, from captures wherever the environment can produce them. Report only checks actually run, and name each check not run.
27
+
28
+ ### Direction before code
29
+
30
+ - When the brief leaves out the subject, the audience or the main job, confirm them with the user when one can answer, and otherwise state them as a proposal in the plan; remembered preferences or project context are a starting hint. The brief's own words outrank every avoid list below.
31
+ - Let the subject supply the look: its trade, materials and idiom decide the visual choices, and the brief's real content stays in the work from start to finish. A ferry timetable and a toddler's game should look nothing alike.
32
+ - Choose palette, type and layout on purpose and for this brief alone, accept visual risk when it earns its place, and treat each project as a chance to try something new instead of repeating what you do best.
33
+ - Sketch a plan before building. It holds:
34
+ - a small named palette: four to six colors, each with a value and a role;
35
+ - the type roles;
36
+ - a layout idea in one sentence, compared through rough ASCII wireframes, with how the content aligns (left, centered or justified);
37
+ - two or three principles;
38
+ - an audit with two questions, "would I make this for any similar product?" and the competitor test (drop an idea that still works with a competitor's name on it);
39
+ - a rewrite of what fails, with a note of what changed and why.
40
+
41
+ Write code only from the revised plan.
42
+
43
+ - Say whether this is a refinement, which preserves the existing design, or a redesign, which replaces it.
44
+
45
+ ### Platform fidelity over invention
46
+
47
+ - Use the platform's own components, navigation and conventions unless the brief gives a reason not to, and brand through the layer the platform leaves open.
48
+ - Ported-from-a-website test: a fluent user of the platform never pauses at an off-spec control.
49
+ - Rules here are platform concepts. Detect the project's stack and map each rule onto it; never assume one.
50
+
51
+ ### Design record
52
+
53
+ - Read `DESIGN.md` at the project root before UI work and create or update it after. It holds: platform and stack, direction, color roles, type roles, spacing and shape, components and states, do and don't, and a brief log of the options already tried, so later passes explore new ground. Note a changed decision instead of silently overwriting it. (behavior check)
54
+
55
+ ### Spend boldness in one place
56
+
57
+ - Make one detail per screen the memorable one and keep the rest calm and restrained. Strip ornament that does nothing for the brief, and before finishing remove one accessory more, filling the gap with scale, real content or a real image so the screen is not left thin. (preference)
58
+ - A labeled gray placeholder beats drawn art or emoji used as icons. (preference)
59
+
60
+ ### Structure and content
61
+
62
+ - A border, divider, outline, label, eyebrow or number belongs only where it tells the reader something true about the content. Numbers mark a real sequence (steps, a timeline) and nothing else, so confirm it is one first. An eyebrow over every heading, all-caps labels and labels that say nothing are decoration, not structure.
63
+ - With no real content in the brief, invent specific copy from the subject: generic words flatten a design as much as a generic layout does.
64
+
65
+ ### Copy
66
+
67
+ - Interface text exists to help someone understand and act, so treat it as part of the design. Decide what the screen must convey and the shortest way to convey it, with one job for each piece of text.
68
+ - Speak in the user's terms, calling a thing what the user calls it ("saved searches", not "query presets"). Say what a thing is or does without selling it; concrete beats clever.
69
+ - Set text in sentence case unless the platform sets its own casing, leave out padding, keep the tone conversational and in step with the brand and its readers, and write in the active voice with everyday verbs.
70
+ - A control names its outcome ("Send invoice", not "Submit"), and each action carries one name from first label to confirmation: the Duplicate button leads to a "Duplicated" confirmation.
71
+ - When something fails or nothing is there yet, point the way. An error states what happened and how to recover, speaks as the interface and not as a person, and neither apologizes nor stays vague; an empty state invites the first action.
72
+
73
+ ### Spacing and alignment
74
+
75
+ Models tend to ship cramped or misaligned spacing that a glance at the whole page misses, so these hold on every screen and are measured on the captures.
76
+
77
+ - Use one spacing scale throughout. Every padding and gap is a step of it, because off-scale one-offs read as accident.
78
+ - Give every container (card, panel, button, field, cell) padding on all sides, so text and media never touch its edge.
79
+ - Keep a gap between every block and the rules, dividers, borders and section edges around it, below and beside it as well as above, so nothing sits flush against a line.
80
+ - Let the content of a column share one left edge and one right edge: headings, text and the outer edges of cards line up, and an element that starts further in or out than its neighbours has a reason the design states. Two edges in one column read as a mistake.
81
+ - Let no wrapped line begin with a dash or other closing punctuation (an em or en dash, comma, period, colon, or a closing quote or bracket). Join the mark to the word before it with a non-breaking join or the platform's text-wrap control, or reword (in a terminal frame, where no such join exists, reword or move the break), because a mark that wraps to a line start reads as a break. A dash that opens a line on purpose, such as an attribution, is fine.
82
+
83
+ ### Quality floor, unannounced
84
+
85
+ - Text contrast is at least 4.5:1 and non-text control contrast at least 3:1. Color is never the only signal, and the colors work together as a palette.
86
+ - Every state exists and is captured where reachable: hover or press, focus, disabled, loading, empty, error and long content.
87
+ - The system's reduced-motion, larger-text and high-contrast settings, where the platform has them, change the render; under reduced motion, movement becomes a fade or nothing.
88
+
89
+ ## Shared mobile rules
90
+
91
+ - Adapt to the window size class, never the device, and name layout variants by class, not "tablet". Panes take the width they are given; extra width adds context and does not stretch content.
92
+ - System-bar and safe-area insets apply once per screen. Backgrounds draw edge to edge, and touch targets stay out of gesture areas. Symptom: content under a bar or doubled padding.
93
+ - Gestures supplement visible controls and never replace them.
94
+ - Refresh never clears existing content; skeletons are for the cold load only. Capture mid-refresh.
95
+ - Keyboard: "Next" moves through fields, and "Done" on the last dismisses the keyboard and keeps the text. (behavior check)
96
+ - After a refresh or rotation, focus and selection stay on the same item, not the same position. (behavior check)
97
+ - Haptics reach only the holder and sound reaches the room, so feedback scales with rarity. One action produces one feedback, never a doubled buzz or sound. (behavior check)
98
+ - Every interactive element has a label unique within its collection. A row reads as one announcement and exposes a multi-action row's actions by name. (behavior check)
99
+
100
+ ## iOS and iPadOS
101
+
102
+ - Targets are 44×44 pt. 28×28 pt is the stated minimum for dense controls. Pad about 12 pt around bezeled and about 24 pt around unbezeled elements.
103
+ - Use the system text styles, 17 pt by default and 11 pt at least, with no light weights. Text scales to at least 200%, custom fonts included.
104
+ - At accessibility text sizes truncate as little as possible, allow as many lines as needed, stack rows vertically and scale meaningful icons with the text. Capture that size.
105
+ - Tab bars hold sections, never actions. Never hide or disable a tab, avoid a "More" overflow, and use single-word labels.
106
+ - A visible Back button stays, and the edge swipe is a shortcut. On iPad prefer the tab bar, which may become a sidebar of at most two levels.
107
+ - A sheet holds one scoped task at a time. Cancel goes leading and Done trailing, never Cancel, Done and Back together, and a swipe-dismiss that would lose changes asks first. (behavior check)
108
+ - Liquid Glass (iOS 26 and later): glass is the control and navigation layer, never the content layer, and custom glass is not stacked on glass. Use the regular variant by default and the clear variant only over rich media. Tint only the primary action's background, and strip custom bar backgrounds and borders. Corners are concentric: inner radius equals outer radius minus padding.
109
+ - iOS 27 guidance on scroll edges, sidebars, tab bars, menus, search and icons is not encoded here; judge those on a render of the target OS.
110
+ - Color is semantic. Every custom color has light, dark and increased-contrast variants.
111
+ - Aim for 7:1 on small text, and offer no in-app appearance switch. (preference)
112
+ - Common actions use system symbols matched to the text weight.
113
+ - Motion is purposeful, optional and cancelable; under Reduce Motion movement becomes a fade. Capture with the setting on.
114
+
115
+ ## Android
116
+
117
+ - Window size classes in dp. Width: compact below 600, medium 600 to 839, expanded 840 to 1199, large 1200 to 1599, extra-large 1600 and up. Height: compact below 480, medium 480 to 899, expanded 900 and up. The layout is re-evaluated on every resize, fold or split-screen change. (behavior check)
118
+ - One primary navigation surface at a time. Compact uses a navigation bar. Medium uses a bar or a rail, by whether horizontal or vertical space matters more. Expanded and up use a rail. Prefer the expanded rail over a drawer, which Material 3 Expressive no longer recommends.
119
+ - Targets are at least 48×48 dp with 8 dp or more between them; pointer targets are at least 44 dp.
120
+ - Edge to edge is enforced from Android 15: content draws behind the system bars, bar icons keep contrast, interactive content is inset, and a scrim sits where content scrolls under a bar.
121
+ - Predictive back is on by default: the back swipe previews the destination and lands where the preview showed. Custom back behavior goes through the platform's back handling. (behavior check)
122
+ - Color and type use Material roles, never raw values. Type roles are Display, Headline, Title, Body and Label in large, medium and small; adjust line height and tracking before sizes. An "on" color sits on its paired fill, and container colors are fills, not text colors. Light and dark use the same roles. Contrast levels are standard, medium and high, and each is judged in light and dark.
123
+ - Choose components by behavior. Expressive motion is for a few moments and the rest stays calm. (preference)
124
+
125
+ ## Refuse list
126
+
127
+ Unless the brief asks for it, avoid:
128
+
129
+ - a card around every row, and a FAB for a minor action (preference)
130
+ - chips used as buttons
131
+ - a "Materialized" screen of radii and pastels (preference)
132
+ - iOS navigation patterns on Android, or Material navigation on iOS
133
+ - a hamburger drawer where an expanded rail fits
134
+ - a custom control where the system one exists (the ported-from-a-website test)
135
+
136
+ ## Capture checklist
137
+
138
+ Capture each size class the brief targets (at least compact and one wider class). For each class capture:
139
+
140
+ - light and dark;
141
+ - the largest standard text size and an accessibility text size;
142
+ - reduced motion on.
143
+
144
+ Also capture, on iOS, increased contrast; on both, a refresh in progress, a sheet or back transition, and the keyboard open. Capture both OSes when the app ships on both.
@@ -0,0 +1,17 @@
1
+ ---
2
+ # Generated by packages/integrations/pi/build.ts from packages/runtime/src/instructions/gpt-6/skills/state-mode/SKILL.md; edit the source and rebuild.
3
+ name: state-mode
4
+ description: "Use before a clone's first Intent, to choose where holyagent state lives."
5
+ ---
6
+
7
+ # State mode
8
+
9
+ Once per clone, before the first Intent, set the mode with `holyagent state mode <mode>`; bare, it reads the mode (unset is `branch`). A mode moves no records, so change it only while the clone holds none.
10
+
11
+ Take the first signal that applies, in this order:
12
+
13
+ 1. The user's words.
14
+ 2. `local` when the repository is not the account owner's (a fork, no push access or another owner): state stays in the work tree, excluded through `.git/info/exclude`, in no commit, PR or remote branch. When git already tracks state there, `local` refuses: ask the user through the structured question tool, recommending a fork (where `local` applies), and record the answer.
15
+ 3. `work` when `git ls-files .holyagent ':!.holyagent/config.json'` lists files: `vcs commit` stages changed state files with the work.
16
+ 4. `local`, likewise, when CONTRIBUTING, AGENTS.md or CLAUDE.md ask for independent PRs from the base.
17
+ 5. `branch` otherwise: state lives on `holyagent/state` in one shared worktree, committed by every command. Work branches never carry it: keep it out of work merges and settle a diverged one with plain Git there.
@@ -0,0 +1,162 @@
1
+ ---
2
+ # Generated by packages/integrations/pi/build.ts from packages/runtime/src/instructions/gpt-6/skills/tui-design/SKILL.md; edit the source and rebuild.
3
+ name: tui-design
4
+ description: "Use when building, reshaping or judging a terminal UI or a command-line tool's interactive and piped output."
5
+ ---
6
+
7
+ # Terminal UI design
8
+
9
+ Rules for full-screen terminal apps and line-based tools, judged on text frames and image frames. Terminal behavior that no still shows is a behavior check that Worker.operations runs in a terminal session by interrupting and killing the app.
10
+
11
+ ## Shared core
12
+
13
+ Judge every rule on the rendered result, from the captures. The one exception is the rules under Direction before code, which are checked as a plan in the worker's report or `DESIGN.md`, not on a render.
14
+
15
+ Two tags mark rules that are not judged from a capture:
16
+
17
+ - `(behavior check)` marks a rule no capture can show (a file, a process, an input sequence). Worker.operations runs it and reports it, and nobody infers it from a still.
18
+ - `(preference)` marks taste: list it, do not repair it.
19
+
20
+ A violation of any other rule is judged by this definition:
21
+
22
+ A discrepancy is material, and starts a repair whatever its size, when it affects any of these: acceptance; hierarchy or composition; legibility (cramped, overlapping, clipped or disappearing text); responsiveness at a viewport or size the criteria list; whether text and numbers state the content correctly (a title that misstates what it covers); accessibility; interaction correctness; adherence to a reference; obvious production quality. Unnecessary text, headings, cards or badges are design defects. Only pure preference, with none of these effects, stays unrepaired: list it apart, marked optional.
23
+
24
+ A number is binding only where a platform guideline fixes it; every other number is a default, marked `(default)`, that the design may override with a stated reason.
25
+
26
+ Apply the skill's capture checklist on the final captures: the worker before reporting, the reviewer in its findings and the root in its own final pass. Before visual work is reported done, the worker also measures the padding and gaps on those captures against the spacing rules (in pixels or computed styles on a web, mobile or desktop render, in character cells on a terminal frame), repairs what it finds, captures again and names each place where content still touches a rule, border or edge, or says none remain. The reviewer compares the same captures and any measurements the worker recorded against the spacing rules and names each visible contact or missing padding by its location, or says it found none; it gives no number it did not read from a capture or a record. Check your own work as it takes shape, from captures wherever the environment can produce them. Report only checks actually run, and name each check not run.
27
+
28
+ ### Direction before code
29
+
30
+ - When the brief leaves out the subject, the audience or the main job, confirm them with the user when one can answer, and otherwise state them as a proposal in the plan; remembered preferences or project context are a starting hint. The brief's own words outrank every avoid list below.
31
+ - Let the subject supply the look: its trade, materials and idiom decide the visual choices, and the brief's real content stays in the work from start to finish. A ferry timetable and a toddler's game should look nothing alike.
32
+ - Choose palette, type and layout on purpose and for this brief alone, accept visual risk when it earns its place, and treat each project as a chance to try something new instead of repeating what you do best.
33
+ - Sketch a plan before building. It holds:
34
+ - a small named palette: four to six colors, each with a value and a role;
35
+ - the type roles;
36
+ - a layout idea in one sentence, compared through rough ASCII wireframes, with how the content aligns (left, centered or justified);
37
+ - two or three principles;
38
+ - an audit with two questions, "would I make this for any similar product?" and the competitor test (drop an idea that still works with a competitor's name on it);
39
+ - a rewrite of what fails, with a note of what changed and why.
40
+
41
+ Write code only from the revised plan.
42
+
43
+ - Say whether this is a refinement, which preserves the existing design, or a redesign, which replaces it.
44
+
45
+ ### Platform fidelity over invention
46
+
47
+ - Use the platform's own components, navigation and conventions unless the brief gives a reason not to, and brand through the layer the platform leaves open.
48
+ - Ported-from-a-website test: a fluent user of the platform never pauses at an off-spec control.
49
+ - Rules here are platform concepts. Detect the project's stack and map each rule onto it; never assume one.
50
+
51
+ ### Design record
52
+
53
+ - Read `DESIGN.md` at the project root before UI work and create or update it after. It holds: platform and stack, direction, color roles, type roles, spacing and shape, components and states, do and don't, and a brief log of the options already tried, so later passes explore new ground. Note a changed decision instead of silently overwriting it. (behavior check)
54
+
55
+ ### Spend boldness in one place
56
+
57
+ - Make one detail per screen the memorable one and keep the rest calm and restrained. Strip ornament that does nothing for the brief, and before finishing remove one accessory more, filling the gap with scale, real content or a real image so the screen is not left thin. (preference)
58
+ - A labeled gray placeholder beats drawn art or emoji used as icons. (preference)
59
+
60
+ ### Structure and content
61
+
62
+ - A border, divider, outline, label, eyebrow or number belongs only where it tells the reader something true about the content. Numbers mark a real sequence (steps, a timeline) and nothing else, so confirm it is one first. An eyebrow over every heading, all-caps labels and labels that say nothing are decoration, not structure.
63
+ - With no real content in the brief, invent specific copy from the subject: generic words flatten a design as much as a generic layout does.
64
+
65
+ ### Copy
66
+
67
+ - Interface text exists to help someone understand and act, so treat it as part of the design. Decide what the screen must convey and the shortest way to convey it, with one job for each piece of text.
68
+ - Speak in the user's terms, calling a thing what the user calls it ("saved searches", not "query presets"). Say what a thing is or does without selling it; concrete beats clever.
69
+ - Set text in sentence case unless the platform sets its own casing, leave out padding, keep the tone conversational and in step with the brand and its readers, and write in the active voice with everyday verbs.
70
+ - A control names its outcome ("Send invoice", not "Submit"), and each action carries one name from first label to confirmation: the Duplicate button leads to a "Duplicated" confirmation.
71
+ - When something fails or nothing is there yet, point the way. An error states what happened and how to recover, speaks as the interface and not as a person, and neither apologizes nor stays vague; an empty state invites the first action.
72
+
73
+ ### Spacing and alignment
74
+
75
+ Models tend to ship cramped or misaligned spacing that a glance at the whole page misses, so these hold on every screen and are measured on the captures.
76
+
77
+ - Use one spacing scale throughout. Every padding and gap is a step of it, because off-scale one-offs read as accident.
78
+ - Give every container (card, panel, button, field, cell) padding on all sides, so text and media never touch its edge.
79
+ - Keep a gap between every block and the rules, dividers, borders and section edges around it, below and beside it as well as above, so nothing sits flush against a line.
80
+ - Let the content of a column share one left edge and one right edge: headings, text and the outer edges of cards line up, and an element that starts further in or out than its neighbours has a reason the design states. Two edges in one column read as a mistake.
81
+ - Let no wrapped line begin with a dash or other closing punctuation (an em or en dash, comma, period, colon, or a closing quote or bracket). Join the mark to the word before it with a non-breaking join or the platform's text-wrap control, or reword (in a terminal frame, where no such join exists, reword or move the break), because a mark that wraps to a line start reads as a break. A dash that opens a line on purpose, such as an attribution, is fine.
82
+
83
+ ### Quality floor, unannounced
84
+
85
+ - Text contrast is at least 4.5:1 and non-text control contrast at least 3:1. Color is never the only signal, and the colors work together as a palette.
86
+ - Every state exists and is captured where reachable: hover or press, focus, disabled, loading, empty, error and long content.
87
+ - The system's reduced-motion, larger-text and high-contrast settings, where the platform has them, change the render; under reduced motion, movement becomes a fade or nothing.
88
+
89
+ ## Terminal rules
90
+
91
+ ### Layout follows the work
92
+
93
+ - Map the job to a layout: a list or table with a detail view, one focused form, a log or stream, or a dashboard.
94
+ - The layout meets an 80×24 floor and degrades gracefully below it, with no tearing or lost input.
95
+ - Run a clutter audit before adding a border or a panel. Borders are rare and use real box-drawing characters: heavy for the focused pane, light for the rest.
96
+
97
+ ### Input and focus
98
+
99
+ - One element owns input at a time, and the focused one is visibly marked.
100
+ - Ctrl-C always exits, `q` quits where nothing is being edited, `?` shows help sized to the window, and `-h` or `--help` works. (behavior check)
101
+ - Pasted text is text, never commands. (behavior check)
102
+ - A resize reflows every screen. Capture before and after.
103
+
104
+ ### State
105
+
106
+ - A slow reply never overwrites a newer one. (behavior check)
107
+ - Selection stays on the same item when the list reloads or re-sorts. (behavior check)
108
+ - Durable errors stay retrievable in a log or status view, not only in a toast that vanishes.
109
+ - Log lines never tear through the drawn screen.
110
+
111
+ ### Terminal hygiene
112
+
113
+ - After the app exits, is interrupted or crashes, the shell works normally: echo on, the main screen back, the cursor visible. (behavior check)
114
+ - Untrusted text never changes colors or moves the cursor. (behavior check)
115
+ - Do not assume alternate-screen support; an inline mode is valid.
116
+
117
+ ### Width and glyphs
118
+
119
+ - Measure and truncate by grapheme cells, never bytes or code points. Test real text with East Asian, emoji sequences and variation selectors; treat ambiguous width as narrow unless known.
120
+ - Read the locale (LC_ALL, then LC_CTYPE, then LANG). When it is not UTF-8, the whole glyph set is ASCII, never a mix, and an ASCII override always exists. (behavior check)
121
+ - Nerd Font glyphs are opt-in, and a private-use glyph is never the only carrier of meaning.
122
+
123
+ ### Color
124
+
125
+ - Precedence is flag, then config, then environment, then TTY detection. A non-empty NO_COLOR removes added color but keeps bold and underline; FORCE_COLOR forces color; empty variables count as unset. When both are set NO_COLOR wins, an accessibility choice this skill makes because its sources disagree; an explicit flag beats both. (behavior check)
126
+ - Capability tier: COLORTERM of truecolor or 24bit, then a TERM ending in 256color, then 16 colors; TERM=dumb or no TTY gets none. COLORTERM is a hint that SSH and multiplexers lose. (behavior check)
127
+ - Detect a light or dark background with a bounded query and default to dark.
128
+ - At most three semantic colors plus one accent. (default)
129
+ - Status colors pair with text or a shape. Both light and dark backgrounds stay legible.
130
+
131
+ ### Piped and scripted output
132
+
133
+ - Primary output goes to stdout and messages to stderr. With no TTY there is no animation, prompt or full-screen UI. (behavior check)
134
+ - Offer `--json`, `--plain` and `--no-input`, with JSON bypassing all formatting; page only on a TTY. (behavior check)
135
+ - First output appears within 100 ms. (default) (behavior check)
136
+
137
+ ### Accessibility
138
+
139
+ - A linear, line-based mode exists: no decorative boxes, no redraw of unchanged content, static progress text instead of spinners, tables as "Header: value" lines, results left in scrollback.
140
+ - A reduced-motion switch exists. Independently updating content sits in a scrolling region instead of repainting the screen.
141
+ - A link label is followed by its full URL.
142
+
143
+ ## Refuse list
144
+
145
+ Unless the brief asks for it, avoid:
146
+
147
+ - boxes around everything, or nested borders
148
+ - emoji or private-use glyphs as the only meaning
149
+ - a spinner with no static fallback
150
+ - color as the only status signal
151
+ - a full-screen UI where a line of output would do (preference)
152
+
153
+ ## Capture checklist
154
+
155
+ Capture text frames (with and without escapes) and image frames at 80×24 and a large size. Vary:
156
+
157
+ - the color tier: truecolor, 256 color, 16 color and NO_COLOR;
158
+ - light and dark backgrounds;
159
+ - an ASCII locale;
160
+ - piped output.
161
+
162
+ Also capture a resize, the help view and the error view.
@@ -0,0 +1,16 @@
1
+ ---
2
+ # Generated by packages/integrations/pi/build.ts from packages/runtime/src/instructions/gpt-6/skills/user-busy/SKILL.md; edit the source and rebuild.
3
+ name: user-busy
4
+ description: "Use when the user says they are away, asleep or busy and not to be asked anything."
5
+ ---
6
+
7
+ # User busy
8
+
9
+ A question to an absent user blocks the work and gains nothing, so ask nothing (no structured question) and keep the work moving. The root's rules still apply; this mode adds no authority.
10
+
11
+ 1. Settle a decision you would have asked on the recommended default and record it under the Asking rules (reassessing Assignments planned on the old revision), so the user can revisit it at the least rework.
12
+ 2. Park every action the root's rules reserve for the user's approval, whatever its default: skip it, continue with everything independent of it, and list it for the return. Proceeding would spend authority the user never gave.
13
+ 3. Never reach a denial, or an action the user's rules refuse, another way: park and report it. Work around other blockers where a safe path exists; otherwise stop the blocked work, list it and continue the rest.
14
+ 4. Put each default, parked action and blocker in the task list as it happens; the final report gathers them: defaults with the alternative, parked actions and blockers.
15
+
16
+ The mode lasts until the user writes a message that is not a reply to a notification; a short "ok" counts as back. Then ask the parked questions through the structured question tool, per the Asking rules.
@@ -0,0 +1,47 @@
1
+ ---
2
+ # Generated by packages/integrations/pi/build.ts from packages/runtime/src/instructions/gpt-6/skills/visual-judging/SKILL.md; edit the source and rebuild.
3
+ name: visual-judging
4
+ description: "Use before the first Worker.visual or Reviewer.visual dispatch, and when rendered work (a web page, terminal UI, desktop or mobile screen) is accepted, repaired or explained visually."
5
+ ---
6
+
7
+ # Judging visual work
8
+
9
+ Judge rendered work from what renders, not from a passing build or a report's claims.
10
+
11
+ ## Pick the platform skill
12
+
13
+ - Pick the platform design skill for the work before the first Worker.visual or Reviewer.visual dispatch: `web-design`, `mobile-design`, `desktop-design` or `tui-design`, one for each platform of a multi-platform project.
14
+ - Name each skill's file in the criteria of both specialists by its literal absolute path, `skills/<name>/SKILL.md` under the package folder, with a blocking criterion to read it and to build and inspect (Worker.visual) or judge (Reviewer.visual) against its checklist and capture list. A specialist starts with no context, so the brief carries the path and the criterion.
15
+ - Start the render target first, per platform (the `dev-server` skill).
16
+
17
+ The platform skill is the only design guidance the two specialists get: the shared core (direction before code, the plan, copy, the quality floor), the platform rules, the refuse list and the capture checklist.
18
+
19
+ ## Accept
20
+
21
+ Your own final pass, after Worker.visual and Reviewer.visual, decides acceptance:
22
+
23
+ - Read the final captures Reviewer.visual lists, at each size and variant the criteria and the skill's capture checklist name, against that skill's checklist (read its file), and accept only when they pass.
24
+ - Check the spacing rules of the design core on those captures as well: padding inside every container, a gap around every block, shared column edges and no line starting with closing punctuation. Accept only when neither the worker's report of places that still touch nor the reviewer's observations name a place where content touches a rule, border or edge, and treat a worker report that neither names such places nor says none remain, or a reviewer report without the comparison, as incomplete.
25
+ - Treat Reviewer.visual's observations (viewport, interaction and visible result for each) as input to the decision, not as the decision. A Worker.visual report alone, or an inspection reported as blocked, accepts nothing.
26
+ - Keep the pass to those final captures: open none from an earlier round and take none yourself. For a missing size or variant, or a web page that Reviewer.visual inspected live and for which Worker.visual saved no captures, have Worker.visual or Worker.operations save the final captures at the listed sizes and variants, which Reviewer.visual then lists. Judge nothing you cannot see.
27
+ - A material finding of your pass starts a repair like any other, whether or not the reviewer reported it; say in the final report when your pass overruled the reviewer.
28
+
29
+ Read an image in the main thread only to show it to the user (a path is not delivery) or to settle a concrete doubt about that evidence, besides the final pass; Reviewer.visual and Worker.visual hand over captures and paths so that you do not have to.
30
+
31
+ ## Material discrepancies
32
+
33
+ A discrepancy is material, and starts a repair whatever its size, when it affects any of these: acceptance; hierarchy or composition; legibility (cramped, overlapping, clipped or disappearing text); responsiveness at a viewport or size the criteria list; whether text and numbers state the content correctly (a title that misstates what it covers); accessibility; interaction correctness; adherence to a reference; obvious production quality. Unnecessary text, headings, cards or badges are design defects. Only pure preference, with none of these effects, stays unrepaired: list it apart, marked optional.
34
+
35
+ A departure from the platform skill's direction rules that has none of these effects is preference too. The project's design system and the user's explicit requirements outrank taste.
36
+
37
+ ## Repair
38
+
39
+ Repair a material finding without asking when the repair keeps the user's requirements and needs no choice between fixes; otherwise ask through the structured question tool with a recommended default. Run the repair to a clean inspection:
40
+
41
+ - Dispatch Worker.visual with the findings as criteria and say "round N of 3" in the brief, then Reviewer.visual to re-inspect only what the repair touched, until the inspection is clean; then repeat your final pass on the captures that changed.
42
+ - Allow at most three rounds per finding, counted across Worker.visual dispatches; after three, report the finding as a blocker.
43
+ - Name each skipped preference in the final report, without a fix.
44
+
45
+ ## Explanatory pages
46
+
47
+ When a visual explanation or chart carries what prose cannot, build one self-contained HTML page. Such a page illustrates and does not validate a software interface. If the host offers an HTML preview or render tool, use it to check the page as an image with its console output and to show the finished page inline. Without one, save the page as a file, check it as far as the environment allows and give the user its path, naming what you could not check.
@@ -0,0 +1,161 @@
1
+ ---
2
+ # Generated by packages/integrations/pi/build.ts from packages/runtime/src/instructions/gpt-6/skills/web-design/SKILL.md; edit the source and rebuild.
3
+ name: web-design
4
+ description: "Use when building, reshaping or judging the visual design of a web page or web app."
5
+ ---
6
+
7
+ # Web design
8
+
9
+ Rules for pages and web apps, judged on what renders: the visual direction, the systems, the semantics and the capture floor.
10
+
11
+ ## Shared core
12
+
13
+ Judge every rule on the rendered result, from the captures. The one exception is the rules under Direction before code, which are checked as a plan in the worker's report or `DESIGN.md`, not on a render.
14
+
15
+ Two tags mark rules that are not judged from a capture:
16
+
17
+ - `(behavior check)` marks a rule no capture can show (a file, a process, an input sequence). Worker.operations runs it and reports it, and nobody infers it from a still.
18
+ - `(preference)` marks taste: list it, do not repair it.
19
+
20
+ A violation of any other rule is judged by this definition:
21
+
22
+ A discrepancy is material, and starts a repair whatever its size, when it affects any of these: acceptance; hierarchy or composition; legibility (cramped, overlapping, clipped or disappearing text); responsiveness at a viewport or size the criteria list; whether text and numbers state the content correctly (a title that misstates what it covers); accessibility; interaction correctness; adherence to a reference; obvious production quality. Unnecessary text, headings, cards or badges are design defects. Only pure preference, with none of these effects, stays unrepaired: list it apart, marked optional.
23
+
24
+ A number is binding only where a platform guideline fixes it; every other number is a default, marked `(default)`, that the design may override with a stated reason.
25
+
26
+ Apply the skill's capture checklist on the final captures: the worker before reporting, the reviewer in its findings and the root in its own final pass. Before visual work is reported done, the worker also measures the padding and gaps on those captures against the spacing rules (in pixels or computed styles on a web, mobile or desktop render, in character cells on a terminal frame), repairs what it finds, captures again and names each place where content still touches a rule, border or edge, or says none remain. The reviewer compares the same captures and any measurements the worker recorded against the spacing rules and names each visible contact or missing padding by its location, or says it found none; it gives no number it did not read from a capture or a record. Check your own work as it takes shape, from captures wherever the environment can produce them. Report only checks actually run, and name each check not run.
27
+
28
+ ### Direction before code
29
+
30
+ - When the brief leaves out the subject, the audience or the main job, confirm them with the user when one can answer, and otherwise state them as a proposal in the plan; remembered preferences or project context are a starting hint. The brief's own words outrank every avoid list below.
31
+ - Let the subject supply the look: its trade, materials and idiom decide the visual choices, and the brief's real content stays in the work from start to finish. A ferry timetable and a toddler's game should look nothing alike.
32
+ - Choose palette, type and layout on purpose and for this brief alone, accept visual risk when it earns its place, and treat each project as a chance to try something new instead of repeating what you do best.
33
+ - Sketch a plan before building. It holds:
34
+ - a small named palette: four to six colors, each with a value and a role;
35
+ - the type roles;
36
+ - a layout idea in one sentence, compared through rough ASCII wireframes, with how the content aligns (left, centered or justified);
37
+ - two or three principles;
38
+ - an audit with two questions, "would I make this for any similar product?" and the competitor test (drop an idea that still works with a competitor's name on it);
39
+ - a rewrite of what fails, with a note of what changed and why.
40
+
41
+ Write code only from the revised plan.
42
+
43
+ - Say whether this is a refinement, which preserves the existing design, or a redesign, which replaces it.
44
+
45
+ ### Platform fidelity over invention
46
+
47
+ - Use the platform's own components, navigation and conventions unless the brief gives a reason not to, and brand through the layer the platform leaves open.
48
+ - Ported-from-a-website test: a fluent user of the platform never pauses at an off-spec control.
49
+ - Rules here are platform concepts. Detect the project's stack and map each rule onto it; never assume one.
50
+
51
+ ### Design record
52
+
53
+ - Read `DESIGN.md` at the project root before UI work and create or update it after. It holds: platform and stack, direction, color roles, type roles, spacing and shape, components and states, do and don't, and a brief log of the options already tried, so later passes explore new ground. Note a changed decision instead of silently overwriting it. (behavior check)
54
+
55
+ ### Spend boldness in one place
56
+
57
+ - Make one detail per screen the memorable one and keep the rest calm and restrained. Strip ornament that does nothing for the brief, and before finishing remove one accessory more, filling the gap with scale, real content or a real image so the screen is not left thin. (preference)
58
+ - A labeled gray placeholder beats drawn art or emoji used as icons. (preference)
59
+
60
+ ### Structure and content
61
+
62
+ - A border, divider, outline, label, eyebrow or number belongs only where it tells the reader something true about the content. Numbers mark a real sequence (steps, a timeline) and nothing else, so confirm it is one first. An eyebrow over every heading, all-caps labels and labels that say nothing are decoration, not structure.
63
+ - With no real content in the brief, invent specific copy from the subject: generic words flatten a design as much as a generic layout does.
64
+
65
+ ### Copy
66
+
67
+ - Interface text exists to help someone understand and act, so treat it as part of the design. Decide what the screen must convey and the shortest way to convey it, with one job for each piece of text.
68
+ - Speak in the user's terms, calling a thing what the user calls it ("saved searches", not "query presets"). Say what a thing is or does without selling it; concrete beats clever.
69
+ - Set text in sentence case unless the platform sets its own casing, leave out padding, keep the tone conversational and in step with the brand and its readers, and write in the active voice with everyday verbs.
70
+ - A control names its outcome ("Send invoice", not "Submit"), and each action carries one name from first label to confirmation: the Duplicate button leads to a "Duplicated" confirmation.
71
+ - When something fails or nothing is there yet, point the way. An error states what happened and how to recover, speaks as the interface and not as a person, and neither apologizes nor stays vague; an empty state invites the first action.
72
+
73
+ ### Spacing and alignment
74
+
75
+ Models tend to ship cramped or misaligned spacing that a glance at the whole page misses, so these hold on every screen and are measured on the captures.
76
+
77
+ - Use one spacing scale throughout. Every padding and gap is a step of it, because off-scale one-offs read as accident.
78
+ - Give every container (card, panel, button, field, cell) padding on all sides, so text and media never touch its edge.
79
+ - Keep a gap between every block and the rules, dividers, borders and section edges around it, below and beside it as well as above, so nothing sits flush against a line.
80
+ - Let the content of a column share one left edge and one right edge: headings, text and the outer edges of cards line up, and an element that starts further in or out than its neighbours has a reason the design states. Two edges in one column read as a mistake.
81
+ - Let no wrapped line begin with a dash or other closing punctuation (an em or en dash, comma, period, colon, or a closing quote or bracket). Join the mark to the word before it with a non-breaking join or the platform's text-wrap control, or reword (in a terminal frame, where no such join exists, reword or move the break), because a mark that wraps to a line start reads as a break. A dash that opens a line on purpose, such as an attribution, is fine.
82
+
83
+ ### Quality floor, unannounced
84
+
85
+ - Text contrast is at least 4.5:1 and non-text control contrast at least 3:1. Color is never the only signal, and the colors work together as a palette.
86
+ - Every state exists and is captured where reachable: hover or press, focus, disabled, loading, empty, error and long content.
87
+ - The system's reduced-motion, larger-text and high-contrast settings, where the platform has them, change the render; under reduced motion, movement becomes a fade or nothing.
88
+
89
+ ## Web rules
90
+
91
+ - Name the mode in the plan. An expressive page (marketing, editorial) is judged on point of view and composition; a task-oriented product UI is judged on familiarity and speed of use. (preference)
92
+ - A product UI earns familiarity: one type family, motion of about 150 to 250 ms only as feedback to an action, no page-load choreography, and a modal only as a last resort. (default)
93
+
94
+ ### Hero and typography
95
+
96
+ - Fill the hero with what is most distinctive about the subject, then pick the form that shows it best: a headline, an image, motion, a live demo or an interaction. The stock hero (one big figure over a small caption, a row of supporting stats, a gradient accent) needs a reason to be chosen.
97
+ - Typography is where a page gets its character. One family may carry both display and body when it suits the brief; two work if they differ plainly. Pick faces for this brief and not the ones you reach for every time, and build a clear scale on the conventions of The Elements of Typographic Style, with weights, widths and spacing set on purpose. (preference)
98
+ - Treat headline and display type as a design element in its own right and not a transparent carrier for the words.
99
+
100
+ ### Systems, not values
101
+
102
+ - Space, type size, shadow and opacity come from small scales. For space, for example 4, 8, 12, 16, 24, 32, 48, 64 and 96, with no adjacent steps closer than about 25%. Symptom: near-identical gaps or one-off sizes in the capture. (default)
103
+ - More space surrounds a group than sits inside it, so groups read at a glance.
104
+ - Two font weights. Hierarchy comes from weight and color before size, with at most three text colors. (default)
105
+ - The layout holds its hierarchy in grayscale before color is added. (preference)
106
+ - Body text measure is 65 to 75 characters, and a line never spans a wide screen. A serif body face tolerates a somewhat longer measure but wants extra leading compared with a sans. (default)
107
+ - Set section spacing in one place and keep selector specificity flat, so a class rule and an element rule never override each other's padding or margin. Symptom: uneven or doubled gaps between sections.
108
+ - The layout holds from phone width to desktop with no horizontal scroll or clipped content.
109
+
110
+ ### Actions and hierarchy
111
+
112
+ - One primary action per view, visibly dominant over the rest.
113
+ - A destructive action is not a big red button by default; the strong styling sits inside its confirmation. Capture the confirmation step.
114
+ - Destructive actions are confirmed or undoable. (behavior check)
115
+
116
+ ### Semantics and input
117
+
118
+ - Buttons act and links navigate. A control that navigates is a link and one that acts is a button. (behavior check)
119
+ - Icon-only buttons have an accessible label, and a tooltip on hover and focus where a pointer exists.
120
+ - Focus is visible on every interactive element in a keyboard traversal. An outline is never removed without a visible replacement.
121
+ - Forms accept paste, use the input type and autofill hint that fit each field, and never block the user. (behavior check)
122
+ - After a failed submit, each error sits inline beside its field and focus moves to the first one. Capture that frame.
123
+
124
+ ### Content edge cases
125
+
126
+ - Truncation, long words, an empty state and very long content render without overflow, overlap or a broken layout.
127
+ - State that should survive a reload or a share lives in the URL: reload and open the copied URL fresh, and the same view returns. (behavior check)
128
+
129
+ ### Motion
130
+
131
+ - Spend unprompted motion on one moment, such as a single load sequence or reveal, and do not scatter it: entrance animations on every section and hover effects on every card are the stock look. Feedback motion earns its place by making the change visible.
132
+ - Only transform and opacity animate, never a blanket "all properties" transition. (behavior check)
133
+ - Animations can be interrupted.
134
+
135
+ ### Themed browser surfaces
136
+
137
+ - Selection color, caret, scrollbars and focus rings are styled as part of the design in both themes.
138
+
139
+ ## Refuse list
140
+
141
+ The brief's own words win over this list. Unless the brief asks for it, and without filling a choice the brief leaves open with one of these defaults, avoid:
142
+
143
+ - identical icon-card grids and hero metric tiles
144
+ - a card-kit page: look-alike rounded panels, one corner radius whatever an element's rank, the same faint shadow on every panel, and gradients as ornament
145
+ - picking out one word or phrase of a headline with italics, bold or another color
146
+ - gradient text and side-stripe borders
147
+ - glass as decoration (preference)
148
+ - emoji as icons
149
+ - a newspaper front page (hairline rules, square corners, dense multi-column text) for a subject that is not editorial (preference)
150
+ - default-kit trimmings that show up regardless of subject: a trailing arrow on links and buttons, monospace captions on small data, off-black fills used in place of true black, labels shaped as a capitalized word, a dash and a fragment, and metadata strung together with dots
151
+ - a warm paper-cream ground with a high-contrast serif and a terracotta accent, which has become a generated-page signature, or a near-black ground with one lone neon or red-orange accent (preference)
152
+
153
+ ## Capture checklist
154
+
155
+ Capture at phone, tablet and desktop widths. At each width capture:
156
+
157
+ - light and dark;
158
+ - reduced motion on;
159
+ - 200% text zoom.
160
+
161
+ Also capture a keyboard-only focus traversal, each state of the key control, the confirmation of a destructive action and a failed form submit.
package/package.json CHANGED
@@ -1,6 +1,42 @@
1
1
  {
2
2
  "name": "holyagent",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.3.3-bootstrap.0",
4
+ "description": "HolyAgent for Pi: its skills, its 18 specialists and an extension, built from the shared holyagent runtime.",
5
+ "license": "Apache-2.0",
6
+ "author": "davidbasilefilho",
7
+ "type": "module",
8
+ "keywords": [
9
+ "pi-package"
10
+ ],
11
+ "files": [
12
+ "agents",
13
+ "extensions",
14
+ "families",
15
+ "prompts",
16
+ "scripts",
17
+ "skills"
18
+ ],
19
+ "pi": {
20
+ "extensions": [
21
+ "./extensions"
22
+ ],
23
+ "prompts": [
24
+ "./prompts"
25
+ ],
26
+ "skills": [
27
+ "./skills"
28
+ ],
29
+ "subagents": {
30
+ "agents": [
31
+ "./agents"
32
+ ]
33
+ }
34
+ },
35
+ "peerDependencies": {
36
+ "@earendil-works/pi-agent-core": "*",
37
+ "@earendil-works/pi-ai": "*",
38
+ "@earendil-works/pi-coding-agent": "*",
39
+ "@earendil-works/pi-tui": "*",
40
+ "typebox": "*"
41
+ }
42
+ }