Skip to content

Commit 8ffadb0

Browse files
committed
feat(tailwind-css): update styling conventions for components
Refactor Tailwind CSS skill description for clarity and specificity. Enhance Button and IconButton components with improved focus states, hover effects, and responsive design. Update global styles for optimized performance and user experience. Extend Tailwind config to include new transition properties. Closes #123
1 parent 55ba039 commit 8ffadb0

File tree

27 files changed

+126
-1735
lines changed

27 files changed

+126
-1735
lines changed
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
name: clsx-tailwind
3-
description: Normalize conditional class composition using clsx/tailwind-merge patterns and the repository cn utility for conflict-safe styling.
3+
description: Use when styling React components with Tailwind className variants, conditional classes, or class conflicts; applies repository cn (clsx + tailwind-merge) patterns for merge-safe, overridable UI styles.
44
argument-hint: "[styling goal] [components] [variants/states]"
55
user-invokable: true
66
disable-model-invocation: false
77
---
88

99
# Skill Instructions
1010

11-
Use this skill when the request matches **React Component Styling Instructions** or references patterns from **docs/clsx-tailwind.md**.
11+
Use this skill when the request matches **React Component Styling Instructions**.
1212

1313
## Workflow
1414

1515
1. Read [SOURCE.md](./SOURCE.md) for the full repository guidance.
1616
2. Identify concrete constraints, conventions, and required outputs.
1717
3. Apply the guidance directly to the current task, keeping changes minimal and repository-consistent.
18-
4. Validate results (tests/lint/build where relevant).
19-
5. Summarize what was applied from this skill and where.
18+
Don't validate results (tests/lint/build where relevant). Wait until I tell you this!
19+
4. Summarize what was applied from this skill and where.
2020

2121
## Input Guidance
2222

@@ -25,8 +25,3 @@ When invoking this skill manually, include:
2525
- Task goal
2626
- Target files or modules
2727
- Any constraints (performance, architecture, style, tests)
28-
29-
## Source
30-
31-
This skill is generated from [docs/clsx-tailwind.md](../../../docs/clsx-tailwind.md).
32-
Use [SOURCE.md](./SOURCE.md) as the canonical local resource loaded on demand.
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
name: context-pattern
3-
description: Implement subscription-based React Context with useSyncExternalStore selectors for granular rerenders and typed state access.
3+
description: Use when creating or refactoring shared React state with Context + useSyncExternalStore selectors; provides typed store/provider/hook patterns to avoid unnecessary rerenders and prop drilling.
44
argument-hint: "[context goal] [state slices] [selector/dispatch names]"
55
user-invokable: true
66
disable-model-invocation: false
77
---
88

99
# Skill Instructions
1010

11-
Use this skill when the request matches **React Context Pattern Guide** or references patterns from **docs/сontext-pattern.md**.
11+
Use this skill when the request matches **React Context Pattern Guide**.
1212

1313
## Workflow
1414

1515
1. Read [SOURCE.md](./SOURCE.md) for the full repository guidance.
1616
2. Identify concrete constraints, conventions, and required outputs.
1717
3. Apply the guidance directly to the current task, keeping changes minimal and repository-consistent.
18-
4. Validate results (tests/lint/build where relevant).
19-
5. Summarize what was applied from this skill and where.
18+
Don't validate results (tests/lint/build where relevant). Wait until I tell you this!
19+
4. Summarize what was applied from this skill and where.
2020

2121
## Input Guidance
2222

@@ -25,8 +25,3 @@ When invoking this skill manually, include:
2525
- Task goal
2626
- Target files or modules
2727
- Any constraints (performance, architecture, style, tests)
28-
29-
## Source
30-
31-
This skill is generated from [docs/сontext-pattern.md](../../../docs/сontext-pattern.md).
32-
Use [SOURCE.md](./SOURCE.md) as the canonical local resource loaded on demand.

.agents/skills/electron-modular/SKILL.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
```skill
22
---
33
name: electron-modular
4-
description: Build and refactor Electron main-process modules with @devisfuture/electron-modular using typed DI, IPC handlers, window managers, and lazy module rules.
4+
description: Use when building or refactoring Electron main-process architecture with @devisfuture/electron-modular, including @RgModule composition, DI providers/tokens, IPC handlers, window managers, exports/imports, and lazy module bootstrap.
55
argument-hint: "[feature goal] [module folder] [ipc/window/lazy requirements]"
66
user-invokable: true
77
disable-model-invocation: false
@@ -17,7 +17,7 @@ Use this skill when the request targets **@devisfuture/electron-modular** archit
1717
2. Identify the requested module scope (service, IPC, window, provider, bootstrap, lazy loading).
1818
3. Apply package constraints and typing conventions directly in affected files.
1919
4. Keep changes minimal, architecture-safe, and repository-consistent.
20-
5. Validate with focused tests/lint where relevant.
20+
5. Don't validate results (tests/lint/build where relevant). Wait until I tell you this!
2121
6. Summarize which package rules were applied and where.
2222
2323
## Input Guidance
@@ -30,9 +30,4 @@ When invoking this skill manually, include:
3030
- Required IPC channels and payload/response contracts
3131
- Window hash + lifecycle behavior (if any)
3232
33-
## Source
34-
35-
This skill is generated from [devisfuture_electron-modular.md](../../../devisfuture_electron-modular.md).
36-
Use [SOURCE.md](./SOURCE.md) as the canonical local resource loaded on demand.
37-
3833
```
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
name: electron-path-aliasing
3-
description: Apply correct path aliasing for Electron main vs renderer imports, ensuring runtime-safe Node subpath and Vite alias usage.
3+
description: Use when fixing import paths or alias errors in Electron projects; applies correct main-process Node subpath aliases (#main/*), renderer Vite aliases (@/*), and tsconfig/package runtime-safe alignment.
44
argument-hint: "[refactor goal] [main/renderer files] [alias migration scope]"
55
user-invokable: true
66
disable-model-invocation: false
77
---
88

99
# Skill Instructions
1010

11-
Use this skill when the request matches **Electron Path Aliasing Guide** or references patterns from **docs/electron-path-aliasing.md**.
11+
Use this skill when the request matches **Electron Path Aliasing Guide**.
1212

1313
## Workflow
1414

1515
1. Read [SOURCE.md](./SOURCE.md) for the full repository guidance.
1616
2. Identify concrete constraints, conventions, and required outputs.
1717
3. Apply the guidance directly to the current task, keeping changes minimal and repository-consistent.
18-
4. Validate results (tests/lint/build where relevant).
19-
5. Summarize what was applied from this skill and where.
18+
Don't validate results (tests/lint/build where relevant). Wait until I tell you this!
19+
4. Summarize what was applied from this skill and where.
2020

2121
## Input Guidance
2222

@@ -25,8 +25,3 @@ When invoking this skill manually, include:
2525
- Task goal
2626
- Target files or modules
2727
- Any constraints (performance, architecture, style, tests)
28-
29-
## Source
30-
31-
This skill is generated from [docs/electron-path-aliasing.md](../../../docs/electron-path-aliasing.md).
32-
Use [SOURCE.md](./SOURCE.md) as the canonical local resource loaded on demand.
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
name: event-delegation-guide
3-
description: Replace prop-drilled handlers with event delegation patterns for dense interactive lists and nested renderer UI trees.
3+
description: Use when React lists or nested component trees have many click/change handlers; replaces prop-drilled callbacks with parent-level event delegation for scalable, dynamic, high-performance interactions.
44
argument-hint: "[interaction goal] [container component] [actions/data-attrs]"
55
user-invokable: true
66
disable-model-invocation: false
77
---
88

99
# Skill Instructions
1010

11-
Use this skill when the request matches **Event Delegation Pattern in React** or references patterns from **docs/event-delegation-guide.md**.
11+
Use this skill when the request matches **Event Delegation Pattern in React**.
1212

1313
## Workflow
1414

1515
1. Read [SOURCE.md](./SOURCE.md) for the full repository guidance.
1616
2. Identify concrete constraints, conventions, and required outputs.
1717
3. Apply the guidance directly to the current task, keeping changes minimal and repository-consistent.
18-
4. Validate results (tests/lint/build where relevant).
19-
5. Summarize what was applied from this skill and where.
18+
Don't validate results (tests/lint/build where relevant). Wait until I tell you this!
19+
4. Summarize what was applied from this skill and where.
2020

2121
## Input Guidance
2222

@@ -25,8 +25,3 @@ When invoking this skill manually, include:
2525
- Task goal
2626
- Target files or modules
2727
- Any constraints (performance, architecture, style, tests)
28-
29-
## Source
30-
31-
This skill is generated from [docs/event-delegation-guide.md](../../../docs/event-delegation-guide.md).
32-
Use [SOURCE.md](./SOURCE.md) as the canonical local resource loaded on demand.
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
name: git-commit-instructions
3-
description: Generate Conventional Commit messages that follow this repository formatting constraints, scope discipline, and concise rationale.
3+
description: Use when preparing git commits or PR-ready commit text; generates repository-compliant Conventional Commit messages with correct type/scope syntax, concise subject lines, and clear rationale/body formatting.
44
argument-hint: "[change summary] [scope] [breaking/issue refs]"
55
user-invokable: true
66
disable-model-invocation: false
77
---
88

99
# Skill Instructions
1010

11-
Use this skill when the request matches **Goal** or references patterns from **docs/git-commit-instructions.md**.
11+
Use this skill when the request matches **Goal**.
1212

1313
## Workflow
1414

1515
1. Read [SOURCE.md](./SOURCE.md) for the full repository guidance.
1616
2. Identify concrete constraints, conventions, and required outputs.
1717
3. Apply the guidance directly to the current task, keeping changes minimal and repository-consistent.
18-
4. Validate results (tests/lint/build where relevant).
19-
5. Summarize what was applied from this skill and where.
18+
Don't validate results (tests/lint/build where relevant). Wait until I tell you this!
19+
4. Summarize what was applied from this skill and where.
2020

2121
## Input Guidance
2222

@@ -25,8 +25,3 @@ When invoking this skill manually, include:
2525
- Task goal
2626
- Target files or modules
2727
- Any constraints (performance, architecture, style, tests)
28-
29-
## Source
30-
31-
This skill is generated from [docs/git-commit-instructions.md](../../../docs/git-commit-instructions.md).
32-
Use [SOURCE.md](./SOURCE.md) as the canonical local resource loaded on demand.
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
name: ipc-communication
3-
description: Implement typed IPC flows between renderer and main (send/invoke/receive), including channel typing, payload contracts, and safe wiring.
3+
description: Use when adding or debugging Electron IPC between preload, renderer, and main; implements strongly typed send/invoke/receive channels, payload contracts, window.electron API wiring, and safe handler registration.
44
argument-hint: "[ipc goal] [channel names] [payload/response types]"
55
user-invokable: true
66
disable-model-invocation: false
77
---
88

99
# Skill Instructions
1010

11-
Use this skill when the request matches **IPC communication (Renderer ↔ Main)** or references patterns from **docs/ipc-communication.md**.
11+
Use this skill when the request matches **IPC communication (Renderer ↔ Main)**.
1212

1313
## Workflow
1414

1515
1. Read [SOURCE.md](./SOURCE.md) for the full repository guidance.
1616
2. Identify concrete constraints, conventions, and required outputs.
1717
3. Apply the guidance directly to the current task, keeping changes minimal and repository-consistent.
18-
4. Validate results (tests/lint/build where relevant).
19-
5. Summarize what was applied from this skill and where.
18+
Don't validate results (tests/lint/build where relevant). Wait until I tell you this!
19+
4. Summarize what was applied from this skill and where.
2020

2121
## Input Guidance
2222

@@ -25,8 +25,3 @@ When invoking this skill manually, include:
2525
- Task goal
2626
- Target files or modules
2727
- Any constraints (performance, architecture, style, tests)
28-
29-
## Source
30-
31-
This skill is generated from [docs/ipc-communication.md](../../../docs/ipc-communication.md).
32-
Use [SOURCE.md](./SOURCE.md) as the canonical local resource loaded on demand.

.agents/skills/javascript/SKILL.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
name: javascript
3-
description: Refactor JavaScript toward modern, readable, and performant patterns with safer async/error handling and cleaner utility abstractions.
3+
description: Use when improving JavaScript code quality in existing modules; refactors toward modern syntax, readable structure, safer async/error handling, smaller focused functions, and maintainable utility abstractions.
44
argument-hint: "[goal] [js files] [perf/readability constraints]"
55
user-invokable: true
66
disable-model-invocation: false
77
---
88

99
# Skill Instructions
1010

11-
Use this skill when the request matches **JavaScript Best Practices Guide** or references patterns from **docs/javascript.md**.
11+
Use this skill when the request matches **JavaScript Best Practices Guide**.
1212

1313
## Workflow
1414

1515
1. Read [SOURCE.md](./SOURCE.md) for the full repository guidance.
1616
2. Identify concrete constraints, conventions, and required outputs.
1717
3. Apply the guidance directly to the current task, keeping changes minimal and repository-consistent.
18-
4. Validate results (tests/lint/build where relevant).
19-
5. Summarize what was applied from this skill and where.
18+
Don't validate results (tests/lint/build where relevant). Wait until I tell you this!
19+
4. Summarize what was applied from this skill and where.
2020

2121
## Input Guidance
2222

@@ -25,8 +25,3 @@ When invoking this skill manually, include:
2525
- Task goal
2626
- Target files or modules
2727
- Any constraints (performance, architecture, style, tests)
28-
29-
## Source
30-
31-
This skill is generated from [docs/javascript.md](../../../docs/javascript.md).
32-
Use [SOURCE.md](./SOURCE.md) as the canonical local resource loaded on demand.
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
name: large-data-iteration
3-
description: Optimize nested data processing using indexing/maps, chunking, lazy iteration, and memoization to avoid O(n*m*k) bottlenecks.
3+
description: Use when loops over large arrays/collections cause slowness or memory pressure; optimizes nested iteration with indexing/maps, pre-grouping, chunking, lazy processing, and memoization to remove O(n*m*k) bottlenecks.
44
argument-hint: "[perf goal] [dataset shape] [memory/latency constraints]"
55
user-invokable: true
66
disable-model-invocation: false
77
---
88

99
# Skill Instructions
1010

11-
Use this skill when the request matches **JavaScript Guide: Optimizing Large Data Iteration with Nested Collections** or references patterns from **docs/large-data-iteration.md**.
11+
Use this skill when the request matches **JavaScript Guide: Optimizing Large Data Iteration with Nested Collections**.
1212

1313
## Workflow
1414

1515
1. Read [SOURCE.md](./SOURCE.md) for the full repository guidance.
1616
2. Identify concrete constraints, conventions, and required outputs.
1717
3. Apply the guidance directly to the current task, keeping changes minimal and repository-consistent.
18-
4. Validate results (tests/lint/build where relevant).
19-
5. Summarize what was applied from this skill and where.
18+
Don't validate results (tests/lint/build where relevant). Wait until I tell you this!
19+
4. Summarize what was applied from this skill and where.
2020

2121
## Input Guidance
2222

@@ -25,8 +25,3 @@ When invoking this skill manually, include:
2525
- Task goal
2626
- Target files or modules
2727
- Any constraints (performance, architecture, style, tests)
28-
29-
## Source
30-
31-
This skill is generated from [docs/large-data-iteration.md](../../../docs/large-data-iteration.md).
32-
Use [SOURCE.md](./SOURCE.md) as the canonical local resource loaded on demand.
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
name: lazy-render
3-
description: Optimize large list rendering with virtualization patterns (LazyRender/react-window), stable itemData, and efficient row composition.
3+
description: Use when rendering long lists in React/Electron renderer causes lag; applies LazyRender/react-window virtualization, stable itemData, memoized rows, and empty/loading states for smooth scrolling performance.
44
argument-hint: "[list target] [data source] [row height/actions]"
55
user-invokable: true
66
disable-model-invocation: false
77
---
88

99
# Skill Instructions
1010

11-
Use this skill when the request matches **LazyRender — Virtualized list helper (React)** or references patterns from **docs/lazy-render.md**.
11+
Use this skill when the request matches **LazyRender — Virtualized list helper (React)**.
1212

1313
## Workflow
1414

1515
1. Read [SOURCE.md](./SOURCE.md) for the full repository guidance.
1616
2. Identify concrete constraints, conventions, and required outputs.
1717
3. Apply the guidance directly to the current task, keeping changes minimal and repository-consistent.
18-
4. Validate results (tests/lint/build where relevant).
19-
5. Summarize what was applied from this skill and where.
18+
Don't validate results (tests/lint/build where relevant). Wait until I tell you this!
19+
4. Summarize what was applied from this skill and where.
2020

2121
## Input Guidance
2222

@@ -25,8 +25,3 @@ When invoking this skill manually, include:
2525
- Task goal
2626
- Target files or modules
2727
- Any constraints (performance, architecture, style, tests)
28-
29-
## Source
30-
31-
This skill is generated from [docs/lazy-render.md](../../../docs/lazy-render.md).
32-
Use [SOURCE.md](./SOURCE.md) as the canonical local resource loaded on demand.

0 commit comments

Comments
 (0)