Skip to content

Commit 481bb0b

Browse files
author
Nick Sullivan
committed
Prettier formatting
1 parent cc4a3d0 commit 481bb0b

File tree

13 files changed

+414
-254
lines changed

13 files changed

+414
-254
lines changed

.claude/commands/ai-coding-config.md

Lines changed: 73 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ argument-hint: [update | add]
55

66
# AI Coding Configuration
77

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.
911

1012
## Usage
1113

@@ -15,7 +17,10 @@ Manages reusable AI configurations across machines and projects. The system live
1517

1618
## Interaction Guidelines
1719

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.
1924

2025
---
2126

@@ -34,11 +39,13 @@ Detect project type and framework specifics. Django differs from FastAPI. React
3439
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.
3540

3641
Available configurations:
42+
3743
- Rules (`.cursor/rules/` subdirectories and files)
3844
- Personalities (one or none)
3945
- Agents (specialized AI assistants, default to all)
4046
- 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/`)
4249
- Standard configs (VSCode settings, Prettier, GitHub workflows)
4350

4451
Use AskUserQuestion to present personality options as quick-select.
@@ -48,28 +55,36 @@ Use AskUserQuestion to present personality options as quick-select.
4855
Walk through `~/.ai_coding_config/.claude/skills/` and evaluate each skill for relevance to the current project.
4956

5057
For each skill directory:
58+
5159
1. Read the SKILL.md frontmatter to get the description
5260
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)
5463

5564
Skill evaluation criteria:
5665

5766
Universal skills (always recommend):
67+
5868
- brainstorming: Useful for any project - refining ideas into designs
5969
- research: Useful for any project - web research for current information
6070
- systematic-debugging: Useful for any project with code - root cause analysis
6171

6272
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)
6476
- youtube-transcript-analyzer: Projects with docs/, research/, or learning-focused goals
6577

6678
When evaluating a skill you haven't seen before:
79+
6780
1. Read its SKILL.md description carefully
6881
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)
7084
4. When uncertain, categorize as optional and let user decide
7185

7286
Present skills grouped by category:
87+
7388
- Recommended: Strong match for this project type
7489
- Optional: Might be useful depending on workflow
7590
- Skipping: Not relevant (explain briefly why)
@@ -80,39 +95,47 @@ Use AskUserQuestion to confirm skill selection, showing recommended pre-selected
8095
<file-installation>
8196
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.
8297

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).
98+
Installation mapping: Rules → `.cursor/rules/` (preserve subdirectory structure),
99+
Commands → `.claude/commands/` with symlinks in `.cursor/commands/`, Context →
100+
`.claude/context.md`, Agents → `.claude/agents/`, Skills → `.claude/skills/` (copy
101+
entire skill directories for selected skills only), Personalities →
102+
`.cursor/rules/personalities/` (common always, additional with `alwaysApply: true`),
103+
VSCode → `.vscode/`, Prettier → `.prettierrc`, GitHub workflows → `.github/workflows/`,
104+
Gitignore → `.cursor/.gitignore` and `.claude/.gitignore`, Directory context →
105+
`.cursor/AGENTS.md` and `.claude/AGENTS.md` (explains directory purpose and references
106+
prompt-engineering rules).
84107

85-
Report what was copied, skipped, and how conflicts were handled.
86-
</file-installation>
108+
Report what was copied, skipped, and how conflicts were handled. </file-installation>
87109

88110
<installation-verification>
89111
Confirm files are in expected locations. List installed rules (framework-specific, then universal), commands, agents, skills. Confirm symlinks point correctly. Verify personality selection and `alwaysApply` setting. Confirm VSCode settings, Prettier config, GitHub workflows, gitignore files, and directory AGENTS.md files.
90112

91-
Provide clear summary without deep validation.
92-
</installation-verification>
113+
Provide clear summary without deep validation. </installation-verification>
93114

94115
<recommendations>
95116
After successful installation, provide actionable next steps.
96117

97118
Always recommend:
119+
98120
1. Generate AGENTS.md if missing at project root (run /generate-AGENTS-file)
99-
2. List available commands (/load-cursor-rules, /personality-change, /create-prompt, /troubleshoot, /setup-environment, /handoff-context, /product-intel)
121+
2. List available commands (/load-cursor-rules, /personality-change, /create-prompt,
122+
/troubleshoot, /setup-environment, /handoff-context, /product-intel)
100123

101124
Conditional recommendations:
125+
102126
- Git worktrees → suggest /setup-environment
103127
- Error monitoring detected → mention /troubleshoot
104128
- Competitive product → suggest /product-intel
105129

106-
Show only genuinely useful recommendations.
107-
</recommendations>
108-
</setup-mode>
130+
Show only genuinely useful recommendations. </recommendations> </setup-mode>
109131

110132
---
111133

112134
<update-mode>
113135
Systematically update all configuration types from the repo to latest versions.
114136

115-
Start by pulling latest from `~/.ai_coding_config` and comparing against the current project.
137+
Start by pulling latest from `~/.ai_coding_config` and comparing against the current
138+
project.
116139

117140
Configuration categories that must be checked (in this order):
118141

@@ -124,10 +147,11 @@ Configuration categories that must be checked (in this order):
124147
2. Top-level Rules (`.cursor/rules/`)
125148
- Universal rules apply to all projects regardless of framework
126149
- Compare: autonomous-development-workflow, code-review-standards, external-apis,
127-
fixing-github-actions-builds, git-commit-message, git-interaction, git-worktree-task,
128-
naming-stuff, prompt-engineering, user-facing-language, heart-centered-ai-philosophy,
129-
trust-and-decision-making
130-
- Preserve project-specific rules (sentry, typescript-coding-standards, testing-standards-typescript, code-comments, etc.)
150+
fixing-github-actions-builds, git-commit-message, git-interaction,
151+
git-worktree-task, naming-stuff, prompt-engineering, user-facing-language,
152+
heart-centered-ai-philosophy, trust-and-decision-making
153+
- Preserve project-specific rules (sentry, typescript-coding-standards,
154+
testing-standards-typescript, code-comments, etc.)
131155

132156
3. Rule Subdirectories (`.cursor/rules/`)
133157
- Check each subdirectory: ai/, frontend/, observability/, django/, python/
@@ -136,7 +160,8 @@ Configuration categories that must be checked (in this order):
136160
- Example: ai/agent-file-format.mdc, frontend/react-components.mdc
137161

138162
4. Agents (`.claude/agents/`)
139-
- 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
140165
- Update repo agents (description and formatting improvements common)
141166
- Preserve project-specific agents
142167

@@ -151,15 +176,16 @@ Configuration categories that must be checked (in this order):
151176
- Prettier config (.prettierrc)
152177
- GitHub workflows (.github/workflows/)
153178

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.
156182

157183
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.
159186

160187
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>
163189

164190
---
165191

@@ -177,42 +203,50 @@ Fetch latest Claude Code documentation for the mechanism you're implementing (co
177203
<mechanism-selection>
178204
Decision framework:
179205

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
181208

182209
Context: Needs isolation → Agent, Uses main conversation → Command or Skill
183210

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
185214

186215
Clarifying questions:
216+
187217
1. Who triggers this - user manually or Claude autonomously?
188218
2. Needs isolated context window or uses main conversation?
189219
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>
192221

193222
<artifact-creation>
194223
Commands: Create `.claude/commands/command-name.md` with frontmatter including description.
195224

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.
197228

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,
231+
model). Agents live in plugins.
199232

200-
Plugins: Create `plugins/plugin-name/` directory structure with `.claude-plugin/plugin.json` manifest. Bundle commands (via symlinks), skills, agents, hooks, MCP servers. Add README.md. Update `.claude-plugin/marketplace.json`.
233+
Plugins: Create `plugins/plugin-name/` directory structure with
234+
`.claude-plugin/plugin.json` manifest. Bundle commands (via symlinks), skills, agents,
235+
hooks, MCP servers. Add README.md. Update `.claude-plugin/marketplace.json`.
201236
</artifact-creation>
202237

203238
<creation-verification>
204239
Verify files are in correct locations, frontmatter includes required fields, skill descriptions clearly define activation criteria, commands work when invoked, plugins are properly structured.
205240

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>
209242

210243
---
211244

212245
<execution-philosophy>
213246
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.
214247

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.
216250

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
252+
might want them. </execution-philosophy>

.claude/commands/generate-llms-txt.md

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
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
34
---
45

56
# Generate llms.txt
67

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.
810

911
<philosophy>
1012
llms.txt provides LLM-friendly navigation and context for websites and documentation. It should be:
@@ -26,18 +28,21 @@ Determine the appropriate location:
2628
- static/ directory for Django, Flask, Hugo
2729
- Repository root as fallback
2830

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>
3133

3234
<content-structure>
3335
Follow the llmstxt.org standard format:
3436

3537
```markdown
3638
# Project Name
3739

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.
3942

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.
4146

4247
## Documentation
4348

@@ -63,17 +68,18 @@ Additional context paragraph (optional): More detailed information about the pro
6368
```
6469

6570
Structure requirements:
71+
6672
- H1 title with project name
6773
- Blockquote summary for quick context
6874
- H2 sections organizing documentation by category
6975
- Markdown links with concise descriptions
7076
- "Optional" section for less critical resources
7177

7278
Link format:
79+
7380
- Use relative paths for internal documentation
7481
- 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>
7783

7884
<content-discovery>
7985
Identify documentation and resources to include:
@@ -86,14 +92,14 @@ Identify documentation and resources to include:
8692
- Specialized agents from .claude/agents/
8793

8894
Organize by importance:
95+
8996
1. Getting started and quickstart guides
9097
2. Core concepts and tutorials
9198
3. API reference and technical documentation
9299
4. Advanced topics and edge cases
93100
5. Contributing and community resources
94101

95-
Target file size: Under 2KB for focused navigation.
96-
</content-discovery>
102+
Target file size: Under 2KB for focused navigation. </content-discovery>
97103

98104
<update-workflow>
99105
When llms.txt already exists:
@@ -109,9 +115,11 @@ Next.js project with comprehensive docs:
109115
```markdown
110116
# AI Coding Config
111117

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.
113120

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.
115123

116124
## Documentation
117125

@@ -144,7 +152,8 @@ Django API project:
144152

145153
> RESTful API for processing payments across multiple providers with unified interface.
146154

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.
148157

149158
## Documentation
150159

@@ -169,6 +178,7 @@ Supports Stripe, PayPal, and Square with automatic failover and transaction reco
169178
- [Architecture](docs/architecture.md): System design
170179
- [Contributing](CONTRIBUTING.md): Development setup
171180
```
181+
172182
</examples>
173183

174184
<quality-criteria>

0 commit comments

Comments
 (0)