@jgamaraalv/ts-dev-kit 3.3.0 → 5.0.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.
@@ -7,15 +7,7 @@ description: "Review UI code for Web Interface Guidelines compliance. Use when a
7
7
 
8
8
  Dispatch hub for UI/UX rules. Load the relevant reference file for full details.
9
9
 
10
- ## Contents
11
-
12
- 1. [Rule Categories](#rule-categories-by-priority)
13
- 2. [Workflows](#workflows)
14
- 3. [Anti-patterns](#anti-patterns-flag-these)
15
- 4. [Output Format](#code-review-output-format)
16
- 5. [Reference Files](#reference-files)
17
-
18
- ---
10
+ <rules>
19
11
 
20
12
  ## Rule Categories by Priority
21
13
 
@@ -31,31 +23,41 @@ Dispatch hub for UI/UX rules. Load the relevant reference file for full details.
31
23
  | 8 | Content & Navigation | MEDIUM | `forms-content-checklist` |
32
24
  | 9 | Charts & Data | LOW | `layout-typography-animation` |
33
25
 
34
- ---
26
+ </rules>
27
+
28
+ <workflow>
35
29
 
36
30
  ## Workflows
37
31
 
38
- ### 1. Review UI code
32
+ <phase_1_review_ui>
33
+ ### Review UI code
39
34
 
40
35
  1. Read the target file(s).
41
36
  2. Load the relevant reference file(s) from `references/` based on what the code contains.
42
37
  3. Check each applicable rule. Report violations in the output format below.
38
+ </phase_1_review_ui>
43
39
 
44
- ### 2. Build new component
40
+ <phase_2_build_component>
41
+ ### Build new component
45
42
 
46
43
  1. Load `references/accessibility-and-interaction.md` -- all components must meet CRITICAL rules.
47
44
  2. Load additional references based on component type:
48
45
  - Form component -> `references/forms-content-checklist.md`
49
46
  - Layout/visual component -> `references/layout-typography-animation.md`
50
47
  3. Follow rules during implementation.
48
+ </phase_2_build_component>
51
49
 
52
- ### 3. Pre-delivery checklist
50
+ <phase_3_pre_delivery>
51
+ ### Pre-delivery checklist
53
52
 
54
53
  1. Load `references/forms-content-checklist.md` for the full checklist.
55
54
  2. Load `references/accessibility-and-interaction.md` for the interaction checklist.
56
55
  3. Walk through every checkbox before shipping.
56
+ </phase_3_pre_delivery>
57
57
 
58
- ---
58
+ </workflow>
59
+
60
+ <anti_patterns>
59
61
 
60
62
  ## Anti-patterns (flag these)
61
63
 
@@ -70,7 +72,9 @@ Dispatch hub for UI/UX rules. Load the relevant reference file for full details.
70
72
  - Hardcoded date/number formats -- use `Intl.*`
71
73
  - Icon-only buttons without `aria-label`
72
74
 
73
- ---
75
+ </anti_patterns>
76
+
77
+ <output>
74
78
 
75
79
  ## Code Review Output Format
76
80
 
@@ -78,7 +82,9 @@ Group findings by file. Use `file:line` format (VS Code clickable). Be terse --
78
82
 
79
83
  See [template.md](template.md) for the expected output format.
80
84
 
81
- ---
85
+ </output>
86
+
87
+ <references>
82
88
 
83
89
  ## Reference Files
84
90
 
@@ -87,3 +93,5 @@ Load these as needed during reviews and implementation:
87
93
  - **[Accessibility & Interaction](references/accessibility-and-interaction.md)** -- Focus, ARIA, keyboard, touch targets, cursors, drag UX
88
94
  - **[Layout, Typography & Animation](references/layout-typography-animation.md)** -- Performance, responsive, fonts, color, motion, charts
89
95
  - **[Forms, Content & Checklist](references/forms-content-checklist.md)** -- Forms, content handling, navigation, dark mode, locale, hydration, pre-delivery checklist
96
+
97
+ </references>
@@ -31,11 +31,11 @@ allowed-tools: Bash(docker *), Bash(ls *), Bash(cat *), Bash(cp *), Bash(mkdir *
31
31
  - "Set up autonomous mode"
32
32
  </trigger_examples>
33
33
 
34
- <system>
34
+ <role>
35
35
  You are a devcontainer setup specialist. Your goal is to get the user into a secure, sandboxed devcontainer running `claude --dangerously-skip-permissions` as quickly as possible. You follow a strict decision tree and never skip safety checks.
36
36
 
37
37
  **IMPORTANT SECURITY NOTE:** While the devcontainer provides substantial protections (network firewall, isolation), it is NOT immune to all attacks. Only use devcontainers with **trusted repositories**. The `--dangerously-skip-permissions` flag gives Claude full access to everything inside the container, including credentials mounted into it. Always inform the user of this trade-off.
38
- </system>
38
+ </role>
39
39
 
40
40
  <task>
41
41
  $ARGUMENTS