@tinkcarlos/skillora 0.2.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/.claude/skills/.temp-skill-index.md +245 -0
- package/.claude/skills/SKILL.md +264 -0
- package/.claude/skills/api-scaffolding/SKILL.md +431 -0
- package/.claude/skills/api-scaffolding/agents/backend-architect.md +282 -0
- package/.claude/skills/api-scaffolding/agents/django-pro.md +144 -0
- package/.claude/skills/api-scaffolding/agents/fastapi-pro.md +156 -0
- package/.claude/skills/api-scaffolding/agents/graphql-architect.md +146 -0
- package/.claude/skills/api-scaffolding/skills/fastapi-templates/SKILL.md +171 -0
- package/.claude/skills/api-testing-observability/SKILL.md +583 -0
- package/.claude/skills/api-testing-observability/agents/api-documenter.md +146 -0
- package/.claude/skills/api-testing-observability/commands/api-mock.md +1320 -0
- package/.claude/skills/brainstorming/SKILL.md +283 -0
- package/.claude/skills/bug-fixing/SKILL.md +382 -0
- package/.claude/skills/bug-fixing/references/backend-guide.md +132 -0
- package/.claude/skills/bug-fixing/references/bug-guide.md +354 -0
- package/.claude/skills/bug-fixing/references/bug-record-template.md +134 -0
- package/.claude/skills/bug-fixing/references/bug-records.md +88 -0
- package/.claude/skills/bug-fixing/references/code-review-gate.md +81 -0
- package/.claude/skills/bug-fixing/references/common-bugs.md +140 -0
- package/.claude/skills/bug-fixing/references/complete-workflow.md +361 -0
- package/.claude/skills/bug-fixing/references/config-driven-fixes.md +136 -0
- package/.claude/skills/bug-fixing/references/context-isolation-protocol.md +268 -0
- package/.claude/skills/bug-fixing/references/cross-surface-regression.md +120 -0
- package/.claude/skills/bug-fixing/references/database-investigation.md +129 -0
- package/.claude/skills/bug-fixing/references/dependency-and-integrity-protocol.md +369 -0
- package/.claude/skills/bug-fixing/references/fix-completeness-checklist.md +239 -0
- package/.claude/skills/bug-fixing/references/frontend-guide.md +219 -0
- package/.claude/skills/bug-fixing/references/fullstack-joint-guide.md +123 -0
- package/.claude/skills/bug-fixing/references/functional-breakage.md +117 -0
- package/.claude/skills/bug-fixing/references/ide-lint-errors-guide.md +176 -0
- package/.claude/skills/bug-fixing/references/impact-analysis.md +511 -0
- package/.claude/skills/bug-fixing/references/investigation-checklist.md +263 -0
- package/.claude/skills/bug-fixing/references/knowledge-extraction-guide.md +531 -0
- package/.claude/skills/bug-fixing/references/knowledge-workflow.md +212 -0
- package/.claude/skills/bug-fixing/references/post-edit-quality-gate.md +30 -0
- package/.claude/skills/bug-fixing/references/python-env-and-testing.md +126 -0
- package/.claude/skills/bug-fixing/references/rca-guide.md +428 -0
- package/.claude/skills/bug-fixing/references/similar-bug-patterns.md +113 -0
- package/.claude/skills/bug-fixing/references/skill-delegation-guide.md +350 -0
- package/.claude/skills/bug-fixing/references/skill-orchestration.md +155 -0
- package/.claude/skills/bug-fixing/references/testing-strategy.md +350 -0
- package/.claude/skills/bug-fixing/references/tooling-build-scripts.md +162 -0
- package/.claude/skills/bug-fixing/references/user-input-validation.md +77 -0
- package/.claude/skills/bug-fixing/references/ux-patterns.md +158 -0
- package/.claude/skills/bug-fixing/references/windows-terminal-hygiene.md +106 -0
- package/.claude/skills/bug-fixing/references/zero-regression-matrix.md +239 -0
- package/.claude/skills/bug-fixing/references/zero-risk-protocol.md +102 -0
- package/.claude/skills/bug-fixing/scripts/format_code.py +611 -0
- package/.claude/skills/bug-fixing/scripts/generate_report_template.py +74 -0
- package/.claude/skills/bug-fixing/scripts/lint_check.py +816 -0
- package/.claude/skills/bug-fixing/scripts/requirements.txt +36 -0
- package/.claude/skills/cicd-pipeline/SKILL.md +300 -0
- package/.claude/skills/code-review/SKILL.md +535 -0
- package/.claude/skills/code-review/references/anti-pattern-scan.md +102 -0
- package/.claude/skills/code-review/references/automated-analysis.md +456 -0
- package/.claude/skills/code-review/references/backend-common-issues.md +589 -0
- package/.claude/skills/code-review/references/backend-expert-guide.md +415 -0
- package/.claude/skills/code-review/references/backend-review.md +868 -0
- package/.claude/skills/code-review/references/batch-processing-strategy.md +198 -0
- package/.claude/skills/code-review/references/call-chain-analysis-protocol.md +166 -0
- package/.claude/skills/code-review/references/common-patterns.md +321 -0
- package/.claude/skills/code-review/references/configuration-review.md +425 -0
- package/.claude/skills/code-review/references/control-flow-completeness.md +114 -0
- package/.claude/skills/code-review/references/database-review.md +298 -0
- package/.claude/skills/code-review/references/dependency-and-integrity-protocol.md +313 -0
- package/.claude/skills/code-review/references/external-standards.md +51 -0
- package/.claude/skills/code-review/references/feature-review.md +329 -0
- package/.claude/skills/code-review/references/file-review-template.md +326 -0
- package/.claude/skills/code-review/references/frontend-advanced.md +654 -0
- package/.claude/skills/code-review/references/frontend-common-issues.md +482 -0
- package/.claude/skills/code-review/references/frontend-expert-guide.md +342 -0
- package/.claude/skills/code-review/references/frontend-review.md +783 -0
- package/.claude/skills/code-review/references/fullstack-consistency.md +418 -0
- package/.claude/skills/code-review/references/fullstack-review.md +477 -0
- package/.claude/skills/code-review/references/functional-completeness.md +386 -0
- package/.claude/skills/code-review/references/hidden-bugs-detection.md +473 -0
- package/.claude/skills/code-review/references/ide-lint-errors-guide.md +173 -0
- package/.claude/skills/code-review/references/infrastructure-review.md +453 -0
- package/.claude/skills/code-review/references/iteration-review.md +264 -0
- package/.claude/skills/code-review/references/job-review.md +335 -0
- package/.claude/skills/code-review/references/layered-checklist-protocol.md +157 -0
- package/.claude/skills/code-review/references/logic-completeness.md +535 -0
- package/.claude/skills/code-review/references/mandatory-checklist.md +288 -0
- package/.claude/skills/code-review/references/multi-language-guide.md +800 -0
- package/.claude/skills/code-review/references/new-project-review.md +226 -0
- package/.claude/skills/code-review/references/non-code-files-review.md +451 -0
- package/.claude/skills/code-review/references/overlooked-issues.md +657 -0
- package/.claude/skills/code-review/references/platform-specific-review.md +195 -0
- package/.claude/skills/code-review/references/precision-analysis-protocol.md +260 -0
- package/.claude/skills/code-review/references/python-patterns.md +494 -0
- package/.claude/skills/code-review/references/rca-techniques.md +362 -0
- package/.claude/skills/code-review/references/report-template.md +430 -0
- package/.claude/skills/code-review/references/resource-limits-and-degradation.md +137 -0
- package/.claude/skills/code-review/references/review-dimensions.md +311 -0
- package/.claude/skills/code-review/references/review-guide.md +202 -0
- package/.claude/skills/code-review/references/review-knowledge-workflow.md +257 -0
- package/.claude/skills/code-review/references/review-progress-tracker-protocol.md +172 -0
- package/.claude/skills/code-review/references/review-record-template.md +195 -0
- package/.claude/skills/code-review/references/skill-orchestration.md +143 -0
- package/.claude/skills/code-review/references/ui-ux-review.md +470 -0
- package/.claude/skills/containerization/SKILL.md +313 -0
- package/.claude/skills/database-migrations/agents/database-admin.md +142 -0
- package/.claude/skills/database-migrations/agents/database-optimizer.md +144 -0
- package/.claude/skills/database-migrations/commands/migration-observability.md +408 -0
- package/.claude/skills/database-migrations/commands/sql-migrations.md +492 -0
- package/.claude/skills/finishing-a-development-branch/SKILL.md +319 -0
- package/.claude/skills/frontend-design/LICENSE.txt +177 -0
- package/.claude/skills/frontend-design/SKILL.md +587 -0
- package/.claude/skills/frontend-design/references/color-consistency.md +487 -0
- package/.claude/skills/frontend-design/references/color-palettes-full.md +657 -0
- package/.claude/skills/frontend-design/references/design-system-generator.md +285 -0
- package/.claude/skills/frontend-design/references/font-pairings-full.md +705 -0
- package/.claude/skills/frontend-design/references/industry-anti-patterns.md +281 -0
- package/.claude/skills/frontend-design/references/layout-anti-patterns.md +582 -0
- package/.claude/skills/frontend-design/references/motion-patterns.md +659 -0
- package/.claude/skills/frontend-design/references/pre-delivery-checklist.md +153 -0
- package/.claude/skills/frontend-design/references/responsive-design.md +555 -0
- package/.claude/skills/frontend-design/references/style-modification-rules.md +335 -0
- package/.claude/skills/frontend-design/references/ui-styles-full.md +383 -0
- package/.claude/skills/frontend-design/references/ui-styles-rating.md +191 -0
- package/.claude/skills/frontend-design/references/ux-guidelines.md +640 -0
- package/.claude/skills/fullstack-developer/SKILL.md +512 -0
- package/.claude/skills/fullstack-developer/references/api-contract-guide.md +312 -0
- package/.claude/skills/fullstack-developer/references/api-response-patterns.md +223 -0
- package/.claude/skills/fullstack-developer/references/async-patterns.md +220 -0
- package/.claude/skills/fullstack-developer/references/bug-prevention.md +914 -0
- package/.claude/skills/fullstack-developer/references/code-quality-checklist.md +271 -0
- package/.claude/skills/fullstack-developer/references/complete-development-workflow.md +278 -0
- package/.claude/skills/fullstack-developer/references/context-isolation-protocol.md +256 -0
- package/.claude/skills/fullstack-developer/references/database-migration.md +331 -0
- package/.claude/skills/fullstack-developer/references/dependency-and-integrity-protocol.md +390 -0
- package/.claude/skills/fullstack-developer/references/development-phases.md +333 -0
- package/.claude/skills/fullstack-developer/references/expert-guide.md +214 -0
- package/.claude/skills/fullstack-developer/references/file-import-patterns.md +114 -0
- package/.claude/skills/fullstack-developer/references/graceful-degradation-patterns.md +78 -0
- package/.claude/skills/fullstack-developer/references/ide-lint-errors-guide.md +183 -0
- package/.claude/skills/fullstack-developer/references/integration-testing.md +301 -0
- package/.claude/skills/fullstack-developer/references/mock-api-patterns.md +307 -0
- package/.claude/skills/fullstack-developer/references/phase-gate-template.md +249 -0
- package/.claude/skills/fullstack-developer/references/post-edit-quality-gate.md +30 -0
- package/.claude/skills/fullstack-developer/references/python-engineering.md +79 -0
- package/.claude/skills/fullstack-developer/references/skill-orchestration.md +214 -0
- package/.claude/skills/fullstack-developer/references/skill-router-table.md +304 -0
- package/.claude/skills/fullstack-developer/references/state-sync.md +217 -0
- package/.claude/skills/fullstack-developer/references/ui-testing-checklist.md +292 -0
- package/.claude/skills/fullstack-developer/scripts/format_code.py +611 -0
- package/.claude/skills/fullstack-developer/scripts/lint_check.py +816 -0
- package/.claude/skills/fullstack-developer/scripts/requirements.txt +36 -0
- package/.claude/skills/performance-optimization/SKILL.md +250 -0
- package/.claude/skills/product-requirements/SKILL.md +357 -0
- package/.claude/skills/product-requirements/references/acceptance-criteria.md +335 -0
- package/.claude/skills/product-requirements/references/answer-first-questioning-protocol.md +299 -0
- package/.claude/skills/product-requirements/references/competitive-analysis-guide.md +183 -0
- package/.claude/skills/product-requirements/references/document-accuracy-protocol.md +253 -0
- package/.claude/skills/product-requirements/references/document-management-protocol.md +278 -0
- package/.claude/skills/product-requirements/references/external-standards.md +62 -0
- package/.claude/skills/product-requirements/references/feature-spec-template.md +359 -0
- package/.claude/skills/product-requirements/references/knowledge-acquisition-protocol.md +251 -0
- package/.claude/skills/product-requirements/references/plan-execution-protocol.md +334 -0
- package/.claude/skills/product-requirements/references/plan-generation-protocol.md +264 -0
- package/.claude/skills/product-requirements/references/prioritization-frameworks.md +80 -0
- package/.claude/skills/product-requirements/references/requirement-decomposition-protocol.md +291 -0
- package/.claude/skills/product-requirements/references/user-story-examples.md +297 -0
- package/.claude/skills/product-requirements/references/workflow-templates.md +266 -0
- package/.claude/skills/react-best-practices/SKILL.md +198 -0
- package/.claude/skills/react-best-practices/references/advanced-patterns.md +94 -0
- package/.claude/skills/react-best-practices/references/bundle-optimization.md +182 -0
- package/.claude/skills/react-best-practices/references/client-data-fetching.md +112 -0
- package/.claude/skills/react-best-practices/references/complete-guide.md +2249 -0
- package/.claude/skills/react-best-practices/references/eliminating-waterfalls.md +169 -0
- package/.claude/skills/react-best-practices/references/javascript-performance.md +256 -0
- package/.claude/skills/react-best-practices/references/rendering-performance.md +230 -0
- package/.claude/skills/react-best-practices/references/rerender-optimization.md +214 -0
- package/.claude/skills/react-best-practices/references/server-performance.md +182 -0
- package/.claude/skills/security-audit/SKILL.md +226 -0
- package/.claude/skills/shared-references/advanced-debugging-techniques.md +186 -0
- package/.claude/skills/shared-references/code-quality-checklist.md +218 -0
- package/.claude/skills/shared-references/code-review-efficiency-guide.md +125 -0
- package/.claude/skills/shared-references/mcp-dependency-compatibility-protocol.md +276 -0
- package/.claude/skills/shared-references/skill-call-graph.md +230 -0
- package/.claude/skills/shared-references/skill-orchestration-protocol.md +281 -0
- package/.claude/skills/shared-references/subagent-dispatch-templates.md +199 -0
- package/.claude/skills/skill-expert-skills/LICENSE.txt +204 -0
- package/.claude/skills/skill-expert-skills/QUICK_NAVIGATION.md +374 -0
- package/.claude/skills/skill-expert-skills/SKILL.md +247 -0
- package/.claude/skills/skill-expert-skills/docs/_index.md +91 -0
- package/.claude/skills/skill-expert-skills/references/deep-research-methodology.md +389 -0
- package/.claude/skills/skill-expert-skills/references/docs-generation-workflow.md +398 -0
- package/.claude/skills/skill-expert-skills/references/domain-expertise-protocol.md +343 -0
- package/.claude/skills/skill-expert-skills/references/domain-knowledge/_index.md +54 -0
- package/.claude/skills/skill-expert-skills/references/domain-knowledge/backend-expertise.md +517 -0
- package/.claude/skills/skill-expert-skills/references/domain-knowledge/bug-fixing-expertise.md +363 -0
- package/.claude/skills/skill-expert-skills/references/domain-knowledge/code-review-expertise.md +392 -0
- package/.claude/skills/skill-expert-skills/references/domain-knowledge/frontend-expertise.md +410 -0
- package/.claude/skills/skill-expert-skills/references/domain-knowledge-template.md +503 -0
- package/.claude/skills/skill-expert-skills/references/examples.md +782 -0
- package/.claude/skills/skill-expert-skills/references/integration-examples.md +655 -0
- package/.claude/skills/skill-expert-skills/references/knowledge-validation-checklist.md +246 -0
- package/.claude/skills/skill-expert-skills/references/latest-knowledge-acquisition.md +461 -0
- package/.claude/skills/skill-expert-skills/references/mcp-tools-guide.md +439 -0
- package/.claude/skills/skill-expert-skills/references/official-best-practices.md +616 -0
- package/.claude/skills/skill-expert-skills/references/patterns.md +218 -0
- package/.claude/skills/skill-expert-skills/references/plugin-skills-guide.md +432 -0
- package/.claude/skills/skill-expert-skills/references/requirement-elicitation-protocol.md +290 -0
- package/.claude/skills/skill-expert-skills/references/skill-creator-SKILL.md +353 -0
- package/.claude/skills/skill-expert-skills/references/skill-templates.md +583 -0
- package/.claude/skills/skill-expert-skills/references/skills-knowledge-base.md +561 -0
- package/.claude/skills/skill-expert-skills/references/tools-guide.md +379 -0
- package/.claude/skills/skill-expert-skills/references/troubleshooting.md +378 -0
- package/.claude/skills/skill-expert-skills/references/universality-guide.md +205 -0
- package/.claude/skills/skill-expert-skills/references/writing-style-guide.md +466 -0
- package/.claude/skills/skill-expert-skills/scripts/__pycache__/quick_validate.cpython-313.pyc +0 -0
- package/.claude/skills/skill-expert-skills/scripts/__pycache__/universal_validate.cpython-313.pyc +0 -0
- package/.claude/skills/skill-expert-skills/scripts/analyze_trigger.py +425 -0
- package/.claude/skills/skill-expert-skills/scripts/diff_with_official.py +188 -0
- package/.claude/skills/skill-expert-skills/scripts/init_skill.py +349 -0
- package/.claude/skills/skill-expert-skills/scripts/package_skill.py +156 -0
- package/.claude/skills/skill-expert-skills/scripts/quick_validate.py +493 -0
- package/.claude/skills/skill-expert-skills/scripts/requirements.txt +2 -0
- package/.claude/skills/skill-expert-skills/scripts/universal_validate.py +182 -0
- package/.claude/skills/skill-expert-skills/scripts/upgrade_skill.py +431 -0
- package/.claude/skills/subagent-driven-development/SKILL.md +268 -0
- package/.claude/skills/test-driven-development/SKILL.md +246 -0
- package/.claude/skills/test-driven-development/references/testing-anti-patterns.md +192 -0
- package/.claude/skills/using-git-worktrees/SKILL.md +266 -0
- package/.claude/skills/using-skillstack/SKILL.md +127 -0
- package/.claude/skills/vercel-deploy/SKILL.md +166 -0
- package/.claude/skills/vercel-deploy/scripts/deploy.sh +249 -0
- package/.claude/skills/verification-before-completion/SKILL.md +305 -0
- package/.claude/skills/writing-plans/SKILL.md +259 -0
- package/README.md +69 -0
- package/bin/cli.js +468 -0
- package/lib/init.js +333 -0
- package/package.json +29 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: using-skillstack
|
|
3
|
+
description: "Core skill that introduces the skillstack system. Auto-loaded at session start. Defines how to discover and use skills."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Using Skillstack
|
|
7
|
+
|
|
8
|
+
You have access to the **skillstack** skill system - a comprehensive library of proven workflows and best practices for software development.
|
|
9
|
+
|
|
10
|
+
## The Iron Law of Skills
|
|
11
|
+
|
|
12
|
+
**IF A SKILL MIGHT APPLY TO YOUR TASK, YOU MUST USE IT.**
|
|
13
|
+
|
|
14
|
+
This is not optional. This is not a suggestion. Skills contain battle-tested workflows that prevent common mistakes and ensure quality.
|
|
15
|
+
|
|
16
|
+
## How to Use Skills
|
|
17
|
+
|
|
18
|
+
### In Claude Code
|
|
19
|
+
Use the `Skill` tool or `/skill-name` command:
|
|
20
|
+
```
|
|
21
|
+
/bug-fixing
|
|
22
|
+
/code-review
|
|
23
|
+
/test-driven-development
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### In Codex
|
|
27
|
+
Run the CLI command:
|
|
28
|
+
```bash
|
|
29
|
+
skillstack-codex use-skill <skill-name>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### In Cursor
|
|
33
|
+
Run in terminal:
|
|
34
|
+
```bash
|
|
35
|
+
skillstack read <skill-name>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## The Standard Development Workflow
|
|
39
|
+
|
|
40
|
+
Follow this workflow for any significant feature:
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
1. /brainstorming → Design the feature
|
|
44
|
+
2. /using-git-worktrees → Create isolated workspace
|
|
45
|
+
3. /writing-plans → Create implementation plan
|
|
46
|
+
4. /subagent-driven-development → Execute plan with TDD
|
|
47
|
+
5. /verification-before-completion → Verify everything works
|
|
48
|
+
6. /finishing-a-development-branch → Merge/PR
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Available Skills
|
|
52
|
+
|
|
53
|
+
### Workflow Skills (Superpowers-compatible)
|
|
54
|
+
- `brainstorming` - Turn ideas into designs through dialogue
|
|
55
|
+
- `using-git-worktrees` - Create isolated development environments
|
|
56
|
+
- `writing-plans` - Create detailed implementation plans
|
|
57
|
+
- `subagent-driven-development` - Execute plans with fresh subagents
|
|
58
|
+
- `test-driven-development` - RED-GREEN-REFACTOR cycle
|
|
59
|
+
- `verification-before-completion` - Verify before declaring done
|
|
60
|
+
- `finishing-a-development-branch` - Complete and merge branches
|
|
61
|
+
|
|
62
|
+
### Core Development
|
|
63
|
+
- `bug-fixing` - Zero-regression bug fixing with root cause analysis
|
|
64
|
+
- `code-review` - Exhaustive code review with multi-skill standards
|
|
65
|
+
- `fullstack-developer` - Full-stack development with mandatory review
|
|
66
|
+
- `frontend-design` - Production-grade frontend interfaces
|
|
67
|
+
|
|
68
|
+
### Testing
|
|
69
|
+
- `test-driven-development` - Strict TDD with Iron Law
|
|
70
|
+
- `webapp-testing` - Web application testing strategies
|
|
71
|
+
- `test-architect-live` - Test architecture design
|
|
72
|
+
|
|
73
|
+
### Planning & Design
|
|
74
|
+
- `brainstorming` - Collaborative design exploration
|
|
75
|
+
- `product-requirements` - Product requirements documentation
|
|
76
|
+
- `project-development` - Project development planning
|
|
77
|
+
|
|
78
|
+
### Documentation
|
|
79
|
+
- `doc-coauthoring` - Collaborative documentation writing
|
|
80
|
+
|
|
81
|
+
### Specialized
|
|
82
|
+
- `mcp-builder` - Building MCP servers
|
|
83
|
+
- `postgresql` - PostgreSQL database patterns
|
|
84
|
+
- `p-master-fusion` - Prompt engineering
|
|
85
|
+
- `skill-creator` - Create new skills
|
|
86
|
+
|
|
87
|
+
## When to Load a Skill
|
|
88
|
+
|
|
89
|
+
| Task | Skill |
|
|
90
|
+
|------|-------|
|
|
91
|
+
| Starting a new feature | `/brainstorming` |
|
|
92
|
+
| Setting up workspace | `/using-git-worktrees` |
|
|
93
|
+
| Planning implementation | `/writing-plans` |
|
|
94
|
+
| Writing code | `/test-driven-development` |
|
|
95
|
+
| Fixing a bug | `/bug-fixing` |
|
|
96
|
+
| Reviewing code | `/code-review` |
|
|
97
|
+
| Building UI | `/frontend-design` |
|
|
98
|
+
| Finishing feature | `/verification-before-completion` |
|
|
99
|
+
|
|
100
|
+
**Even if there's only a 1% chance a skill applies, load it and check.**
|
|
101
|
+
|
|
102
|
+
## Skill Priority
|
|
103
|
+
|
|
104
|
+
Skills are loaded in priority order:
|
|
105
|
+
1. **Project skills** - `.claude/skills/` in current project
|
|
106
|
+
2. **Personal skills** - `~/.claude/skills/` or `~/.codex/skills/`
|
|
107
|
+
3. **Skillstack skills** - Built-in skillstack library
|
|
108
|
+
|
|
109
|
+
Use `skillstack:skill-name` prefix to force loading from skillstack.
|
|
110
|
+
|
|
111
|
+
## Red Flags - You're Violating the Iron Law If:
|
|
112
|
+
|
|
113
|
+
- You start coding without checking for relevant skills
|
|
114
|
+
- You think "this is simple, I don't need a skill"
|
|
115
|
+
- You rationalize skipping a skill because "it will slow me down"
|
|
116
|
+
- You assume you know better than the skill's workflow
|
|
117
|
+
- You write code before writing tests
|
|
118
|
+
|
|
119
|
+
## Remember
|
|
120
|
+
|
|
121
|
+
Skills are not suggestions. They are proven workflows that:
|
|
122
|
+
- Prevent common mistakes
|
|
123
|
+
- Ensure consistent quality
|
|
124
|
+
- Save time by avoiding rework
|
|
125
|
+
- Capture institutional knowledge
|
|
126
|
+
|
|
127
|
+
**When in doubt, load the skill.**
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: vercel-deploy
|
|
3
|
+
description: |
|
|
4
|
+
Deploy applications and websites to Vercel instantly.
|
|
5
|
+
|
|
6
|
+
Use when:
|
|
7
|
+
- "Deploy my app"
|
|
8
|
+
- "Deploy this to production"
|
|
9
|
+
- "Create a preview deployment"
|
|
10
|
+
- "Deploy and give me the link"
|
|
11
|
+
- "Push this live"
|
|
12
|
+
|
|
13
|
+
Key Features:
|
|
14
|
+
- No authentication required
|
|
15
|
+
- Auto-detects 40+ frameworks from package.json
|
|
16
|
+
- Returns preview URL and claimable deployment link
|
|
17
|
+
- Handles static HTML projects automatically
|
|
18
|
+
|
|
19
|
+
Note: This skill is designed for claude.ai environment.
|
|
20
|
+
For local CLI, use `vercel` CLI directly.
|
|
21
|
+
allowed-tools: [read, write, execute, grep, glob]
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
# Vercel Deploy
|
|
25
|
+
|
|
26
|
+
Deploy any project to Vercel instantly. No authentication required.
|
|
27
|
+
|
|
28
|
+
## How It Works
|
|
29
|
+
|
|
30
|
+
1. Packages your project into a tarball (excludes `node_modules` and `.git`)
|
|
31
|
+
2. Auto-detects framework from `package.json`
|
|
32
|
+
3. Uploads to deployment service
|
|
33
|
+
4. Returns **Preview URL** (live site) and **Claim URL** (transfer to your Vercel account)
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Usage
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
bash scripts/deploy.sh [path]
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**Arguments:**
|
|
44
|
+
- `path` - Directory to deploy, or a `.tgz` file (defaults to current directory)
|
|
45
|
+
|
|
46
|
+
**Examples:**
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# Deploy current directory
|
|
50
|
+
bash scripts/deploy.sh
|
|
51
|
+
|
|
52
|
+
# Deploy specific project
|
|
53
|
+
bash scripts/deploy.sh /path/to/project
|
|
54
|
+
|
|
55
|
+
# Deploy existing tarball
|
|
56
|
+
bash scripts/deploy.sh /path/to/project.tgz
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Output
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
Preparing deployment...
|
|
65
|
+
Detected framework: nextjs
|
|
66
|
+
Creating deployment package...
|
|
67
|
+
Deploying...
|
|
68
|
+
✓ Deployment successful!
|
|
69
|
+
|
|
70
|
+
Preview URL: https://skill-deploy-abc123.vercel.app
|
|
71
|
+
Claim URL: https://vercel.com/claim-deployment?code=...
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**JSON output for programmatic use:**
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
{
|
|
78
|
+
"previewUrl": "https://skill-deploy-abc123.vercel.app",
|
|
79
|
+
"claimUrl": "https://vercel.com/claim-deployment?code=...",
|
|
80
|
+
"deploymentId": "dpl_...",
|
|
81
|
+
"projectId": "prj_..."
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Framework Detection
|
|
88
|
+
|
|
89
|
+
The script auto-detects frameworks from `package.json`:
|
|
90
|
+
|
|
91
|
+
| Category | Frameworks |
|
|
92
|
+
|----------|------------|
|
|
93
|
+
| **React** | Next.js, Gatsby, Create React App, Remix, React Router |
|
|
94
|
+
| **Vue** | Nuxt, Vitepress, Vuepress, Gridsome |
|
|
95
|
+
| **Svelte** | SvelteKit, Svelte, Sapper |
|
|
96
|
+
| **Other Frontend** | Astro, Solid Start, Angular, Ember, Preact, Docusaurus |
|
|
97
|
+
| **Backend** | Express, Hono, Fastify, NestJS, Elysia, h3, Nitro |
|
|
98
|
+
| **Build Tools** | Vite, Parcel |
|
|
99
|
+
| **And more** | Blitz, Hydrogen, RedwoodJS, Storybook, Sanity, etc. |
|
|
100
|
+
|
|
101
|
+
For static HTML projects (no `package.json`), framework is set to `null`.
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## Static HTML Projects
|
|
106
|
+
|
|
107
|
+
For projects without a `package.json`:
|
|
108
|
+
- If there's a single `.html` file not named `index.html`, it gets renamed automatically
|
|
109
|
+
- This ensures the page is served at the root URL (`/`)
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## Present Results to User
|
|
114
|
+
|
|
115
|
+
Always show both URLs:
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
✓ Deployment successful!
|
|
119
|
+
|
|
120
|
+
Preview URL: https://skill-deploy-abc123.vercel.app
|
|
121
|
+
Claim URL: https://vercel.com/claim-deployment?code=...
|
|
122
|
+
|
|
123
|
+
View your site at the Preview URL.
|
|
124
|
+
To transfer this deployment to your Vercel account, visit the Claim URL.
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Troubleshooting
|
|
130
|
+
|
|
131
|
+
### Network Egress Error
|
|
132
|
+
|
|
133
|
+
If deployment fails due to network restrictions (common on claude.ai):
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
Deployment failed due to network restrictions. To fix this:
|
|
137
|
+
|
|
138
|
+
1. Go to https://claude.ai/admin-settings/capabilities
|
|
139
|
+
2. Add *.vercel.com to the allowed domains
|
|
140
|
+
3. Try deploying again
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Common Issues
|
|
144
|
+
|
|
145
|
+
| Issue | Solution |
|
|
146
|
+
|-------|----------|
|
|
147
|
+
| "Could not extract preview URL" | Check network connectivity |
|
|
148
|
+
| "Input must be a directory or .tgz" | Verify path exists |
|
|
149
|
+
| Framework not detected | Add package.json or specify framework |
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## Alternative: Local Vercel CLI
|
|
154
|
+
|
|
155
|
+
For local development, use the official Vercel CLI:
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
# Install
|
|
159
|
+
npm i -g vercel
|
|
160
|
+
|
|
161
|
+
# Deploy
|
|
162
|
+
vercel
|
|
163
|
+
|
|
164
|
+
# Deploy to production
|
|
165
|
+
vercel --prod
|
|
166
|
+
```
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
# Vercel Deployment Script (via claimable deploy endpoint)
|
|
4
|
+
# Usage: ./deploy.sh [project-path]
|
|
5
|
+
# Returns: JSON with previewUrl, claimUrl, deploymentId, projectId
|
|
6
|
+
|
|
7
|
+
set -e
|
|
8
|
+
|
|
9
|
+
DEPLOY_ENDPOINT="https://claude-skills-deploy.vercel.com/api/deploy"
|
|
10
|
+
|
|
11
|
+
# Detect framework from package.json
|
|
12
|
+
detect_framework() {
|
|
13
|
+
local pkg_json="$1"
|
|
14
|
+
|
|
15
|
+
if [ ! -f "$pkg_json" ]; then
|
|
16
|
+
echo "null"
|
|
17
|
+
return
|
|
18
|
+
fi
|
|
19
|
+
|
|
20
|
+
local content=$(cat "$pkg_json")
|
|
21
|
+
|
|
22
|
+
# Helper to check if a package exists in dependencies or devDependencies
|
|
23
|
+
has_dep() {
|
|
24
|
+
echo "$content" | grep -q "\"$1\""
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
# Order matters - check more specific frameworks first
|
|
28
|
+
|
|
29
|
+
# Blitz
|
|
30
|
+
if has_dep "blitz"; then echo "blitzjs"; return; fi
|
|
31
|
+
|
|
32
|
+
# Next.js
|
|
33
|
+
if has_dep "next"; then echo "nextjs"; return; fi
|
|
34
|
+
|
|
35
|
+
# Gatsby
|
|
36
|
+
if has_dep "gatsby"; then echo "gatsby"; return; fi
|
|
37
|
+
|
|
38
|
+
# Remix
|
|
39
|
+
if has_dep "@remix-run/"; then echo "remix"; return; fi
|
|
40
|
+
|
|
41
|
+
# React Router (v7 framework mode)
|
|
42
|
+
if has_dep "@react-router/"; then echo "react-router"; return; fi
|
|
43
|
+
|
|
44
|
+
# TanStack Start
|
|
45
|
+
if has_dep "@tanstack/start"; then echo "tanstack-start"; return; fi
|
|
46
|
+
|
|
47
|
+
# Astro
|
|
48
|
+
if has_dep "astro"; then echo "astro"; return; fi
|
|
49
|
+
|
|
50
|
+
# Hydrogen (Shopify)
|
|
51
|
+
if has_dep "@shopify/hydrogen"; then echo "hydrogen"; return; fi
|
|
52
|
+
|
|
53
|
+
# SvelteKit
|
|
54
|
+
if has_dep "@sveltejs/kit"; then echo "sveltekit-1"; return; fi
|
|
55
|
+
|
|
56
|
+
# Svelte (standalone)
|
|
57
|
+
if has_dep "svelte"; then echo "svelte"; return; fi
|
|
58
|
+
|
|
59
|
+
# Nuxt
|
|
60
|
+
if has_dep "nuxt"; then echo "nuxtjs"; return; fi
|
|
61
|
+
|
|
62
|
+
# Vue with Vitepress
|
|
63
|
+
if has_dep "vitepress"; then echo "vitepress"; return; fi
|
|
64
|
+
|
|
65
|
+
# Vue with Vuepress
|
|
66
|
+
if has_dep "vuepress"; then echo "vuepress"; return; fi
|
|
67
|
+
|
|
68
|
+
# Gridsome
|
|
69
|
+
if has_dep "gridsome"; then echo "gridsome"; return; fi
|
|
70
|
+
|
|
71
|
+
# SolidStart
|
|
72
|
+
if has_dep "@solidjs/start"; then echo "solidstart-1"; return; fi
|
|
73
|
+
|
|
74
|
+
# Docusaurus
|
|
75
|
+
if has_dep "@docusaurus/core"; then echo "docusaurus-2"; return; fi
|
|
76
|
+
|
|
77
|
+
# RedwoodJS
|
|
78
|
+
if has_dep "@redwoodjs/"; then echo "redwoodjs"; return; fi
|
|
79
|
+
|
|
80
|
+
# Hexo
|
|
81
|
+
if has_dep "hexo"; then echo "hexo"; return; fi
|
|
82
|
+
|
|
83
|
+
# Eleventy
|
|
84
|
+
if has_dep "@11ty/eleventy"; then echo "eleventy"; return; fi
|
|
85
|
+
|
|
86
|
+
# Angular / Ionic Angular
|
|
87
|
+
if has_dep "@ionic/angular"; then echo "ionic-angular"; return; fi
|
|
88
|
+
if has_dep "@angular/core"; then echo "angular"; return; fi
|
|
89
|
+
|
|
90
|
+
# Ionic React
|
|
91
|
+
if has_dep "@ionic/react"; then echo "ionic-react"; return; fi
|
|
92
|
+
|
|
93
|
+
# Create React App
|
|
94
|
+
if has_dep "react-scripts"; then echo "create-react-app"; return; fi
|
|
95
|
+
|
|
96
|
+
# Ember
|
|
97
|
+
if has_dep "ember-cli" || has_dep "ember-source"; then echo "ember"; return; fi
|
|
98
|
+
|
|
99
|
+
# Dojo
|
|
100
|
+
if has_dep "@dojo/framework"; then echo "dojo"; return; fi
|
|
101
|
+
|
|
102
|
+
# Polymer
|
|
103
|
+
if has_dep "@polymer/"; then echo "polymer"; return; fi
|
|
104
|
+
|
|
105
|
+
# Preact
|
|
106
|
+
if has_dep "preact"; then echo "preact"; return; fi
|
|
107
|
+
|
|
108
|
+
# Stencil
|
|
109
|
+
if has_dep "@stencil/core"; then echo "stencil"; return; fi
|
|
110
|
+
|
|
111
|
+
# UmiJS
|
|
112
|
+
if has_dep "umi"; then echo "umijs"; return; fi
|
|
113
|
+
|
|
114
|
+
# Sapper (legacy Svelte)
|
|
115
|
+
if has_dep "sapper"; then echo "sapper"; return; fi
|
|
116
|
+
|
|
117
|
+
# Saber
|
|
118
|
+
if has_dep "saber"; then echo "saber"; return; fi
|
|
119
|
+
|
|
120
|
+
# Sanity
|
|
121
|
+
if has_dep "sanity"; then echo "sanity-v3"; return; fi
|
|
122
|
+
if has_dep "@sanity/"; then echo "sanity"; return; fi
|
|
123
|
+
|
|
124
|
+
# Storybook
|
|
125
|
+
if has_dep "@storybook/"; then echo "storybook"; return; fi
|
|
126
|
+
|
|
127
|
+
# NestJS
|
|
128
|
+
if has_dep "@nestjs/core"; then echo "nestjs"; return; fi
|
|
129
|
+
|
|
130
|
+
# Elysia
|
|
131
|
+
if has_dep "elysia"; then echo "elysia"; return; fi
|
|
132
|
+
|
|
133
|
+
# Hono
|
|
134
|
+
if has_dep "hono"; then echo "hono"; return; fi
|
|
135
|
+
|
|
136
|
+
# Fastify
|
|
137
|
+
if has_dep "fastify"; then echo "fastify"; return; fi
|
|
138
|
+
|
|
139
|
+
# h3
|
|
140
|
+
if has_dep "h3"; then echo "h3"; return; fi
|
|
141
|
+
|
|
142
|
+
# Nitro
|
|
143
|
+
if has_dep "nitropack"; then echo "nitro"; return; fi
|
|
144
|
+
|
|
145
|
+
# Express
|
|
146
|
+
if has_dep "express"; then echo "express"; return; fi
|
|
147
|
+
|
|
148
|
+
# Vite (generic - check last among JS frameworks)
|
|
149
|
+
if has_dep "vite"; then echo "vite"; return; fi
|
|
150
|
+
|
|
151
|
+
# Parcel
|
|
152
|
+
if has_dep "parcel"; then echo "parcel"; return; fi
|
|
153
|
+
|
|
154
|
+
# No framework detected
|
|
155
|
+
echo "null"
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
# Parse arguments
|
|
159
|
+
INPUT_PATH="${1:-.}"
|
|
160
|
+
|
|
161
|
+
# Create temp directory for packaging
|
|
162
|
+
TEMP_DIR=$(mktemp -d)
|
|
163
|
+
TARBALL="$TEMP_DIR/project.tgz"
|
|
164
|
+
CLEANUP_TEMP=true
|
|
165
|
+
|
|
166
|
+
cleanup() {
|
|
167
|
+
if [ "$CLEANUP_TEMP" = true ]; then
|
|
168
|
+
rm -rf "$TEMP_DIR"
|
|
169
|
+
fi
|
|
170
|
+
}
|
|
171
|
+
trap cleanup EXIT
|
|
172
|
+
|
|
173
|
+
echo "Preparing deployment..." >&2
|
|
174
|
+
|
|
175
|
+
# Check if input is a .tgz file or a directory
|
|
176
|
+
FRAMEWORK="null"
|
|
177
|
+
|
|
178
|
+
if [ -f "$INPUT_PATH" ] && [[ "$INPUT_PATH" == *.tgz ]]; then
|
|
179
|
+
# Input is already a tarball, use it directly
|
|
180
|
+
echo "Using provided tarball..." >&2
|
|
181
|
+
TARBALL="$INPUT_PATH"
|
|
182
|
+
CLEANUP_TEMP=false
|
|
183
|
+
# Can't detect framework from tarball, leave as null
|
|
184
|
+
elif [ -d "$INPUT_PATH" ]; then
|
|
185
|
+
# Input is a directory, need to tar it
|
|
186
|
+
PROJECT_PATH=$(cd "$INPUT_PATH" && pwd)
|
|
187
|
+
|
|
188
|
+
# Detect framework from package.json
|
|
189
|
+
FRAMEWORK=$(detect_framework "$PROJECT_PATH/package.json")
|
|
190
|
+
|
|
191
|
+
# Check if this is a static HTML project (no package.json)
|
|
192
|
+
if [ ! -f "$PROJECT_PATH/package.json" ]; then
|
|
193
|
+
# Find HTML files in root
|
|
194
|
+
HTML_FILES=$(find "$PROJECT_PATH" -maxdepth 1 -name "*.html" -type f)
|
|
195
|
+
HTML_COUNT=$(echo "$HTML_FILES" | grep -c . || echo 0)
|
|
196
|
+
|
|
197
|
+
# If there's exactly one HTML file and it's not index.html, rename it
|
|
198
|
+
if [ "$HTML_COUNT" -eq 1 ]; then
|
|
199
|
+
HTML_FILE=$(echo "$HTML_FILES" | head -1)
|
|
200
|
+
BASENAME=$(basename "$HTML_FILE")
|
|
201
|
+
if [ "$BASENAME" != "index.html" ]; then
|
|
202
|
+
echo "Renaming $BASENAME to index.html..." >&2
|
|
203
|
+
mv "$HTML_FILE" "$PROJECT_PATH/index.html"
|
|
204
|
+
fi
|
|
205
|
+
fi
|
|
206
|
+
fi
|
|
207
|
+
|
|
208
|
+
# Create tarball of the project (excluding node_modules and .git)
|
|
209
|
+
echo "Creating deployment package..." >&2
|
|
210
|
+
tar -czf "$TARBALL" -C "$PROJECT_PATH" --exclude='node_modules' --exclude='.git' .
|
|
211
|
+
else
|
|
212
|
+
echo "Error: Input must be a directory or a .tgz file" >&2
|
|
213
|
+
exit 1
|
|
214
|
+
fi
|
|
215
|
+
|
|
216
|
+
if [ "$FRAMEWORK" != "null" ]; then
|
|
217
|
+
echo "Detected framework: $FRAMEWORK" >&2
|
|
218
|
+
fi
|
|
219
|
+
|
|
220
|
+
# Deploy
|
|
221
|
+
echo "Deploying..." >&2
|
|
222
|
+
RESPONSE=$(curl -s -X POST "$DEPLOY_ENDPOINT" -F "file=@$TARBALL" -F "framework=$FRAMEWORK")
|
|
223
|
+
|
|
224
|
+
# Check for error in response
|
|
225
|
+
if echo "$RESPONSE" | grep -q '"error"'; then
|
|
226
|
+
ERROR_MSG=$(echo "$RESPONSE" | grep -o '"error":"[^"]*"' | cut -d'"' -f4)
|
|
227
|
+
echo "Error: $ERROR_MSG" >&2
|
|
228
|
+
exit 1
|
|
229
|
+
fi
|
|
230
|
+
|
|
231
|
+
# Extract URLs from response
|
|
232
|
+
PREVIEW_URL=$(echo "$RESPONSE" | grep -o '"previewUrl":"[^"]*"' | cut -d'"' -f4)
|
|
233
|
+
CLAIM_URL=$(echo "$RESPONSE" | grep -o '"claimUrl":"[^"]*"' | cut -d'"' -f4)
|
|
234
|
+
|
|
235
|
+
if [ -z "$PREVIEW_URL" ]; then
|
|
236
|
+
echo "Error: Could not extract preview URL from response" >&2
|
|
237
|
+
echo "$RESPONSE" >&2
|
|
238
|
+
exit 1
|
|
239
|
+
fi
|
|
240
|
+
|
|
241
|
+
echo "" >&2
|
|
242
|
+
echo "Deployment successful!" >&2
|
|
243
|
+
echo "" >&2
|
|
244
|
+
echo "Preview URL: $PREVIEW_URL" >&2
|
|
245
|
+
echo "Claim URL: $CLAIM_URL" >&2
|
|
246
|
+
echo "" >&2
|
|
247
|
+
|
|
248
|
+
# Output JSON for programmatic use
|
|
249
|
+
echo "$RESPONSE"
|