bps-kit 1.0.2 → 1.0.4

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.
Files changed (85) hide show
  1. package/bin/cli.js +4 -4
  2. package/package.json +1 -1
  3. package/templates/{.agents → agents-template}/rules/GEMINI.md +5 -5
  4. package/templates/skills_extra/nodejs-best-practices/SKILL.md +8 -2
  5. package/templates/skills_normal/api-patterns/SKILL.md +7 -2
  6. package/templates/skills_normal/app-builder/SKILL.md +8 -3
  7. package/templates/skills_normal/app-builder/tech-stack.md +2 -2
  8. package/templates/skills_normal/app-builder/templates/SKILL.md +7 -2
  9. package/templates/skills_normal/app-builder/templates/nextjs-fullstack/TEMPLATE.md +39 -79
  10. package/templates/skills_normal/app-builder/templates/nextjs-saas/TEMPLATE.md +53 -75
  11. package/templates/skills_normal/app-builder/templates/nextjs-static/TEMPLATE.md +56 -119
  12. package/templates/skills_normal/app-builder/templates/nuxt-app/TEMPLATE.md +61 -94
  13. package/templates/skills_normal/app-builder/templates/react-native-app/TEMPLATE.md +56 -82
  14. package/templates/skills_normal/behavioral-modes/SKILL.md +7 -2
  15. package/templates/skills_normal/brainstorming/SKILL.md +173 -104
  16. package/templates/skills_normal/clean-code/SKILL.md +90 -197
  17. package/templates/skills_normal/database-design/SKILL.md +7 -2
  18. package/templates/skills_normal/frontend-design/LICENSE.txt +177 -0
  19. package/templates/skills_normal/frontend-design/SKILL.md +172 -313
  20. package/templates/skills_normal/lint-and-validate/SKILL.md +7 -2
  21. package/templates/skills_normal/lint-and-validate/scripts/lint_runner.py +2 -14
  22. package/templates/skills_normal/performance-profiling/SKILL.md +7 -2
  23. package/templates/skills_normal/plan-writing/SKILL.md +4 -2
  24. package/templates/skills_normal/seo-fundamentals/SKILL.md +125 -79
  25. package/templates/skills_normal/systematic-debugging/CREATION-LOG.md +119 -0
  26. package/templates/skills_normal/systematic-debugging/SKILL.md +275 -85
  27. package/templates/skills_normal/systematic-debugging/condition-based-waiting-example.ts +158 -0
  28. package/templates/skills_normal/systematic-debugging/condition-based-waiting.md +115 -0
  29. package/templates/skills_normal/systematic-debugging/defense-in-depth.md +122 -0
  30. package/templates/skills_normal/systematic-debugging/find-polluter.sh +63 -0
  31. package/templates/skills_normal/systematic-debugging/root-cause-tracing.md +169 -0
  32. package/templates/skills_normal/systematic-debugging/test-academic.md +14 -0
  33. package/templates/skills_normal/systematic-debugging/test-pressure-1.md +58 -0
  34. package/templates/skills_normal/systematic-debugging/test-pressure-2.md +68 -0
  35. package/templates/skills_normal/systematic-debugging/test-pressure-3.md +69 -0
  36. package/templates/skills_normal/tailwind-patterns/SKILL.md +8 -2
  37. package/templates/skills_normal/testing-patterns/SKILL.md +212 -125
  38. package/templates/skills_normal/vulnerability-scanner/SKILL.md +7 -2
  39. package/templates/.agents/agents/backend-specialist.md +0 -263
  40. package/templates/.agents/agents/code-archaeologist.md +0 -106
  41. package/templates/.agents/agents/database-architect.md +0 -226
  42. package/templates/.agents/agents/debugger.md +0 -225
  43. package/templates/.agents/agents/devops-engineer.md +0 -242
  44. package/templates/.agents/agents/documentation-writer.md +0 -104
  45. package/templates/.agents/agents/explorer-agent.md +0 -73
  46. package/templates/.agents/agents/frontend-specialist.md +0 -593
  47. package/templates/.agents/agents/game-developer.md +0 -162
  48. package/templates/.agents/agents/mobile-developer.md +0 -377
  49. package/templates/.agents/agents/orchestrator.md +0 -416
  50. package/templates/.agents/agents/penetration-tester.md +0 -188
  51. package/templates/.agents/agents/performance-optimizer.md +0 -187
  52. package/templates/.agents/agents/product-manager.md +0 -112
  53. package/templates/.agents/agents/product-owner.md +0 -95
  54. package/templates/.agents/agents/project-planner.md +0 -406
  55. package/templates/.agents/agents/qa-automation-engineer.md +0 -103
  56. package/templates/.agents/agents/security-auditor.md +0 -170
  57. package/templates/.agents/agents/seo-specialist.md +0 -111
  58. package/templates/.agents/agents/test-engineer.md +0 -158
  59. package/templates/.agents/scripts/auto_preview.py +0 -148
  60. package/templates/.agents/scripts/checklist.py +0 -217
  61. package/templates/.agents/scripts/session_manager.py +0 -120
  62. package/templates/.agents/scripts/verify_all.py +0 -327
  63. package/templates/.agents/workflows/brainstorm.md +0 -113
  64. package/templates/.agents/workflows/create.md +0 -59
  65. package/templates/.agents/workflows/debug.md +0 -103
  66. package/templates/.agents/workflows/deploy.md +0 -176
  67. package/templates/.agents/workflows/enhance.md +0 -63
  68. package/templates/.agents/workflows/orchestrate.md +0 -237
  69. package/templates/.agents/workflows/plan.md +0 -89
  70. package/templates/.agents/workflows/preview.md +0 -81
  71. package/templates/.agents/workflows/status.md +0 -86
  72. package/templates/.agents/workflows/test.md +0 -144
  73. package/templates/.agents/workflows/ui-ux-pro-max.md +0 -296
  74. package/templates/skills_normal/brainstorming/dynamic-questioning.md +0 -350
  75. package/templates/skills_normal/frontend-design/animation-guide.md +0 -331
  76. package/templates/skills_normal/frontend-design/color-system.md +0 -311
  77. package/templates/skills_normal/frontend-design/decision-trees.md +0 -418
  78. package/templates/skills_normal/frontend-design/motion-graphics.md +0 -306
  79. package/templates/skills_normal/frontend-design/scripts/accessibility_checker.py +0 -183
  80. package/templates/skills_normal/frontend-design/scripts/ux_audit.py +0 -722
  81. package/templates/skills_normal/frontend-design/typography-system.md +0 -345
  82. package/templates/skills_normal/frontend-design/ux-psychology.md +0 -1116
  83. package/templates/skills_normal/frontend-design/visual-effects.md +0 -383
  84. package/templates/skills_normal/testing-patterns/scripts/test_runner.py +0 -219
  85. /package/templates/{.agents → agents-template}/workflows/setup-brain.md +0 -0
@@ -1,7 +1,9 @@
1
1
  ---
2
2
  name: plan-writing
3
- description: Structured task planning with clear breakdowns, dependencies, and verification criteria. Use when implementing features, refactoring, or any multi-step work.
4
- allowed-tools: Read, Glob, Grep
3
+ description: "Structured task planning with clear breakdowns, dependencies, and verification criteria. Use when implementing features, refactoring, or any multi-step work."
4
+ risk: unknown
5
+ source: community
6
+ date_added: "2026-02-27"
5
7
  ---
6
8
 
7
9
  # Plan Writing
@@ -1,129 +1,175 @@
1
1
  ---
2
2
  name: seo-fundamentals
3
- description: SEO fundamentals, E-E-A-T, Core Web Vitals, and Google algorithm principles.
4
- allowed-tools: Read, Glob, Grep
3
+ description: Core principles of SEO including E-E-A-T, Core Web Vitals, technical foundations, content quality, and how modern search engines evaluate pages.
4
+ risk: unknown
5
+ source: community
6
+ date_added: '2026-02-27'
7
+ ---
8
+
5
9
  ---
6
10
 
7
11
  # SEO Fundamentals
8
12
 
9
- > Principles for search engine visibility.
13
+ > **Foundational principles for sustainable search visibility.**
14
+ > This skill explains _how search engines evaluate quality_, not tactical shortcuts.
10
15
 
11
16
  ---
12
17
 
13
- ## 1. E-E-A-T Framework
18
+ ## 1. E-E-A-T (Quality Evaluation Framework)
19
+
20
+ E-E-A-T is **not a direct ranking factor**.
21
+ It is a framework used by search engines to **evaluate content quality**, especially for sensitive or high-impact topics.
14
22
 
15
- | Principle | Signals |
16
- |-----------|---------|
17
- | **Experience** | First-hand knowledge, real examples |
18
- | **Expertise** | Credentials, depth of knowledge |
19
- | **Authoritativeness** | Backlinks, mentions, industry recognition |
20
- | **Trustworthiness** | HTTPS, transparency, accurate info |
23
+ | Dimension | What It Represents | Common Signals |
24
+ | --------------------- | ---------------------------------- | --------------------------------------------------- |
25
+ | **Experience** | First-hand, real-world involvement | Original examples, lived experience, demonstrations |
26
+ | **Expertise** | Subject-matter competence | Credentials, depth, accuracy |
27
+ | **Authoritativeness** | Recognition by others | Mentions, citations, links |
28
+ | **Trustworthiness** | Reliability and safety | HTTPS, transparency, accuracy |
29
+
30
+ > Pages competing in the same space are often differentiated by **trust and experience**, not keywords.
21
31
 
22
32
  ---
23
33
 
24
- ## 2. Core Web Vitals
34
+ ## 2. Core Web Vitals (Page Experience Signals)
35
+
36
+ Core Web Vitals measure **how users experience a page**, not whether it deserves to rank.
25
37
 
26
- | Metric | Target | Measures |
27
- |--------|--------|----------|
28
- | **LCP** | < 2.5s | Loading performance |
29
- | **INP** | < 200ms | Interactivity |
30
- | **CLS** | < 0.1 | Visual stability |
38
+ | Metric | Target | What It Reflects |
39
+ | ------- | ------- | ------------------- |
40
+ | **LCP** | < 2.5s | Loading performance |
41
+ | **INP** | < 200ms | Interactivity |
42
+ | **CLS** | < 0.1 | Visual stability |
43
+
44
+ **Important context:**
45
+
46
+ - CWV rarely override poor content
47
+ - They matter most when content quality is comparable
48
+ - Failing CWV can _hold back_ otherwise good pages
31
49
 
32
50
  ---
33
51
 
34
52
  ## 3. Technical SEO Principles
35
53
 
36
- ### Site Structure
54
+ Technical SEO ensures pages are **accessible, understandable, and stable**.
37
55
 
38
- | Element | Purpose |
39
- |---------|---------|
40
- | XML sitemap | Help crawling |
41
- | robots.txt | Control access |
42
- | Canonical tags | Prevent duplicates |
43
- | HTTPS | Security signal |
56
+ ### Crawl & Index Control
44
57
 
45
- ### Performance
58
+ | Element | Purpose |
59
+ | ----------------- | ---------------------- |
60
+ | XML sitemaps | Help discovery |
61
+ | robots.txt | Control crawl access |
62
+ | Canonical tags | Consolidate duplicates |
63
+ | HTTP status codes | Communicate page state |
64
+ | HTTPS | Security and trust |
46
65
 
47
- | Factor | Impact |
48
- |--------|--------|
49
- | Page speed | Core Web Vital |
50
- | Mobile-friendly | Ranking factor |
51
- | Clean URLs | Crawlability |
66
+ ### Performance & Accessibility
67
+
68
+ | Factor | Why It Matters |
69
+ | ---------------------- | ----------------------------- |
70
+ | Page speed | User satisfaction |
71
+ | Mobile-friendly design | Mobile-first indexing |
72
+ | Clean URLs | Crawl clarity |
73
+ | Semantic HTML | Accessibility & understanding |
52
74
 
53
75
  ---
54
76
 
55
77
  ## 4. Content SEO Principles
56
78
 
57
- ### Page Elements
79
+ ### Page-Level Elements
58
80
 
59
- | Element | Best Practice |
60
- |---------|---------------|
61
- | Title tag | 50-60 chars, keyword front |
62
- | Meta description | 150-160 chars, compelling |
63
- | H1 | One per page, main keyword |
64
- | H2-H6 | Logical hierarchy |
65
- | Alt text | Descriptive, not stuffed |
81
+ | Element | Principle |
82
+ | ---------------- | ---------------------------- |
83
+ | Title tag | Clear topic + intent |
84
+ | Meta description | Click relevance, not ranking |
85
+ | H1 | Page’s primary subject |
86
+ | Headings | Logical structure |
87
+ | Alt text | Accessibility and context |
66
88
 
67
- ### Content Quality
89
+ ### Content Quality Signals
68
90
 
69
- | Factor | Importance |
70
- |--------|------------|
71
- | Depth | Comprehensive coverage |
72
- | Freshness | Regular updates |
73
- | Uniqueness | Original value |
74
- | Readability | Clear writing |
91
+ | Dimension | What Search Engines Look For |
92
+ | ----------- | ---------------------------- |
93
+ | Depth | Fully answers the query |
94
+ | Originality | Adds unique value |
95
+ | Accuracy | Factually correct |
96
+ | Clarity | Easy to understand |
97
+ | Usefulness | Satisfies intent |
75
98
 
76
99
  ---
77
100
 
78
- ## 5. Schema Markup Types
101
+ ## 5. Structured Data (Schema)
102
+
103
+ Structured data helps search engines **understand meaning**, not boost rankings directly.
79
104
 
80
- | Type | Use |
81
- |------|-----|
82
- | Article | Blog posts, news |
83
- | Organization | Company info |
84
- | Person | Author profiles |
85
- | FAQPage | Q&A content |
86
- | Product | E-commerce |
87
- | Review | Ratings |
88
- | BreadcrumbList | Navigation |
105
+ | Type | Purpose |
106
+ | -------------- | ---------------------- |
107
+ | Article | Content classification |
108
+ | Organization | Entity identity |
109
+ | Person | Author information |
110
+ | FAQPage | Q&A clarity |
111
+ | Product | Commerce details |
112
+ | Review | Ratings context |
113
+ | BreadcrumbList | Site structure |
114
+
115
+ > Schema enables eligibility for rich results but does not guarantee them.
89
116
 
90
117
  ---
91
118
 
92
- ## 6. AI Content Guidelines
119
+ ## 6. AI-Assisted Content Principles
120
+
121
+ Search engines evaluate **output quality**, not authorship method.
122
+
123
+ ### Effective Use
124
+
125
+ - AI as a drafting or research assistant
126
+ - Human review for accuracy and clarity
127
+ - Original insights and synthesis
128
+ - Clear accountability
93
129
 
94
- ### What Google Looks For
130
+ ### Risky Use
95
131
 
96
- | Do | ❌ Don't |
97
- |-------|----------|
98
- | AI draft + human edit | Publish raw AI content |
99
- | Add original insights | Copy without value |
100
- | Expert review | Skip fact-checking |
101
- | Follow E-E-A-T | Keyword stuffing |
132
+ - Publishing unedited AI output
133
+ - Factual errors or hallucinations
134
+ - Thin or duplicated content
135
+ - Keyword-driven text with no value
102
136
 
103
137
  ---
104
138
 
105
- ## 7. Ranking Factors (Prioritized)
139
+ ## 7. Relative Importance of SEO Factors
106
140
 
107
- | Priority | Factor |
108
- |----------|--------|
109
- | 1 | Quality, relevant content |
110
- | 2 | Backlinks from authority sites |
111
- | 3 | Page experience (Core Web Vitals) |
112
- | 4 | Mobile optimization |
113
- | 5 | Technical SEO fundamentals |
141
+ There is **no fixed ranking factor order**.
142
+ However, when competing pages are similar, importance tends to follow this pattern:
143
+
144
+ | Relative Weight | Factor |
145
+ | --------------- | --------------------------- |
146
+ | Highest | Content relevance & quality |
147
+ | High | Authority & trust signals |
148
+ | Medium | Page experience (CWV, UX) |
149
+ | Medium | Mobile optimization |
150
+ | Baseline | Technical accessibility |
151
+
152
+ > Technical SEO enables ranking; content quality earns it.
114
153
 
115
154
  ---
116
155
 
117
- ## 8. Measurement
156
+ ## 8. Measurement & Evaluation
118
157
 
119
- | Metric | Tool |
120
- |--------|------|
121
- | Rankings | Search Console, Ahrefs |
122
- | Traffic | Analytics |
123
- | Core Web Vitals | PageSpeed Insights |
124
- | Indexing | Search Console |
125
- | Backlinks | Ahrefs, Semrush |
158
+ SEO fundamentals should be validated using **multiple signals**, not single metrics.
159
+
160
+ | Area | What to Observe |
161
+ | ----------- | -------------------------- |
162
+ | Visibility | Indexed pages, impressions |
163
+ | Engagement | Click-through, dwell time |
164
+ | Performance | CWV field data |
165
+ | Coverage | Indexing status |
166
+ | Authority | Mentions and links |
126
167
 
127
168
  ---
128
169
 
129
- > **Remember:** SEO is a long-term game. Quality content + technical excellence + patience = results.
170
+ > **Key Principle:**
171
+ > Sustainable SEO is built on _useful content_, _technical clarity_, and _trust over time_.
172
+ > There are no permanent shortcuts.
173
+
174
+ ## When to Use
175
+ This skill is applicable to execute the workflow or actions described in the overview.
@@ -0,0 +1,119 @@
1
+ # Creation Log: Systematic Debugging Skill
2
+
3
+ Reference example of extracting, structuring, and bulletproofing a critical skill.
4
+
5
+ ## Source Material
6
+
7
+ Extracted debugging framework from `/Users/jesse/.claude/CLAUDE.md`:
8
+ - 4-phase systematic process (Investigation → Pattern Analysis → Hypothesis → Implementation)
9
+ - Core mandate: ALWAYS find root cause, NEVER fix symptoms
10
+ - Rules designed to resist time pressure and rationalization
11
+
12
+ ## Extraction Decisions
13
+
14
+ **What to include:**
15
+ - Complete 4-phase framework with all rules
16
+ - Anti-shortcuts ("NEVER fix symptom", "STOP and re-analyze")
17
+ - Pressure-resistant language ("even if faster", "even if I seem in a hurry")
18
+ - Concrete steps for each phase
19
+
20
+ **What to leave out:**
21
+ - Project-specific context
22
+ - Repetitive variations of same rule
23
+ - Narrative explanations (condensed to principles)
24
+
25
+ ## Structure Following skill-creation/SKILL.md
26
+
27
+ 1. **Rich when_to_use** - Included symptoms and anti-patterns
28
+ 2. **Type: technique** - Concrete process with steps
29
+ 3. **Keywords** - "root cause", "symptom", "workaround", "debugging", "investigation"
30
+ 4. **Flowchart** - Decision point for "fix failed" → re-analyze vs add more fixes
31
+ 5. **Phase-by-phase breakdown** - Scannable checklist format
32
+ 6. **Anti-patterns section** - What NOT to do (critical for this skill)
33
+
34
+ ## Bulletproofing Elements
35
+
36
+ Framework designed to resist rationalization under pressure:
37
+
38
+ ### Language Choices
39
+ - "ALWAYS" / "NEVER" (not "should" / "try to")
40
+ - "even if faster" / "even if I seem in a hurry"
41
+ - "STOP and re-analyze" (explicit pause)
42
+ - "Don't skip past" (catches the actual behavior)
43
+
44
+ ### Structural Defenses
45
+ - **Phase 1 required** - Can't skip to implementation
46
+ - **Single hypothesis rule** - Forces thinking, prevents shotgun fixes
47
+ - **Explicit failure mode** - "IF your first fix doesn't work" with mandatory action
48
+ - **Anti-patterns section** - Shows exactly what shortcuts look like
49
+
50
+ ### Redundancy
51
+ - Root cause mandate in overview + when_to_use + Phase 1 + implementation rules
52
+ - "NEVER fix symptom" appears 4 times in different contexts
53
+ - Each phase has explicit "don't skip" guidance
54
+
55
+ ## Testing Approach
56
+
57
+ Created 4 validation tests following skills/meta/testing-skills-with-subagents:
58
+
59
+ ### Test 1: Academic Context (No Pressure)
60
+ - Simple bug, no time pressure
61
+ - **Result:** Perfect compliance, complete investigation
62
+
63
+ ### Test 2: Time Pressure + Obvious Quick Fix
64
+ - User "in a hurry", symptom fix looks easy
65
+ - **Result:** Resisted shortcut, followed full process, found real root cause
66
+
67
+ ### Test 3: Complex System + Uncertainty
68
+ - Multi-layer failure, unclear if can find root cause
69
+ - **Result:** Systematic investigation, traced through all layers, found source
70
+
71
+ ### Test 4: Failed First Fix
72
+ - Hypothesis doesn't work, temptation to add more fixes
73
+ - **Result:** Stopped, re-analyzed, formed new hypothesis (no shotgun)
74
+
75
+ **All tests passed.** No rationalizations found.
76
+
77
+ ## Iterations
78
+
79
+ ### Initial Version
80
+ - Complete 4-phase framework
81
+ - Anti-patterns section
82
+ - Flowchart for "fix failed" decision
83
+
84
+ ### Enhancement 1: TDD Reference
85
+ - Added link to skills/testing/test-driven-development
86
+ - Note explaining TDD's "simplest code" ≠ debugging's "root cause"
87
+ - Prevents confusion between methodologies
88
+
89
+ ## Final Outcome
90
+
91
+ Bulletproof skill that:
92
+ - ✅ Clearly mandates root cause investigation
93
+ - ✅ Resists time pressure rationalization
94
+ - ✅ Provides concrete steps for each phase
95
+ - ✅ Shows anti-patterns explicitly
96
+ - ✅ Tested under multiple pressure scenarios
97
+ - ✅ Clarifies relationship to TDD
98
+ - ✅ Ready for use
99
+
100
+ ## Key Insight
101
+
102
+ **Most important bulletproofing:** Anti-patterns section showing exact shortcuts that feel justified in the moment. When Claude thinks "I'll just add this one quick fix", seeing that exact pattern listed as wrong creates cognitive friction.
103
+
104
+ ## Usage Example
105
+
106
+ When encountering a bug:
107
+ 1. Load skill: skills/debugging/systematic-debugging
108
+ 2. Read overview (10 sec) - reminded of mandate
109
+ 3. Follow Phase 1 checklist - forced investigation
110
+ 4. If tempted to skip - see anti-pattern, stop
111
+ 5. Complete all phases - root cause found
112
+
113
+ **Time investment:** 5-10 minutes
114
+ **Time saved:** Hours of symptom-whack-a-mole
115
+
116
+ ---
117
+
118
+ *Created: 2025-10-03*
119
+ *Purpose: Reference example for skill extraction and bulletproofing*