climaybe 1.7.2 → 1.8.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.
- package/README.md +9 -7
- package/bin/version.txt +1 -1
- package/package.json +6 -7
- package/src/commands/add-cursor-skill.js +12 -7
- package/src/commands/init.js +10 -5
- package/src/cursor/rules/00-rule-index.mdc +24 -0
- package/src/cursor/rules/accessibility-rules.mdc +527 -0
- package/src/cursor/rules/commit-rules.mdc +286 -0
- package/src/cursor/rules/cursor-rule-template.mdc +66 -0
- package/src/cursor/rules/examples/section-example.liquid +52 -0
- package/src/cursor/rules/examples/snippet-example.liquid +83 -0
- package/src/cursor/rules/figma-design-system.mdc +182 -0
- package/src/cursor/rules/global-rules-reference.mdc +62 -0
- package/src/cursor/rules/javascript-standards.mdc +1125 -0
- package/src/cursor/rules/js-refactor-tasks.mdc +123 -0
- package/src/cursor/rules/linear-task-creation.mdc +105 -0
- package/src/cursor/rules/liquid-doc-rules.mdc +595 -0
- package/src/cursor/rules/liquid.mdc +228 -0
- package/src/cursor/rules/project-overview.mdc +81 -0
- package/src/cursor/rules/schemas.mdc +150 -0
- package/src/cursor/rules/sections.mdc +25 -0
- package/src/cursor/rules/snippets.mdc +134 -0
- package/src/cursor/rules/tailwindcss-rules.mdc +410 -0
- package/src/cursor/skills/accessibility-pass/SKILL.md +54 -0
- package/src/cursor/skills/changelog-release/SKILL.md +50 -0
- package/src/cursor/skills/commit/SKILL.md +27 -0
- package/src/cursor/skills/commit-in-groups/SKILL.md +55 -0
- package/src/cursor/skills/linear-create-task/SKILL.md +81 -0
- package/src/cursor/skills/liquid-doc-comments/SKILL.md +37 -0
- package/src/cursor/skills/locale-translation-prep/SKILL.md +49 -0
- package/src/cursor/skills/schema-section-change/SKILL.md +39 -0
- package/src/cursor/skills/section-from-spec/SKILL.md +39 -0
- package/src/cursor/skills/theme-check-fix/SKILL.md +47 -0
- package/src/index.js +3 -2
- package/src/lib/commit-tooling.js +0 -44
- package/src/lib/config.js +1 -1
- package/src/lib/cursor-bundle.js +47 -0
- package/src/lib/prompts.js +3 -2
- package/src/workflows/shared/version-bump.yml +5 -2
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: References to global rules for this Shopify theme project
|
|
3
|
+
globs:
|
|
4
|
+
- "**/*"
|
|
5
|
+
alwaysApply: false
|
|
6
|
+
---
|
|
7
|
+
# Global Rules Reference
|
|
8
|
+
|
|
9
|
+
This project uses global rules from ~/.claude/rules/ (when using Claude). **In Cursor, project rules live in `.cursor/rules/` and are applied per the rule index (`00-rule-index.mdc`).**
|
|
10
|
+
|
|
11
|
+
## Global Rules Location
|
|
12
|
+
All reusable rules are stored in:
|
|
13
|
+
- `~/.claude/rules/general/` - General development standards
|
|
14
|
+
- `~/.claude/rules/shopify/` - Shopify-specific rules
|
|
15
|
+
- `~/.claude/rules/templates/` - Rule templates
|
|
16
|
+
|
|
17
|
+
## Shopify Developer Agent (Claude)
|
|
18
|
+
For Shopify-specific tasks in Claude, use the specialized agent:
|
|
19
|
+
- `~/.claude/agents/engineering/shopify-developer.md`
|
|
20
|
+
|
|
21
|
+
This agent has deep knowledge of:
|
|
22
|
+
- Shopify Liquid templating
|
|
23
|
+
- Theme architecture
|
|
24
|
+
- Performance optimization
|
|
25
|
+
- Layout/reflow prevention
|
|
26
|
+
- Accessibility standards
|
|
27
|
+
|
|
28
|
+
## Syncing Rules
|
|
29
|
+
To sync latest global rules to this project:
|
|
30
|
+
```bash
|
|
31
|
+
~/.claude/rules/sync-rules.sh /Users/efe/dev/12_agency/voldt
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Current Project Rules
|
|
35
|
+
|
|
36
|
+
### From Global Repository
|
|
37
|
+
These rules are synced from ~/.claude/rules/:
|
|
38
|
+
|
|
39
|
+
**General Development:**
|
|
40
|
+
- `javascript-standards.mdc` - JS best practices with layout/reflow optimization
|
|
41
|
+
- `accessibility-rules.mdc` - WCAG 2.1 AA compliance
|
|
42
|
+
- `commit-rules.mdc` - Git commit conventions
|
|
43
|
+
- `tailwindcss-rules.mdc` - Tailwind CSS standards
|
|
44
|
+
|
|
45
|
+
**Shopify Theme Development:**
|
|
46
|
+
- `liquid.mdc` - Liquid syntax rules
|
|
47
|
+
- `liquid-doc-rules.mdc` - Liquid documentation standards
|
|
48
|
+
- `schemas.mdc` - Schema definitions
|
|
49
|
+
- `sections.mdc` - Section guidelines
|
|
50
|
+
- `snippets.mdc` - Snippet best practices
|
|
51
|
+
|
|
52
|
+
### Project-Specific Rules
|
|
53
|
+
These rules are unique to this project:
|
|
54
|
+
- `project-overview.mdc` - Electric Maybe theme overview
|
|
55
|
+
- `js-refactor-tasks.mdc` - Current refactoring tasks
|
|
56
|
+
|
|
57
|
+
## Important Notes
|
|
58
|
+
1. Global rules provide consistency across projects
|
|
59
|
+
2. Project-specific rules override global ones
|
|
60
|
+
3. Keep project customizations in separate files
|
|
61
|
+
4. Run sync script periodically for updates
|
|
62
|
+
5. The shopify-developer agent follows all these rules automatically
|