You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(.ai): .ai/ dir for tool-agnostic support
* refactor(.ai): convert accessibility-migration-analysis from rule to skill
- The a11y migration analysis doc is a full authoring playbook, not a
linting rule. Moves it from .ai/rules/ to .ai/skills/ with a SKILL.md
that mirrors the component-migration-analysis skill structure.
- Also fixes a stale .cursor/ path reference in
component-migration-analysis/SKILL.md.
* docs(.ai): updates readme with .ai references and new skills
* chore(.cursor): remove files relocated to .ai/
- Delete .cursor/README.md and .cursor/config.json
- Delete all skill files under .cursor/skills/
* feat(.ai): adds .cursor symlinks
* feat(.ai): add .claude symlinks
* fix(.ai): updates path references in rules and scripts to .ai
* feat: adds new directories to gitignore
* feat: repo level AGENTS.md
* docs(.ai): tweaks to readme language
* docs(.ai): overview and reusable prompts
* docs(.ai): fix cursor reference in .ai/rule
* fix(.ai): cursor skills symlink
* feat(.ai): adds missing frontmatter to storybook rules
* fix(.ai): contributor docs nav scripts stay out of .ai
* fix(.ai): handoff references .ai instead of .cursor
* docs(.ai): clarify symlink usage in readme
* fix(.ai): missing instructions in a11y migration skill
* docs(.ai): update readme with content from agnostic overview file
* feat(.ai): mindset descriptions for ai agent
* chore: lint errors fixed
Copy file name to clipboardExpand all lines: .ai/skills/accessibility-compliance/SKILL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@ description: Implement WCAG 2.2 compliant interfaces with mobile accessibility,
7
7
8
8
Master accessibility implementation to create inclusive experiences that work for everyone, including users with disabilities.
9
9
10
+
## Mindset
11
+
12
+
You are an accessibility expert. WCAG compliance is a floor, not a ceiling — never sign off on "close enough." Verify with real assistive technology before anything is declared done.
13
+
10
14
## When to Use This Skill
11
15
12
16
- Implementing WCAG 2.2 Level AA or AAA compliance
Copy file name to clipboardExpand all lines: .ai/skills/accessibility-migration-analysis/SKILL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@ alwaysApply: false
9
9
10
10
Create comprehensive accessibility documentation for the **analyze accessibility** step of 2nd-gen component migration. One markdown file per component, following a fixed structure (ARIA context, recommendations, testing, checklist, references).
11
11
12
+
## Mindset
13
+
14
+
You are an accessibility auditor, not a documenter. Your job is to verify what the component actually does — not describe what it should do. Read the source first, check ARIA against the real implementation, then write. Never document behavior you haven't confirmed.
15
+
12
16
## When to use this skill
13
17
14
18
- You are on the "analyze accessibility" step of the 2nd-gen component migration workstream
Copy file name to clipboardExpand all lines: .ai/skills/ask-questions/SKILL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,10 @@ description: Clarify requirements before implementing. Use when serious doubts a
5
5
6
6
# Ask Questions If Underspecified
7
7
8
+
## Mindset
9
+
10
+
You are a requirements analyst. The cost of a wrong assumption is always higher than the cost of one more question. Ask only what's necessary, group questions to minimize interruptions, and never proceed on ambiguous scope.
11
+
8
12
## When to Use
9
13
10
14
Use this skill when a request has multiple plausible interpretations or key details (objective, scope, constraints, environment, or safety) are unclear.
Copy file name to clipboardExpand all lines: .ai/skills/component-migration-analysis/SKILL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@ description: Create rendering-and-styling migration analysis docs for 2nd-gen co
7
7
8
8
Create comprehensive migration documentation for the **analyze rendering and styling** step of 2nd-gen component migration. One markdown file per component, following a fixed structure (specs, comparison, summary, resources).
9
9
10
+
## Mindset
11
+
12
+
You are a code archaeologist. Read existing code without judgment — your job is to document what _is_ before imagining what _should be_. Curiosity about past decisions leads to better future ones.
13
+
10
14
## When to use this skill
11
15
12
16
- You are on the "analyze rendering and styling" step of the 2nd-gen component migration workstream
Copy file name to clipboardExpand all lines: .ai/skills/contributor-docs-nav/SKILL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@ description: Run the CONTRIBUTOR-DOCS nav script to update breadcrumbs and TOCs,
7
7
8
8
Run the regeneration script to update breadcrumbs and TOCs in CONTRIBUTOR-DOCS, and handle link verification. Two roles apply: **Operator** (run the script, fix link errors) and **Maintainer** (update the script when requirements change).
9
9
10
+
## Mindset
11
+
12
+
You are a documentation maintainer. Broken links and stale navigation are bugs, not inconveniences. Never mark work done until every link is verified.
13
+
10
14
## When to use this skill
11
15
12
16
- A file or folder under CONTRIBUTOR-DOCS is added, removed, renamed, or moved
Copy file name to clipboardExpand all lines: .ai/skills/conventional-commits/SKILL.md
+16-11Lines changed: 16 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,10 @@ metadata:
10
10
11
11
Follow these conventions when creating commits.
12
12
13
+
## Mindset
14
+
15
+
You are writing for the next person who reads this commit log, not for yourself. Clarity and consistency matter more than brevity. Commit subjects should suggest _why_ work was committed, not just what changed.
16
+
13
17
## Prerequisites
14
18
15
19
Before committing, ensure you're working on a feature branch, not the main branch.
- Use a bullet point for each distinct concept or reason — this also handles line length naturally
81
+
- Use a bullet point for each distinct concept or reason (this also handles line length naturally)
77
82
- If a bullet's text exceeds 80 characters, continue on the next line flush with the
78
83
bullet text (no indentation)
79
84
@@ -85,7 +90,7 @@ The commit contains the following structural elements, to communicate intent to
85
90
- feat: a commit of the type feat introduces a new feature to the codebase (this correlates with MINOR in Semantic Versioning).
86
91
- BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A BREAKING CHANGE can be part of commits of any type.
87
92
- types other than fix: and feat: are allowed, for example @commitlint/config-conventional (based on the Angular convention) recommends build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others.
88
-
- footers other than BREAKING CHANGE: <description> may be provided and follow a convention similar to git trailer format.
93
+
- footers other than BREAKING CHANGE: {description} may be provided and follow a convention similar to git trailer format.
89
94
90
95
## Examples
91
96
@@ -116,17 +121,18 @@ or resolved instead of creating a new message
116
121
```
117
122
refactor: extract common validation logic to shared module
118
123
119
-
Move duplicate validation code from three endpoints into a shared
120
-
validator class. No behavior change.
124
+
- Move duplicate validation from three endpoints into a shared
125
+
validator class
126
+
- No behavior change
121
127
```
122
128
123
129
### Breaking change
124
130
125
131
```
126
132
feat(api)!: remove deprecated v1 endpoints
127
133
128
-
Remove all v1 API endpoints that were deprecated in version 23.1.
129
-
Clients should migrate to v2 endpoints.
134
+
- Remove all v1 API endpoints deprecated in version 23.1
135
+
- Clients should migrate to v2 endpoints
130
136
131
137
BREAKING CHANGE: v1 endpoints no longer available
132
138
```
@@ -136,9 +142,8 @@ BREAKING CHANGE: v1 endpoints no longer available
136
142
```
137
143
revert: feat(api): add new endpoint
138
144
139
-
This reverts commit abc123def456.
140
-
141
-
Reason: Caused performance regression in production.
Copy file name to clipboardExpand all lines: .ai/skills/deep-understanding/SKILL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@ Every meaningful task that touches non-trivial code should start with a **deep-r
9
9
10
10
**Rule:** The deep-understanding rule (`.ai/rules/deep-understanding.md`) is **applied intelligently**. Use it for non-trivial work (multiple files, new area, complex behavior); do not use it for simple, self-contained requests (e.g. creating a regex, one-line fix, single known file) to avoid wasting tokens and overloading context. This skill documents the full workflow and rationale.
11
11
12
+
## Mindset
13
+
14
+
You are a research scientist. Form no hypotheses before gathering evidence. Write everything down. Treat assumptions as technical debt — the earlier they go undocumented, the more they cost later.
15
+
12
16
## When to use this skill
13
17
14
18
- The task involves a folder, flow, or system the agent may not already understand in depth
Copy file name to clipboardExpand all lines: .ai/skills/documentation/SKILL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@ description: When writing documentation in a variety of scenarios, follow the Ad
7
7
8
8
Understand the Spectrum Design System's content writing standards and expectations at an expert level.
9
9
10
+
## Mindset
11
+
12
+
You are a technical writer. Documentation is a product, not an afterthought. Write for the reader, not the author — cut anything that doesn't serve them.
13
+
10
14
## When to Use This Skill
11
15
12
16
- Designing and writing story documentation (i.e. JSDoc comments) for Storybook
Copy file name to clipboardExpand all lines: .ai/skills/explain-code/SKILL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,10 @@ name: explain-code
3
3
description: Explains code with visual diagrams and analogies. Use when explaining how code works, teaching about a codebase, or when the user asks "how does this work?"
4
4
---
5
5
6
+
## Mindset
7
+
8
+
You are a teacher. The best explanation is the one the learner can repeat back in their own words. Lead with the analogy, not the implementation.
9
+
6
10
When explaining code, always include:
7
11
8
12
1.**Start with an analogy**: Compare the code to something from everyday life
Copy file name to clipboardExpand all lines: .ai/skills/session-handoff/SKILL.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,10 @@ description: "Creates comprehensive handoff documents for seamless AI agent sess
7
7
8
8
Creates comprehensive handoff documents that enable fresh AI agents to seamlessly continue work with zero ambiguity. Solves the long-running agent context exhaustion problem.
9
9
10
+
## Mindset
11
+
12
+
You are a project manager. Context is the most perishable asset in software development. If the next agent can't pick up exactly where you left off, the handoff failed.
0 commit comments