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
Copy file name to clipboardExpand all lines: .claude/commands/ai-coding-config.md
+73-39Lines changed: 73 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,9 @@ argument-hint: [update | add]
5
5
6
6
# AI Coding Configuration
7
7
8
-
Manages reusable AI configurations across machines and projects. The system lives in `~/.ai_coding_config` and contains Cursor rules, Claude commands, agents, skills, personalities, and GitHub workflows.
8
+
Manages reusable AI configurations across machines and projects. The system lives in
9
+
`~/.ai_coding_config` and contains Cursor rules, Claude commands, agents, skills,
10
+
personalities, and GitHub workflows.
9
11
10
12
## Usage
11
13
@@ -15,7 +17,10 @@ Manages reusable AI configurations across machines and projects. The system live
15
17
16
18
## Interaction Guidelines
17
19
18
-
Use AskUserQuestion when presenting discrete choices that save the user time (selecting a personality, choosing update strategy, handling file conflicts). This lets users quickly click options while still allowing free-form text via "Other". Only use when it genuinely speeds up the interaction.
20
+
Use AskUserQuestion when presenting discrete choices that save the user time (selecting
21
+
a personality, choosing update strategy, handling file conflicts). This lets users
22
+
quickly click options while still allowing free-form text via "Other". Only use when it
23
+
genuinely speeds up the interaction.
19
24
20
25
---
21
26
@@ -34,11 +39,13 @@ Detect project type and framework specifics. Django differs from FastAPI. React
34
39
Show available configurations that match this project. Group by relevance - framework-specific first, then universal. For each option, read description from frontmatter to explain what it does.
35
40
36
41
Available configurations:
42
+
37
43
- Rules (`.cursor/rules/` subdirectories and files)
38
44
- Personalities (one or none)
39
45
- Agents (specialized AI assistants, default to all)
40
46
- Skills (intelligent selection based on project type - see skills-selection section)
41
-
- Commands (always copy all, create in `.claude/commands/` with symlinks in `.cursor/commands/`)
47
+
- Commands (always copy all, create in `.claude/commands/` with symlinks in
48
+
`.cursor/commands/`)
42
49
- Standard configs (VSCode settings, Prettier, GitHub workflows)
43
50
44
51
Use AskUserQuestion to present personality options as quick-select.
@@ -48,28 +55,36 @@ Use AskUserQuestion to present personality options as quick-select.
48
55
Walk through `~/.ai_coding_config/.claude/skills/` and evaluate each skill for relevance to the current project.
49
56
50
57
For each skill directory:
58
+
51
59
1. Read the SKILL.md frontmatter to get the description
52
60
2. Evaluate whether the skill matches this project's context
53
-
3. Categorize as: recommended (strong match), optional (might be useful), or skip (not relevant)
61
+
3. Categorize as: recommended (strong match), optional (might be useful), or skip (not
62
+
relevant)
54
63
55
64
Skill evaluation criteria:
56
65
57
66
Universal skills (always recommend):
67
+
58
68
- brainstorming: Useful for any project - refining ideas into designs
59
69
- research: Useful for any project - web research for current information
60
70
- systematic-debugging: Useful for any project with code - root cause analysis
61
71
62
72
Project-specific skills (match against signals):
63
-
- skill-creator: Only for ai-coding-config repo itself (check if current project IS the config repo)
73
+
74
+
- skill-creator: Only for ai-coding-config repo itself (check if current project IS the
75
+
config repo)
64
76
- youtube-transcript-analyzer: Projects with docs/, research/, or learning-focused goals
65
77
66
78
When evaluating a skill you haven't seen before:
79
+
67
80
1. Read its SKILL.md description carefully
68
81
2. Look for "Use when..." triggers in the description
69
-
3. Match triggers against project signals (package.json, file structure, existing configs)
82
+
3. Match triggers against project signals (package.json, file structure, existing
83
+
configs)
70
84
4. When uncertain, categorize as optional and let user decide
71
85
72
86
Present skills grouped by category:
87
+
73
88
- Recommended: Strong match for this project type
74
89
- Optional: Might be useful depending on workflow
75
90
- Skipping: Not relevant (explain briefly why)
@@ -80,39 +95,47 @@ Use AskUserQuestion to confirm skill selection, showing recommended pre-selected
80
95
<file-installation>
81
96
Copy selected configurations intelligently, respecting existing customizations. Compare files with diff when they exist. For conflicts, use AskUserQuestion to offer choices (overwrite, skip, show diff, or custom action). Never silently overwrite.
82
97
83
-
Installation mapping: Rules → `.cursor/rules/` (preserve subdirectory structure), Commands → `.claude/commands/` with symlinks in `.cursor/commands/`, Context → `.claude/context.md`, Agents → `.claude/agents/`, Skills → `.claude/skills/` (copy entire skill directories for selected skills only), Personalities → `.cursor/rules/personalities/` (common always, additional with `alwaysApply: true`), VSCode → `.vscode/`, Prettier → `.prettierrc`, GitHub workflows → `.github/workflows/`, Gitignore → `.cursor/.gitignore` and `.claude/.gitignore`, Directory context → `.cursor/AGENTS.md` and `.claude/AGENTS.md` (explains directory purpose and references prompt-engineering rules).
- Compare all agent files: design-reviewer.md, seo-specialist.md, site-keeper.md, plus project-custom agents
163
+
- Compare all agent files: design-reviewer.md, seo-specialist.md, site-keeper.md,
164
+
plus project-custom agents
140
165
- Update repo agents (description and formatting improvements common)
141
166
- Preserve project-specific agents
142
167
@@ -151,15 +176,16 @@ Configuration categories that must be checked (in this order):
151
176
- Prettier config (.prettierrc)
152
177
- GitHub workflows (.github/workflows/)
153
178
154
-
For each category: use diff to identify changes. Categorize as trivial (typos, formatting)
155
-
or significant (logic, descriptions, instructions). List files new to repo or unique to project.
179
+
For each category: use diff to identify changes. Categorize as trivial (typos,
180
+
formatting) or significant (logic, descriptions, instructions). List files new to repo
181
+
or unique to project.
156
182
157
183
Present update strategy to user: "Update all", "Update selectively", or custom approach.
158
-
Show diffs for significant changes before applying. Never silently overwrite project customizations.
184
+
Show diffs for significant changes before applying. Never silently overwrite project
185
+
customizations.
159
186
160
187
After copying: verify files are in correct locations, symlinks point correctly, and
161
-
descriptions in frontmatter were updated.
162
-
</update-mode>
188
+
descriptions in frontmatter were updated. </update-mode>
163
189
164
190
---
165
191
@@ -177,42 +203,50 @@ Fetch latest Claude Code documentation for the mechanism you're implementing (co
177
203
<mechanism-selection>
178
204
Decision framework:
179
205
180
-
Trigger: User manually → Command, Claude autonomously → Skill, Claude delegates focused work → Agent, Bundling multiple mechanisms → Plugin
206
+
Trigger: User manually → Command, Claude autonomously → Skill, Claude delegates focused
207
+
work → Agent, Bundling multiple mechanisms → Plugin
181
208
182
209
Context: Needs isolation → Agent, Uses main conversation → Command or Skill
183
210
184
-
Compatibility: Commands work in both Claude Code and Cursor, Skills are Claude Code only (create companion Command for Cursor if needed), Agents work in Claude Code (Cursor can @ mention paths), Plugins are Claude Code only
211
+
Compatibility: Commands work in both Claude Code and Cursor, Skills are Claude Code only
212
+
(create companion Command for Cursor if needed), Agents work in Claude Code (Cursor can
213
+
@ mention paths), Plugins are Claude Code only
185
214
186
215
Clarifying questions:
216
+
187
217
1. Who triggers this - user manually or Claude autonomously?
188
218
2. Needs isolated context window or uses main conversation?
189
219
3. Must work in Cursor or Claude Code only acceptable?
190
-
4. Single capability or bundling multiple features?
191
-
</mechanism-selection>
220
+
4. Single capability or bundling multiple features? </mechanism-selection>
192
221
193
222
<artifact-creation>
194
223
Commands: Create `.claude/commands/command-name.md` with frontmatter including description.
195
224
196
-
Skills: Create `.claude/skills/skill-name/SKILL.md` with frontmatter (name, description). Description is critical - Claude uses it to decide when to activate. Add supporting files as needed. Create companion Command for Cursor if needed.
225
+
Skills: Create `.claude/skills/skill-name/SKILL.md` with frontmatter (name,
226
+
description). Description is critical - Claude uses it to decide when to activate. Add
227
+
supporting files as needed. Create companion Command for Cursor if needed.
197
228
198
-
Agents: Determine plugin location (or create new plugin). Create `plugins/plugin-name/agents/agent-name.md` with frontmatter (name, description, tools, model). Agents live in plugins.
229
+
Agents: Determine plugin location (or create new plugin). Create
230
+
`plugins/plugin-name/agents/agent-name.md` with frontmatter (name, description, tools,
Verify files are in correct locations, frontmatter includes required fields, skill descriptions clearly define activation criteria, commands work when invoked, plugins are properly structured.
205
240
206
-
Explain what was created and how to test it.
207
-
</creation-verification>
208
-
</add-mode>
241
+
Explain what was created and how to test it. </creation-verification> </add-mode>
209
242
210
243
---
211
244
212
245
<execution-philosophy>
213
246
Work conversationally, not robotically. Focus on outcomes. Determine best approach for each situation. Show file paths when copying. Let users make all choices. Verify everything works before finishing.
214
247
215
-
Respect existing files - always check before overwriting. Use diff to understand differences, then decide intelligently or ask. Better to be thoughtful than fast.
248
+
Respect existing files - always check before overwriting. Use diff to understand
249
+
differences, then decide intelligently or ask. Better to be thoughtful than fast.
216
250
217
-
Explain choices helpfully. Don't just list files - explain what they do and why someone might want them.
218
-
</execution-philosophy>
251
+
Explain choices helpfully. Don't just list files - explain what they do and why someone
Copy file name to clipboardExpand all lines: .claude/commands/generate-llms-txt.md
+23-13Lines changed: 23 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,12 @@
1
1
---
2
-
description: Generate or update llms.txt file to help LLMs understand and navigate your site
2
+
description:
3
+
Generate or update llms.txt file to help LLMs understand and navigate your site
3
4
---
4
5
5
6
# Generate llms.txt
6
7
7
-
Creates or updates llms.txt - a standardized file that helps Large Language Models understand and navigate your website or documentation at inference time.
8
+
Creates or updates llms.txt - a standardized file that helps Large Language Models
9
+
understand and navigate your website or documentation at inference time.
8
10
9
11
<philosophy>
10
12
llms.txt provides LLM-friendly navigation and context for websites and documentation. It should be:
@@ -26,18 +28,21 @@ Determine the appropriate location:
26
28
- static/ directory for Django, Flask, Hugo
27
29
- Repository root as fallback
28
30
29
-
Choose the location that makes the file accessible at /llms.txt when the site is deployed.
30
-
</file-placement>
31
+
Choose the location that makes the file accessible at /llms.txt when the site is
32
+
deployed. </file-placement>
31
33
32
34
<content-structure>
33
35
Follow the llmstxt.org standard format:
34
36
35
37
```markdown
36
38
# Project Name
37
39
38
-
> Brief 1-2 sentence description of what this project/site is and what it helps users accomplish.
40
+
> Brief 1-2 sentence description of what this project/site is and what it helps users
41
+
> accomplish.
39
42
40
-
Additional context paragraph (optional): More detailed information about the project's purpose, key features, or important background that helps LLMs understand how to use the site effectively.
43
+
Additional context paragraph (optional): More detailed information about the project's
44
+
purpose, key features, or important background that helps LLMs understand how to use the
45
+
site effectively.
41
46
42
47
## Documentation
43
48
@@ -63,17 +68,18 @@ Additional context paragraph (optional): More detailed information about the pro
63
68
```
64
69
65
70
Structure requirements:
71
+
66
72
- H1 title with project name
67
73
- Blockquote summary for quick context
68
74
- H2 sections organizing documentation by category
69
75
- Markdown links with concise descriptions
70
76
- "Optional" section for less critical resources
71
77
72
78
Link format:
79
+
73
80
- Use relative paths for internal documentation
74
81
- Use absolute URLs for external resources
75
-
- Prioritize most important links first within each section
76
-
</content-structure>
82
+
- Prioritize most important links first within each section </content-structure>
77
83
78
84
<content-discovery>
79
85
Identify documentation and resources to include:
@@ -86,14 +92,14 @@ Identify documentation and resources to include:
86
92
- Specialized agents from .claude/agents/
87
93
88
94
Organize by importance:
95
+
89
96
1. Getting started and quickstart guides
90
97
2. Core concepts and tutorials
91
98
3. API reference and technical documentation
92
99
4. Advanced topics and edge cases
93
100
5. Contributing and community resources
94
101
95
-
Target file size: Under 2KB for focused navigation.
96
-
</content-discovery>
102
+
Target file size: Under 2KB for focused navigation. </content-discovery>
97
103
98
104
<update-workflow>
99
105
When llms.txt already exists:
@@ -109,9 +115,11 @@ Next.js project with comprehensive docs:
109
115
```markdown
110
116
# AI Coding Config
111
117
112
-
> Plugin marketplace for Claude Code and Cursor providing reusable coding standards, workflows, and AI agents.
118
+
> Plugin marketplace for Claude Code and Cursor providing reusable coding standards,
119
+
> workflows, and AI agents.
113
120
114
-
Provides a marketplace of plugins that bundle coding rules, slash commands, and specialized agents. Plugins maintain single source of truth through symlinks.
121
+
Provides a marketplace of plugins that bundle coding rules, slash commands, and
122
+
specialized agents. Plugins maintain single source of truth through symlinks.
115
123
116
124
## Documentation
117
125
@@ -144,7 +152,8 @@ Django API project:
144
152
145
153
> RESTful API for processing payments across multiple providers with unified interface.
146
154
147
-
Supports Stripe, PayPal, and Square with automatic failover and transaction reconciliation.
155
+
Supports Stripe, PayPal, and Square with automatic failover and transaction
156
+
reconciliation.
148
157
149
158
## Documentation
150
159
@@ -169,6 +178,7 @@ Supports Stripe, PayPal, and Square with automatic failover and transaction reco
169
178
- [Architecture](docs/architecture.md): System design
170
179
- [Contributing](CONTRIBUTING.md): Development setup
0 commit comments