agent-manifesto-kit 0.0.0-development

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 (63) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +95 -0
  3. package/collection/NOTICE.md +36 -0
  4. package/collection/agents/code-reviewer.md +103 -0
  5. package/collection/agents/docs-manager.md +127 -0
  6. package/collection/bundles/kit-adopt/README.md +36 -0
  7. package/collection/bundles/kit-adopt/conventions/recommended-companions.md +43 -0
  8. package/collection/bundles/kit-adopt/pipelines/kit-adopt.md +52 -0
  9. package/collection/bundles/kit-adopt/skills/kit-adopt/SKILL.md +72 -0
  10. package/collection/bundles/sdd/README.md +50 -0
  11. package/collection/bundles/sdd/RECOMMENDS.md +21 -0
  12. package/collection/bundles/sdd/agents/sdd-gap-analyzer.md +79 -0
  13. package/collection/bundles/sdd/agents/sdd-spec-reviewer.md +75 -0
  14. package/collection/bundles/sdd/conventions/sdd-doc-set.md +136 -0
  15. package/collection/bundles/sdd/pipelines/sdd-adopt.md +60 -0
  16. package/collection/bundles/sdd/pipelines/sdd-bootstrap.md +60 -0
  17. package/collection/bundles/sdd/skills/sdd-doc-author/SKILL.md +69 -0
  18. package/collection/bundles/sdd/skills/sdd-feature-author/SKILL.md +71 -0
  19. package/collection/bundles/sdd/skills/sdd-index-sync/SKILL.md +61 -0
  20. package/collection/bundles/sdd/templates/docs/INDEX.md +35 -0
  21. package/collection/bundles/sdd/templates/docs/api.md +23 -0
  22. package/collection/bundles/sdd/templates/docs/architecture.md +42 -0
  23. package/collection/bundles/sdd/templates/docs/db.md +22 -0
  24. package/collection/bundles/sdd/templates/docs/decisions/ADR-template.md +24 -0
  25. package/collection/bundles/sdd/templates/docs/design.md +43 -0
  26. package/collection/bundles/sdd/templates/docs/idea.md +46 -0
  27. package/collection/bundles/sdd/templates/docs/operations.md +28 -0
  28. package/collection/bundles/sdd/templates/docs/roadmap.md +26 -0
  29. package/collection/bundles/sdd/templates/docs/security.md +24 -0
  30. package/collection/bundles/sdd/templates/docs/testing.md +34 -0
  31. package/collection/bundles/sdd/templates/features/F000_template/requirements.md +38 -0
  32. package/collection/bundles/sdd/templates/features/F000_template/scenarios.md +26 -0
  33. package/collection/bundles/sdd/templates/features/F000_template/tasks.md +11 -0
  34. package/collection/skills/brainstorm/SKILL.md +46 -0
  35. package/collection/skills/business-analyst/SKILL.md +58 -0
  36. package/collection/skills/documentation-maintenance/SKILL.md +60 -0
  37. package/collection/skills/explain-code/SKILL.md +81 -0
  38. package/collection/skills/frontend-audit/SKILL.md +135 -0
  39. package/collection/skills/frontend-impeccable-design/SKILL.md +135 -0
  40. package/collection/skills/frontend-impeccable-polish/SKILL.md +118 -0
  41. package/collection/skills/implement-feature/SKILL.md +99 -0
  42. package/collection/skills/memory-management/SKILL.md +75 -0
  43. package/collection/skills/meta-tags-optimizer/SKILL.md +73 -0
  44. package/collection/skills/pencil-design/SKILL.md +83 -0
  45. package/collection/skills/playwright-cli/SKILL.md +104 -0
  46. package/collection/skills/prepare-release-notes/SKILL.md +109 -0
  47. package/collection/skills/refactor-code/SKILL.md +104 -0
  48. package/collection/skills/review-code/SKILL.md +98 -0
  49. package/collection/skills/schema-markup-generator/SKILL.md +80 -0
  50. package/collection/skills/task-complete/SKILL.md +79 -0
  51. package/collection/skills/task-discovery/SKILL.md +69 -0
  52. package/collection/skills/task-validation/SKILL.md +71 -0
  53. package/collection/skills/test-review/SKILL.md +72 -0
  54. package/collection/skills/test-writer/SKILL.md +78 -0
  55. package/collection/skills/work-with-git/SKILL.md +154 -0
  56. package/dist/catalog.js +146 -0
  57. package/dist/cli.js +108 -0
  58. package/dist/commands/adopt.js +100 -0
  59. package/dist/commands/lint.js +26 -0
  60. package/dist/commands/list.js +30 -0
  61. package/dist/portability.js +41 -0
  62. package/dist/providers.js +37 -0
  63. package/package.json +49 -0
@@ -0,0 +1,135 @@
1
+ ---
2
+ name: frontend-audit
3
+ description: Diagnostic review of an existing frontend UI for accessibility, responsive behavior, semantic structure, color contrast, and obvious performance hazards. Reports findings with severity; does not edit code unless the user explicitly asks for fixes. Use when the user asks to audit, review for a11y, check responsive, review semantics, or assess UI quality. Do not use for visual polish or initial design.
4
+ ---
5
+
6
+ ## Scope
7
+
8
+ - Diagnose an existing UI surface (route, component, directory, or rendered screenshot) and report issues with severity.
9
+ - Cover accessibility per WCAG 2.2 AA success criteria by default, plus keyboard navigation, ARIA correctness, semantic HTML, color contrast, responsive behavior across common breakpoints, image and asset handling, and obvious performance hazards. If the project documents a different target (e.g., 2.1 AA, 2.2 AAA, or named exceptions), follow that instead and state the standard used in the report.
10
+
11
+ ## Prerequisites
12
+
13
+ - A target identified by the user: a route, file, directory, or screenshot.
14
+ - Ability to read source files in the target.
15
+ - This skill is guide-only — it does not invoke axe-core, Lighthouse, or external tooling. If the user wants tool-based output, they should run those tools separately and feed results in.
16
+ - Default standard is WCAG 2.2 AA. If the project documents a different conformance target or design-system accessibility contract, read it before judging and use it in place of the default. State the standard used in the Scope Audited table.
17
+
18
+ ## Safety Constraints
19
+
20
+ - Do not edit code as part of the audit. The output is a report. The user may request fixes in a follow-up; fixes belong to a visual-polish pass (for visual issues) or a code-edit pass (for behavioral issues), not to this skill.
21
+ - Do not claim WCAG conformance levels (A / AA / AAA) without checking each criterion under that level. State only the criteria actually checked.
22
+ - Do not infer behavior from class names alone. For runtime-only findings, apply the label-only Stop Trigger (see Stop Triggers).
23
+
24
+ ## Procedure
25
+
26
+ Attempt each section in order. If a halt-class Stop Trigger fires (see Stop Triggers below), stop the audit immediately and return a halted report naming the trigger — do not continue with remaining sections. Otherwise, for sections that do not apply to the located target, skip and record the reason in the Coverage section. Per-finding ambiguity (e.g., runtime-only behavior) attaches to the affected finding via the severity enum and does not halt the audit.
27
+
28
+ ### 1. Semantic structure
29
+
30
+ - Confirm a single `<h1>` per page; heading levels do not skip downward (no `<h1>` → `<h3>`).
31
+ - Landmarks present and used correctly: `<header>`, `<nav>`, `<main>`, `<footer>`, `<aside>`. No duplicated landmarks without `aria-label`.
32
+ - Lists use `<ul>` / `<ol>` / `<li>`. Buttons are `<button>`, links are `<a href>`. Do not accept `<div onClick>` for interactive elements.
33
+ - Form fields have associated `<label>` (explicit `for=` or wrapping). Error messages associated via `aria-describedby`.
34
+
35
+ ### 2. Keyboard and focus
36
+
37
+ - Every interactive element is reachable by `Tab` in a logical order.
38
+ - Visible focus indicator exists and is not removed by `outline: none` without a replacement.
39
+ - No keyboard trap inside dialogs, popovers, or menus. Dialogs return focus to the trigger on close.
40
+ - Custom widgets implement the expected key bindings (Esc closes a dialog, arrow keys navigate a menu, Space/Enter activate a button).
41
+
42
+ ### 3. ARIA correctness
43
+
44
+ - ARIA attributes are used only where native semantics are insufficient. No `role="button"` on a `<button>`.
45
+ - `aria-label`, `aria-labelledby`, and `aria-describedby` reference existing ids and convey real information, not redundant text.
46
+ - Live regions (`aria-live`) are present for asynchronous status updates and not used to announce every render.
47
+ - `aria-hidden="true"` is never applied to an element that contains focusable descendants.
48
+
49
+ ### 4. Color and contrast
50
+
51
+ - Body text against its background meets WCAG 1.4.3 (4.5:1 for normal text, 3:1 for large text).
52
+ - Non-text UI affordances (focus rings, input borders, icon-only buttons) meet WCAG 1.4.11 (3:1 against adjacent colors).
53
+ - Information is not conveyed by color alone (errors are not only red; status is not only green).
54
+
55
+ ### 5. Responsive behavior
56
+
57
+ - Layout works at 320px, 768px, 1024px, and 1440px without horizontal scroll on the body.
58
+ - Touch targets are at least 24x24 CSS px (WCAG 2.5.8); 44x44 for primary actions where reasonable.
59
+ - Text reflows; no fixed pixel widths on text containers that would clip at common widths.
60
+ - Sticky and fixed elements do not cover essential content on small viewports.
61
+
62
+ ### 6. Images and media
63
+
64
+ - Every `<img>` has an `alt` attribute. Decorative images use `alt=""`. Informative images have meaningful alt text, not the filename.
65
+ - `<img>` declares `width` and `height` (or aspect-ratio) to prevent layout shift.
66
+ - Video and audio have captions or transcripts when content is non-decorative.
67
+
68
+ ### 7. Performance hazards (source-visible only)
69
+
70
+ - No render-blocking inline scripts in `<head>` for non-critical work.
71
+ - Images use modern formats (AVIF/WebP) or have a documented reason not to.
72
+ - No obvious oversize bundles imported for one-off uses (e.g., importing all of lodash for one function).
73
+ - No layout-thrashing animations (animating width/height/top/left); flag these as also failing the polish rule.
74
+
75
+ ## Stop Triggers
76
+
77
+ Triggers below have different effects. Apply each per its category.
78
+
79
+ **Halt the audit and return a halted report naming the trigger:**
80
+
81
+ - The target cannot be located or read.
82
+
83
+ **Continue the audit, but downgrade or withhold severity claims:**
84
+
85
+ - The applicable WCAG conformance target or design-system contract is unclear and would change the severity of multiple findings. Do not assign Blocker or Major to affected findings; record them at Minor or Info with the reason, and recommend re-audit after the contract is clarified. (Operationalizes the conformance-claim restriction in Safety Constraints for the unclear-target case.)
86
+
87
+ **Continue the audit; label only the affected finding:**
88
+
89
+ - A finding requires runtime behavior that source-only inspection cannot confirm. Mark it `Requires runtime verification` per the severity enum.
90
+
91
+ ## Verification
92
+
93
+ This skill produces a report, not edits. Verification:
94
+
95
+ - Confirm every finding cites a concrete file and line, attribute, selector, or screenshot region.
96
+ - Confirm severity is assigned per the scale below, not by intuition.
97
+ - Confirm the section coverage table records each procedure section as covered, skipped (not applicable), or skipped (no occurrences).
98
+
99
+ ## Output Contract
100
+
101
+ Emit:
102
+
103
+ `Skill: frontend-audit - output below`
104
+
105
+ Then include:
106
+
107
+ ### Scope Audited
108
+
109
+ | Target | Sections Covered | Sections Skipped |
110
+ | --- | --- | --- |
111
+
112
+ ### Findings
113
+
114
+ | ID | Section | Severity | Location | Issue | Suggested fix |
115
+ | --- | --- | --- | --- | --- | --- |
116
+
117
+ Severity values:
118
+
119
+ - **Blocker**: violates a documented WCAG criterion at the level the project claims to meet, or breaks keyboard access entirely.
120
+ - **Major**: significant a11y, responsive, or semantic issue likely to affect real users.
121
+ - **Minor**: smaller issue, low user impact, worth fixing on the next pass.
122
+ - **Info**: observation that is not a violation but worth recording.
123
+ - **Requires runtime verification**: finding suspected from source but unconfirmable without running the surface.
124
+
125
+ ### Coverage
126
+
127
+ State which procedure sections ran and which were skipped, with the reason for each skip.
128
+
129
+ ### Recommended Next Step
130
+
131
+ A single concrete next step: a fix pass, a runtime verification pass, or a re-audit after specific changes.
132
+
133
+ ## Attribution
134
+
135
+ See `collection/NOTICE.md` for attribution.
@@ -0,0 +1,135 @@
1
+ ---
2
+ name: frontend-impeccable-design
3
+ description: Generate a new frontend UI from a brief with a deliberate, distinctive aesthetic — components, pages, landing surfaces, dashboards, or app shells. Use when the user asks to design, build, create, scaffold, or generate UI code from scratch or from a description. Do not use for polishing already-built UI, accessibility or technical audits, or design-tool work in encrypted design files (e.g., `.pen`).
4
+ ---
5
+
6
+ ## Scope
7
+
8
+ - Generate new UI as real code (HTML/CSS/JS, React, Vue, Svelte, or the project's existing framework).
9
+ - Commit to a single distinctive aesthetic direction per surface.
10
+ - Avoid generic "AI made this" defaults in font, color, layout, and motion choices.
11
+
12
+ ## Prerequisites
13
+
14
+ - A brief from the user: purpose, audience, surface (component / page / app shell), and any technical constraints (framework, dark/light, target devices).
15
+ - Ability to write source files into the target project.
16
+ - If the project has brand context files (e.g., `PRODUCT.md`, `DESIGN.md`, brand guidelines), read them before designing. If none exist, infer the register (brand surface vs product UI) from the brief and state the inference in the report.
17
+ - If the project has an existing component library, design system, or shared tokens, read them before generating new components; reuse rather than duplicate where the existing primitive fits.
18
+
19
+ ## Safety Constraints
20
+
21
+ - Do not modify backend, data, or auth code. UI code only.
22
+ - Do not invent product copy that asserts facts about real entities, prices, dates, claims, or legal text. Use clearly placeholder copy or ask the user for real strings.
23
+ - Do not introduce new heavyweight dependencies (animation libraries, design systems, icon kits) without first checking what the project already uses; prefer the existing stack.
24
+ - When generating a surface that resembles an existing one, do not silently overwrite the existing file. Stop and confirm intent.
25
+
26
+ ## Procedure
27
+
28
+ ### 1. Read the brief and the project
29
+
30
+ - Restate the brief in one sentence to confirm understanding: who uses this surface, where, under what conditions.
31
+ - Identify the register: brand (marketing, landing, campaign — design IS the product) or product (app UI, dashboard, tool — design SERVES the product).
32
+ - Locate the project's framework, existing components, token system, fonts in use, and any global styles. Use what is there.
33
+
34
+ ### 2. Commit to a direction before generating
35
+
36
+ State, in the report, a single aesthetic direction in plain words. Examples: brutally minimal, editorial-typographic, terminal-native, soft pastel, industrial-utilitarian, art deco geometric, retro-futuristic. Do not generate two directions in parallel as alternatives unless the user asked for variants.
37
+
38
+ ### 3. Apply the design laws
39
+
40
+ These laws apply to every generated surface, both registers. Match implementation complexity to the chosen direction — maximalist needs elaborate code, minimalist needs precision.
41
+
42
+ **Color**
43
+ - Use OKLCH for new color values. Reduce chroma as lightness approaches 0 or 100.
44
+ - Never use literal `#000` or `#fff`. Tint neutrals toward the brand hue (chroma ~0.005–0.01).
45
+ - Pick a color strategy before picking colors: restrained (one accent ≤10%), committed (one color carries 30–60%), full palette (3–4 named roles), or drenched (the surface IS the color). State the choice.
46
+
47
+ **Theme**
48
+ - Dark vs light is never a default. Write one sentence describing the physical scene (who, where, ambient light, mood). If that sentence does not force the answer, add detail until it does.
49
+
50
+ **Typography**
51
+ - Pair a distinctive display font with a refined body font. Avoid Inter, Roboto, Arial, and system-default-only stacks unless the chosen direction explicitly calls for them.
52
+ - Cap body line length at 65–75ch. Enforce ≥1.25 ratio between hierarchy steps.
53
+
54
+ **Layout**
55
+ - Use the layout that fits the content, not the layout reflex of the category. Asymmetry, overlap, generous negative space, and controlled density are all permitted; pick one.
56
+ - Cards are the lazy answer. Use them only when they are the best affordance for the content. Nested cards are always wrong.
57
+
58
+ **Motion**
59
+ - Animate transform and opacity. Do not animate CSS layout properties (width, height, top, left, margin).
60
+ - Ease-out with exponential curves. No bounce or elastic easing by default.
61
+
62
+ **Copy**
63
+ - Every word earns its place. No restated headings. No em dashes (or `--`); use commas, colons, semicolons, periods, or parentheses.
64
+
65
+ ### 4. Avoid AI-slop defaults
66
+
67
+ Do not generate these as defaults. If the chosen direction genuinely calls for one, justify it in the report.
68
+
69
+ - Side-stripe borders: `border-left`/`border-right` >1px as a colored accent on cards or alerts.
70
+ - Gradient text: `background-clip: text` combined with a gradient fill.
71
+ - Decorative glassmorphism as a default surface treatment.
72
+ - Hero-metric template: big number + small label + supporting stats + gradient accent.
73
+ - Identical card grids: same-sized icon + heading + text repeated as the page's primary layout.
74
+ - Modal-first interaction reflex.
75
+ - Purple-gradient-on-white, navy-and-gold-fintech, dark-blue-observability, neon-on-black-crypto, and other category-reflex palettes.
76
+
77
+ ### 5. Category-reflex check before generating
78
+
79
+ Ask: could someone guess the theme and palette from the product category alone? If yes, rework the scene sentence and color strategy until the answer is not obvious. Run this check before writing code, not after.
80
+
81
+ ## Stop Triggers
82
+
83
+ Stop and ask the user instead of generating when any of the following apply:
84
+
85
+ - The brief is missing purpose, audience, or surface and cannot be inferred from project context.
86
+ - A surface with the same path or name already exists and would be overwritten.
87
+ - The required framework or token system is unclear and the project has multiple candidates.
88
+ - More than one materially distinct aesthetic direction is viable for the same brief and the choice matters. Present options with one-line trade-offs and let the user choose.
89
+
90
+ ## Verification
91
+
92
+ After generating:
93
+
94
+ - Confirm each new file compiles or type-checks if the project has those gates available.
95
+ - Render the surface in a dev server or preview if one is reasonably available; confirm it loads without obvious regression. If not available, state that visual verification was skipped.
96
+ - Re-read each new file against the design laws and AI-slop list to confirm nothing was reintroduced by reflex.
97
+
98
+ ## Output Contract
99
+
100
+ Emit:
101
+
102
+ `Skill: frontend-impeccable-design - output below`
103
+
104
+ Then include:
105
+
106
+ ### Brief Restated
107
+
108
+ One sentence: who, where, under what conditions.
109
+
110
+ ### Direction
111
+
112
+ | Field | Value |
113
+ | --- | --- |
114
+ | Register | brand / product |
115
+ | Aesthetic direction | one short phrase |
116
+ | Color strategy | restrained / committed / full palette / drenched |
117
+ | Theme | light / dark, with the scene sentence that forced it |
118
+ | Display font | name + rationale |
119
+ | Body font | name + rationale |
120
+
121
+ ### Files Generated
122
+
123
+ List each new file with a one-line description of what it contains.
124
+
125
+ ### Verification
126
+
127
+ State which verification steps ran and their result, including any that were skipped and why.
128
+
129
+ ### Open Choices
130
+
131
+ For each choice deliberately left to the user: option, recommendation, trade-off. Empty list if none.
132
+
133
+ ## Attribution
134
+
135
+ See `collection/NOTICE.md` for attribution.
@@ -0,0 +1,118 @@
1
+ ---
2
+ name: frontend-impeccable-polish
3
+ description: Final-pass visual and interaction polish for an already-built frontend UI before shipping. Use when the user asks to polish, refine, tighten, or clean up a built-out interface — typography rhythm, spacing, color discipline, motion, copy, and removal of generic "AI made this" tells. Do not use for initial design from scratch, accessibility audits, or performance work.
4
+ ---
5
+
6
+ ## Scope
7
+
8
+ - Tighten an already-built UI surface: typography, spacing, color, motion, copy.
9
+ - Replace generic patterns with committed aesthetic choices.
10
+ - Remove "AI made this" tells.
11
+
12
+ ## Prerequisites
13
+
14
+ - A target identified by the user: a route, component file, directory, or screenshot.
15
+ - Ability to edit source files in the target's project.
16
+ - If the project has brand context files (e.g., `PRODUCT.md`, `DESIGN.md`, brand guidelines), read them before editing. If none exist, infer the register from the surface in focus and state the inference in the report.
17
+
18
+ ## Safety Constraints
19
+
20
+ - Never run this skill on initial-design tasks. If the target is empty, a wireframe, or unbuilt, stop and tell the user this skill polishes existing UI only.
21
+ - Never change behavior or component contracts while polishing. Visual and copy changes only. If a polish requires a behavior change, stop and surface the options to the user.
22
+ - Do not modify or remove accessibility attributes or ARIA semantics. The only allowed change is fixing an obvious regression that another polish edit would otherwise introduce. If the user asks for ARIA or a11y changes, stop and direct them to a dedicated accessibility audit.
23
+
24
+ ## Procedure
25
+
26
+ Work each section in order. Skip a section only if it does not apply to the target; record the skip and the reason in the report.
27
+
28
+ ### 1. Color
29
+
30
+ - Replace literal `#000` and `#fff` with neutrals tinted toward the brand hue (in OKLCH, chroma ~0.005–0.01).
31
+ - Reduce chroma as lightness approaches 0 or 100.
32
+ - Identify and state the color strategy actually in use: restrained (one accent ≤10%), committed (one color carries 30–60%), full palette (3–4 named roles), or drenched. If the surface is incoherent across strategies, pick one and align to it.
33
+
34
+ ### 2. Typography
35
+
36
+ - Cap body line length at 65–75ch.
37
+ - Enforce a ≥1.25 ratio between hierarchy steps. Rewrite flat scales.
38
+ - Carry hierarchy through size and weight, not color.
39
+
40
+ ### 3. Layout
41
+
42
+ - Vary spacing for rhythm; remove uniform padding repeated across unrelated regions.
43
+ - Remove card wrappers that serve no affordance. Eliminate nested cards.
44
+ - Drop container wrappers that impose no real constraint.
45
+
46
+ ### 4. Motion
47
+
48
+ - Replace animations of layout properties (width, height, top, left, margin) with transform/opacity equivalents.
49
+ - Use ease-out exponential curves. Remove bounce and elastic easing.
50
+
51
+ ### 5. Copy
52
+
53
+ - Cut restated headings and intros that repeat the title.
54
+ - Replace em dashes (and `--`) with commas, colons, semicolons, periods, or parentheses.
55
+ - Tighten labels and error messages to single concrete actions.
56
+
57
+ ### 6. AI-slop removal
58
+
59
+ If any of the following appear in the target, rewrite the element rather than tweaking it:
60
+
61
+ - Side-stripe borders: `border-left`/`border-right` greater than 1px used as a colored accent on cards, list items, callouts, or alerts.
62
+ - Gradient text: `background-clip: text` combined with a gradient fill.
63
+ - Decorative glassmorphism used as a default surface treatment.
64
+ - Hero-metric template: big number + small label + supporting stats + gradient accent.
65
+ - Identical card grids: same-sized icon + heading + text repeated as the page's primary layout.
66
+ - Modal as the first reach for a workflow that could be inline or progressive.
67
+
68
+ ### 7. Category-reflex check
69
+
70
+ Before reporting done, ask whether someone could guess the surface's theme and palette from the product category alone (e.g., observability → dark blue, healthcare → white + teal, fintech → navy + gold, crypto → neon on black). If yes, the polish has not escaped the training-data reflex. Rework color and theme until the answer is not obvious from the domain.
71
+
72
+ ## Stop Triggers
73
+
74
+ Stop and report instead of editing when any of the following apply:
75
+
76
+ - The target does not exist, is empty, or is not yet implemented.
77
+ - The requested change requires behavior or contract changes rather than visual polish.
78
+ - Brand context files are present but conflict with each other; surface the conflict.
79
+ - More than one materially valid polish option exists for the same element. Continue unrelated unambiguous work first, then present deferred cases with options, recommendation, and trade-off at the end for the user to choose.
80
+
81
+ ## Verification
82
+
83
+ After edits:
84
+
85
+ - Confirm each changed file still compiles or type-checks if the project has those gates available.
86
+ - Re-read each changed region against this skill's sections to confirm no banned pattern was reintroduced.
87
+ - If a dev server or preview is reasonably available, run it and confirm the affected surface renders without obvious regression. If not available, state that visual verification was skipped.
88
+
89
+ ## Output Contract
90
+
91
+ Emit:
92
+
93
+ `Skill: frontend-impeccable-polish - output below`
94
+
95
+ Then include:
96
+
97
+ ### Sections Applied
98
+
99
+ | Section | Status | Notes |
100
+ | --- | --- | --- |
101
+
102
+ `Status` is one of: Applied, Skipped (not applicable), Skipped (no occurrences), Deferred (ambiguous).
103
+
104
+ ### Changes
105
+
106
+ List each changed file with a one-line description of the polish applied.
107
+
108
+ ### Deferred Ambiguities
109
+
110
+ For each deferred case: target, options considered, recommendation, trade-off. Empty list if none.
111
+
112
+ ### Verification
113
+
114
+ State which verification steps ran and their result, including any that were skipped and why.
115
+
116
+ ## Attribution
117
+
118
+ See `collection/NOTICE.md` for attribution.
@@ -0,0 +1,99 @@
1
+ ---
2
+ name: implement-feature
3
+ description: Executes additive work by introducing new behavior. Use when new functionality is being added to an existing codebase.
4
+ ---
5
+
6
+ ## Scope
7
+
8
+ - Introduce new behavior into the project.
9
+
10
+ ## Prerequisites
11
+
12
+ Before editing, confirm:
13
+ - The user requested or approved adding new behavior.
14
+ - The desired behavior, affected workflow, and success criteria are clear enough to implement.
15
+ - Relevant code, tests, configuration, conventions, and project documentation can be read.
16
+ - Unrelated user work has been identified so it can be preserved.
17
+
18
+ If approval, scope, or required context is missing, report the blocker before editing.
19
+
20
+ ## Safety Constraints
21
+
22
+ - Do not bundle unrelated cleanup, refactors, formatting churn, or dependency upgrades into the feature.
23
+ - Do not bypass established abstractions, layer boundaries, or project conventions to make the feature fit.
24
+ - Do not invent product rules, defaults, permissions, or user-facing behavior not supported by the request or repository evidence.
25
+ - Do not overwrite unrelated user changes.
26
+
27
+ ## Stop Conditions
28
+
29
+ Stop and report the implementation as blocked when:
30
+ - The requested behavior or success criteria cannot be stated concretely.
31
+ - Required implementation context cannot be read.
32
+ - The change requires a breaking public API change, schema migration, destructive data operation, new dependency, security/auth change, generated artifact rewrite, or broad architectural change not explicitly approved.
33
+ - Existing architecture or project conventions conflict with the requested approach.
34
+ - Required verification cannot be run or cannot provide meaningful evidence.
35
+
36
+ ## Procedure
37
+
38
+ ### 1. Frame The Change
39
+
40
+ Before editing, state:
41
+ - user-facing intent of the change
42
+ - touched components or abstractions
43
+ - expected blast radius
44
+ - success criteria
45
+ - intended verification approach
46
+
47
+ If intent or scope is ambiguous, stop and surface the ambiguity before editing.
48
+
49
+ ### 2. Read Required Context
50
+
51
+ Before editing, read:
52
+ - the relevant architecture and design documentation
53
+ - conventions or coding standards for the project
54
+ - existing implementations in the affected area to understand established patterns
55
+
56
+ ### 3. Implement Under Project Boundaries
57
+
58
+ Follow project coding conventions.
59
+
60
+ If a needed abstraction is missing, stop and surface the gap instead of bypassing the project's established patterns.
61
+
62
+ When multiple implementation approaches are plausible and differ materially in blast radius, public contract, persistence model, or long-term ownership, stop and surface the options instead of choosing silently.
63
+
64
+ ### 4. Add Or Adjust Tests
65
+
66
+ Add or update tests proportional to the risk level of the change.
67
+
68
+ ### 5. Verify
69
+
70
+ Run the verification checks appropriate to what changed: type checks, linting, unit tests, and integration tests as required.
71
+
72
+ If any required check fails, fix the underlying cause and re-run the full required set.
73
+
74
+ ## Verification
75
+
76
+ Before reporting completion, verify:
77
+ - The diff is limited to the requested feature and necessary supporting changes.
78
+ - Tests or checks cover the new behavior at the appropriate risk level.
79
+ - Any failed or skipped verification is reported with enough context for follow-up.
80
+
81
+ ## Output Contract
82
+
83
+ Emit:
84
+
85
+ `Skill: implement-feature - output below`
86
+
87
+ Then include:
88
+
89
+ | Field | Content |
90
+ | --- | --- |
91
+ | Status | `completed` or `blocked` |
92
+ | Scope | Feature, behavior, or workflow implemented |
93
+ | Changed Files | Files changed, or `none` |
94
+ | Assumptions | Inferences used, or `none` |
95
+ | Verification | Commands/checks run and results |
96
+ | Skipped Checks | Checks not run with reasons, or `none` |
97
+ | Blockers | Remaining blockers, or `none` |
98
+
99
+ `Status` may be `completed` only when the requested behavior is implemented, required verification has passed, and any non-required skipped checks are justified.
@@ -0,0 +1,75 @@
1
+ ---
2
+ name: memory-management
3
+ description: Maintains a tiered project-memory store (HOT / WARM / COLD) so cross-session context stays compact, current, and recoverable. Use when recording a new durable memory, running periodic hygiene, promoting or demoting an entry, or purging on user request.
4
+ ---
5
+
6
+ ## Scope
7
+
8
+ - Operate on a project-memory root the consumer declares (e.g. `memory/`, `.memory/`, or an AI-tool-provided location). The skill does not invent a root.
9
+ - Maintain three tiers:
10
+ - **HOT** — always loaded at session start. Hard cap so context cost stays bounded. Contains active priorities, canonical facts, current goals.
11
+ - **WARM** — loaded on demand by topic. Contains decisions, glossary, research, longer-lived references.
12
+ - **COLD** — archived; queried only on explicit request. Contains retired WARM files and historical snapshots.
13
+ - Apply hygiene: line and byte caps, staleness scan, frontmatter audit, duplicate detection.
14
+ - Apply lifecycle: promote on repeated reference, demote on disuse, archive on user-confirmed retirement.
15
+ - Apply purge: remove a named entity across all tiers on explicit user request, leaving a tombstone so the entry is not silently reingested.
16
+
17
+ ## Boundaries
18
+
19
+ - Single responsibility: maintain the memory store. Do not author project content, plan tasks, or route to other capabilities.
20
+ - Do not change the memory root layout (tier directories, index file location) once a project has adopted one. Layout changes require explicit user approval.
21
+ - Do not delete or rewrite an existing entry's body without user confirmation; corrections are allowed only when the user identifies the entry and supplies the correction.
22
+
23
+ ## Safety Constraints
24
+
25
+ - Treat the memory store as user-owned record. Edits must be auditable: every change names the file, the operation (add / update / promote / demote / archive / purge), and the reason.
26
+ - Respect tier caps. If a write would exceed the HOT cap, demote the lowest-priority HOT entry to WARM in the same operation; never silently truncate.
27
+ - Never write secrets, credentials, tokens, or personal data the user has not asked to record.
28
+ - Purges must remove the entry from every tier and from any index file, then write a tombstone marker so a future ingestion step recognizes the entry as retired.
29
+
30
+ ## Stop Conditions
31
+
32
+ Halt the current operation and ask the user (the user must reply before the operation resumes):
33
+ - No memory root is declared and none can be inferred from the project profile or AI-tool defaults.
34
+ - The requested operation is ambiguous, e.g. "remember this" without a clear subject, scope, or target tier.
35
+
36
+ Halt the current operation and emit a `blocked` row in the output table (no user reply required to close the run):
37
+ - An existing entry's frontmatter is malformed and cannot be parsed without guessing.
38
+ - A purge target appears in files the skill cannot edit, e.g. read-only or outside the declared memory root.
39
+
40
+ ## Procedure
41
+
42
+ If any Stop Condition fires during a step, halt that step immediately and follow the effect declared above; do not continue to later steps until the trigger is resolved.
43
+
44
+ 1. Identify the memory root and confirm the three tier locations (or their declared equivalents).
45
+ 2. Classify the requested operation: record, recall, hygiene, promote, demote, archive, or purge.
46
+ 3. For **record**: choose tier based on user intent and entry kind. HOT only for entries that must load every session. Write the file with required frontmatter, then update the tier index.
47
+ 4. For **recall**: scan the relevant tier's index first; load only files that match the topic. Do not bulk-load tiers.
48
+ 5. For **hygiene**: scan for entries older than the declared staleness threshold (skill defaults: 30 days for WARM, 7 days for HOT — a consumer may override these defaults in the memory-root index file or via explicit user instruction at run time), oversized files, missing frontmatter fields, and exact-duplicate descriptions. Report findings before changing anything.
49
+ 6. For **promote / demote**: move the file between tier directories, update both tier indexes, and preserve the original frontmatter and edit history.
50
+ 7. For **archive**: move the file to COLD with a retirement note in its frontmatter. Remove its entry from the WARM index. Leave a one-line back-link in the WARM index pointing to the archived path.
51
+ 8. For **purge**: locate every reference to the named entity across all tiers and indexes, remove them, then write a tombstone file under COLD recording the entity name, purge date, and reason.
52
+ 9. Emit the output contract.
53
+
54
+ ## Verification
55
+
56
+ Before emitting the output, verify:
57
+ - The declared memory root exists and the operation touched only files under it.
58
+ - HOT tier remains within its cap after the operation.
59
+ - Tier indexes reflect every add, move, or removal.
60
+ - For purges, no remaining reference to the named entity exists in any tier or index.
61
+
62
+ ## Output Contract
63
+
64
+ Emit:
65
+
66
+ `Skill: memory-management - output below`
67
+
68
+ Include:
69
+
70
+ | Operation | Tier(s) | File(s) | Status | Notes |
71
+ | --- | --- | --- | --- | --- |
72
+
73
+ Status must be one of: `applied`, `applied with demotion`, `reported only`, `blocked`.
74
+
75
+ `Notes` must name the reason for any demotion, archive, purge, or block, and must list any tombstone written.
@@ -0,0 +1,73 @@
1
+ ---
2
+ name: meta-tags-optimizer
3
+ description: Produces title tag, meta description, Open Graph, and Twitter Card metadata for a given page so it ranks and previews well in search results and on social platforms. Use when the user asks to write or improve page meta tags, fix CTR, or fix how a URL previews when shared.
4
+ ---
5
+
6
+ ## Scope
7
+
8
+ - Produce a complete metadata package for a single page: title tag, meta description, canonical link, robots directive, Open Graph block, Twitter Card block, and the small set of common supporting tags (`viewport`, `author`, `article:published_time`, etc.) when relevant.
9
+ - Offer multiple title and description variants when the user wants alternatives to compare.
10
+ - Note CTR trade-offs between variants in plain language.
11
+
12
+ ## Reference Versions
13
+
14
+ This skill is written against:
15
+ - **Open Graph protocol v1.0** — https://ogp.me
16
+ - **Twitter / X Cards** — current cards markup as documented at https://developer.x.com/en/docs/x-for-websites/cards/overview/abouts-cards
17
+ - **HTML Living Standard** for `<meta>` and `<link>` element semantics — https://html.spec.whatwg.org
18
+ - **Length budgets** — title ≈ 50–60 characters, meta description ≈ 150–160 characters. These are approximations of pixel-width truncation observed in major search-engine SERPs (Google in particular) and are not formal specifications; budgets shift over time. Treat them as defaults the user may override at run time.
19
+
20
+ The user may override any reference (e.g. a different SERP-budget source or a vendor-specific card spec) at run time; the skill follows the override and notes it in the output.
21
+
22
+ ## Boundaries
23
+
24
+ - Single responsibility: write metadata. Do not rewrite page body copy, generate schema markup, or route to other skills.
25
+ - Do not change page URLs, slugs, or canonical targets without explicit user confirmation.
26
+
27
+ ## Safety Constraints
28
+
29
+ - Do not fabricate. Titles, descriptions, brand names, product names, image URLs, ranking promises, prices, or any factual claim must come from the user-supplied content or explicit user input. Fields that cannot be sourced are emitted as `missing`, never invented. This is the canonical no-fabrication rule for the skill.
30
+ - Respect length budgets defined in `Reference Versions`. Exceeding a budget must be a deliberate trade-off the user is told about, not a silent overflow.
31
+
32
+ ## Stop Conditions
33
+
34
+ - Stop and ask when page URL, primary topic, target audience, or primary keyword cannot be identified.
35
+ - Stop and report blocked when required inputs (page topic, primary keyword or angle) are missing and cannot be inferred from supplied content.
36
+ - Stop and report blocked when the user asks for metadata that would misrepresent the page.
37
+
38
+ ## Procedure
39
+
40
+ If any Stop Condition fires during a step, halt and emit a `blocked` row in the output table; do not continue to later steps until the trigger is resolved. If an **optional** field cannot be sourced (e.g. no `og:image` URL, no `twitter:creator`), do not halt — emit the field as `missing` in the table per the Output Contract and continue.
41
+
42
+ 1. Identify the page: URL, page type (article, product, landing, category, home), primary keyword or angle, target audience, and the page's value proposition.
43
+ 2. Draft title tag(s). Target the title budget defined in `Reference Versions`, place the primary keyword early, keep brand suffix optional. Offer two or three variants when the user wants comparison.
44
+ 3. Draft meta description(s). Target the description budget defined in `Reference Versions`, include the primary keyword once naturally, include a concrete value or call to action. Offer two or three variants when the user wants comparison.
45
+ 4. Build the Open Graph block: `og:title`, `og:description`, `og:type`, `og:url`, `og:image`, `og:site_name`, and `og:locale` when known.
46
+ 5. Build the Twitter Card block: `twitter:card` (default `summary_large_image`), `twitter:title`, `twitter:description`, `twitter:image`, and `twitter:site` / `twitter:creator` when supplied.
47
+ 6. Add supporting tags as relevant: canonical link, `robots`, `viewport`, `author`, and article time tags for article pages.
48
+ 7. Note the CTR trade-off between variants (e.g. "variant A leads with keyword, variant B leads with benefit") so the user can pick or A/B-test.
49
+
50
+ ## Verification
51
+
52
+ Before emitting the output, verify:
53
+ - Title length within the budget defined in `Reference Versions`, primary keyword present and near the front.
54
+ - Description length within the budget defined in `Reference Versions`, primary keyword present once, concrete CTA or value statement included.
55
+ - OG and Twitter blocks reference the same canonical URL and a real image URL or `missing`.
56
+ - No-fabrication rule held (see `Safety Constraints`).
57
+ - Canonical link, if present, is absolute.
58
+
59
+ ## Output Contract
60
+
61
+ Emit:
62
+
63
+ `Skill: meta-tags-optimizer - output below`
64
+
65
+ Then provide, in order:
66
+
67
+ 1. A fenced ```html block containing the recommended metadata, ready to drop into the page head. If multiple title or description variants were requested, include them as adjacent HTML comments so the user can swap.
68
+ 2. A table:
69
+
70
+ | Field | Value (chosen variant) | Length | Variants Offered | Notes |
71
+ | --- | --- | --- | --- | --- |
72
+
73
+ `Notes` must call out any field marked `missing`, any deliberate over-budget length, and the CTR trade-off between variants.