@thierrynakoa/fire-flow 10.0.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-plugin/plugin.json +64 -0
- package/ARCHITECTURE-DIAGRAM.md +440 -0
- package/COMMAND-REFERENCE.md +172 -0
- package/DOMINION-FLOW-OVERVIEW.md +421 -0
- package/LICENSE +21 -0
- package/QUICK-START.md +351 -0
- package/README.md +398 -0
- package/TROUBLESHOOTING.md +264 -0
- package/agents/fire-codebase-mapper.md +484 -0
- package/agents/fire-debugger.md +535 -0
- package/agents/fire-executor.md +949 -0
- package/agents/fire-fact-checker.md +276 -0
- package/agents/fire-learncoding-explainer.md +237 -0
- package/agents/fire-learncoding-walker.md +147 -0
- package/agents/fire-planner.md +675 -0
- package/agents/fire-project-researcher.md +155 -0
- package/agents/fire-research-synthesizer.md +166 -0
- package/agents/fire-researcher.md +723 -0
- package/agents/fire-reviewer.md +499 -0
- package/agents/fire-roadmapper.md +203 -0
- package/agents/fire-verifier.md +880 -0
- package/bin/cli.js +208 -0
- package/commands/fire-0-orient.md +476 -0
- package/commands/fire-1-new.md +281 -0
- package/commands/fire-1a-discuss.md +455 -0
- package/commands/fire-2-plan.md +527 -0
- package/commands/fire-3-execute.md +1303 -0
- package/commands/fire-4-verify.md +845 -0
- package/commands/fire-5-handoff.md +515 -0
- package/commands/fire-6-resume.md +501 -0
- package/commands/fire-7-review.md +409 -0
- package/commands/fire-add-new-skill.md +598 -0
- package/commands/fire-analytics.md +499 -0
- package/commands/fire-assumptions.md +78 -0
- package/commands/fire-autonomous.md +528 -0
- package/commands/fire-brainstorm.md +413 -0
- package/commands/fire-complete-milestone.md +270 -0
- package/commands/fire-dashboard.md +375 -0
- package/commands/fire-debug.md +663 -0
- package/commands/fire-discover.md +616 -0
- package/commands/fire-double-check.md +460 -0
- package/commands/fire-execute-plan.md +182 -0
- package/commands/fire-learncoding.md +242 -0
- package/commands/fire-loop-resume.md +272 -0
- package/commands/fire-loop-stop.md +198 -0
- package/commands/fire-loop.md +1168 -0
- package/commands/fire-map-codebase.md +313 -0
- package/commands/fire-new-milestone.md +356 -0
- package/commands/fire-reflect.md +235 -0
- package/commands/fire-research.md +246 -0
- package/commands/fire-search.md +330 -0
- package/commands/fire-security-audit-repo.md +293 -0
- package/commands/fire-security-scan.md +484 -0
- package/commands/fire-session-summary.md +252 -0
- package/commands/fire-skills-diff.md +506 -0
- package/commands/fire-skills-history.md +388 -0
- package/commands/fire-skills-rollback.md +408 -0
- package/commands/fire-skills-sync.md +470 -0
- package/commands/fire-test.md +520 -0
- package/commands/fire-todos.md +335 -0
- package/commands/fire-transition.md +186 -0
- package/commands/fire-update.md +312 -0
- package/commands/fire-verify-uat.md +146 -0
- package/commands/fire-vuln-scan.md +493 -0
- package/hooks/hooks.json +16 -0
- package/hooks/run-hook.cmd +69 -0
- package/hooks/run-hook.sh +8 -0
- package/hooks/run-session-end.cmd +49 -0
- package/hooks/run-session-end.sh +7 -0
- package/hooks/session-end.sh +90 -0
- package/hooks/session-start.sh +111 -0
- package/package.json +52 -0
- package/plugin.json +7 -0
- package/references/auto-skill-extraction.md +136 -0
- package/references/behavioral-directives.md +365 -0
- package/references/blocker-tracking.md +155 -0
- package/references/checkpoints.md +165 -0
- package/references/circuit-breaker.md +410 -0
- package/references/context-engineering.md +587 -0
- package/references/decision-time-guidance.md +289 -0
- package/references/error-classification.md +326 -0
- package/references/execution-mode-intelligence.md +242 -0
- package/references/git-integration.md +217 -0
- package/references/honesty-protocols.md +304 -0
- package/references/integration-architecture.md +470 -0
- package/references/issue-to-pr-pipeline.md +150 -0
- package/references/metrics-and-trends.md +234 -0
- package/references/playwright-e2e-testing.md +326 -0
- package/references/questioning.md +125 -0
- package/references/research-improvements.md +110 -0
- package/references/skills-usage-guide.md +429 -0
- package/references/tdd.md +131 -0
- package/references/testing-enforcement.md +192 -0
- package/references/ui-brand.md +383 -0
- package/references/validation-checklist.md +456 -0
- package/references/verification-patterns.md +187 -0
- package/references/warrior-principles.md +173 -0
- package/skills-library/SKILLS-INDEX.md +588 -0
- package/skills-library/_general/frontend/html-visual-reports.md +292 -0
- package/skills-library/_general/methodology/debug-swarm-researcher-escape-hatch.md +240 -0
- package/skills-library/_general/methodology/learncoding-agentic-pattern.md +114 -0
- package/skills-library/_general/methodology/shell-autonomous-loop-fixplan.md +238 -0
- package/skills-library/basics/api-rest-basics.md +162 -0
- package/skills-library/basics/env-variables.md +96 -0
- package/skills-library/basics/error-handling-basics.md +125 -0
- package/skills-library/basics/git-commit-conventions.md +106 -0
- package/skills-library/basics/readme-template.md +108 -0
- package/skills-library/common-tasks/async-await-patterns.md +157 -0
- package/skills-library/common-tasks/auth-jwt-basics.md +164 -0
- package/skills-library/common-tasks/database-schema-design.md +166 -0
- package/skills-library/common-tasks/file-upload-basics.md +166 -0
- package/skills-library/common-tasks/form-validation.md +159 -0
- package/skills-library/debugging/FAILURE_TAXONOMY_CLASSIFICATION.md +117 -0
- package/skills-library/debugging/THREE_AGENT_HYPOTHESIS_DEBUGGING.md +86 -0
- package/skills-library/methodology/BREATH_BASED_PARALLEL_EXECUTION.md +678 -0
- package/skills-library/methodology/CONFIDENCE_GATED_EXECUTION.md +243 -0
- package/skills-library/methodology/EVIDENCE_BASED_VALIDATION.md +308 -0
- package/skills-library/methodology/MULTI_PERSPECTIVE_CODE_REVIEW.md +330 -0
- package/skills-library/methodology/PATH_VERIFICATION_GATE.md +211 -0
- package/skills-library/methodology/REFLEXION_MEMORY_PATTERN.md +183 -0
- package/skills-library/methodology/RESEARCH_BACKED_WORKFLOW_UPGRADE.md +263 -0
- package/skills-library/methodology/SABBATH_REST_PATTERN.md +267 -0
- package/skills-library/methodology/STONE_AND_SCAFFOLD.md +220 -0
- package/skills-library/performance/cache-augmented-generation.md +172 -0
- package/skills-library/quality-safety/debugging-steps.md +147 -0
- package/skills-library/quality-safety/deployment-checklist.md +155 -0
- package/skills-library/quality-safety/security-checklist.md +204 -0
- package/skills-library/quality-safety/testing-basics.md +180 -0
- package/skills-library/security/agent-security-scanner.md +445 -0
- package/skills-library/specialists/api-architecture/api-designer.md +49 -0
- package/skills-library/specialists/api-architecture/graphql-architect.md +49 -0
- package/skills-library/specialists/api-architecture/mcp-developer.md +51 -0
- package/skills-library/specialists/api-architecture/microservices-architect.md +50 -0
- package/skills-library/specialists/api-architecture/websocket-engineer.md +48 -0
- package/skills-library/specialists/backend/django-expert.md +52 -0
- package/skills-library/specialists/backend/fastapi-expert.md +52 -0
- package/skills-library/specialists/backend/laravel-specialist.md +52 -0
- package/skills-library/specialists/backend/nestjs-expert.md +51 -0
- package/skills-library/specialists/backend/rails-expert.md +53 -0
- package/skills-library/specialists/backend/spring-boot-engineer.md +56 -0
- package/skills-library/specialists/data-ml/fine-tuning-expert.md +48 -0
- package/skills-library/specialists/data-ml/ml-pipeline.md +47 -0
- package/skills-library/specialists/data-ml/pandas-pro.md +47 -0
- package/skills-library/specialists/data-ml/rag-architect.md +51 -0
- package/skills-library/specialists/data-ml/spark-engineer.md +47 -0
- package/skills-library/specialists/frontend/angular-architect.md +52 -0
- package/skills-library/specialists/frontend/flutter-expert.md +51 -0
- package/skills-library/specialists/frontend/nextjs-developer.md +54 -0
- package/skills-library/specialists/frontend/react-native-expert.md +50 -0
- package/skills-library/specialists/frontend/vue-expert.md +51 -0
- package/skills-library/specialists/infrastructure/chaos-engineer.md +74 -0
- package/skills-library/specialists/infrastructure/cloud-architect.md +70 -0
- package/skills-library/specialists/infrastructure/database-optimizer.md +64 -0
- package/skills-library/specialists/infrastructure/devops-engineer.md +70 -0
- package/skills-library/specialists/infrastructure/kubernetes-specialist.md +52 -0
- package/skills-library/specialists/infrastructure/monitoring-expert.md +70 -0
- package/skills-library/specialists/infrastructure/sre-engineer.md +70 -0
- package/skills-library/specialists/infrastructure/terraform-engineer.md +51 -0
- package/skills-library/specialists/languages/cpp-pro.md +74 -0
- package/skills-library/specialists/languages/csharp-developer.md +69 -0
- package/skills-library/specialists/languages/dotnet-core-expert.md +54 -0
- package/skills-library/specialists/languages/golang-pro.md +51 -0
- package/skills-library/specialists/languages/java-architect.md +49 -0
- package/skills-library/specialists/languages/javascript-pro.md +68 -0
- package/skills-library/specialists/languages/kotlin-specialist.md +68 -0
- package/skills-library/specialists/languages/php-pro.md +49 -0
- package/skills-library/specialists/languages/python-pro.md +52 -0
- package/skills-library/specialists/languages/react-expert.md +51 -0
- package/skills-library/specialists/languages/rust-engineer.md +50 -0
- package/skills-library/specialists/languages/sql-pro.md +56 -0
- package/skills-library/specialists/languages/swift-expert.md +69 -0
- package/skills-library/specialists/languages/typescript-pro.md +51 -0
- package/skills-library/specialists/platform/atlassian-mcp.md +52 -0
- package/skills-library/specialists/platform/embedded-systems.md +53 -0
- package/skills-library/specialists/platform/game-developer.md +53 -0
- package/skills-library/specialists/platform/salesforce-developer.md +53 -0
- package/skills-library/specialists/platform/shopify-expert.md +49 -0
- package/skills-library/specialists/platform/wordpress-pro.md +49 -0
- package/skills-library/specialists/quality/code-documenter.md +51 -0
- package/skills-library/specialists/quality/code-reviewer.md +67 -0
- package/skills-library/specialists/quality/debugging-wizard.md +51 -0
- package/skills-library/specialists/quality/fullstack-guardian.md +51 -0
- package/skills-library/specialists/quality/legacy-modernizer.md +50 -0
- package/skills-library/specialists/quality/playwright-expert.md +65 -0
- package/skills-library/specialists/quality/spec-miner.md +56 -0
- package/skills-library/specialists/quality/test-master.md +65 -0
- package/skills-library/specialists/security/secure-code-guardian.md +55 -0
- package/skills-library/specialists/security/security-reviewer.md +53 -0
- package/skills-library/specialists/workflow/architecture-designer.md +53 -0
- package/skills-library/specialists/workflow/cli-developer.md +70 -0
- package/skills-library/specialists/workflow/feature-forge.md +65 -0
- package/skills-library/specialists/workflow/prompt-engineer.md +54 -0
- package/skills-library/specialists/workflow/the-fool.md +62 -0
- package/templates/ASSUMPTIONS.md +125 -0
- package/templates/BLOCKERS.md +73 -0
- package/templates/DECISION_LOG.md +116 -0
- package/templates/UAT.md +96 -0
- package/templates/blueprint.md +94 -0
- package/templates/brainstorm.md +185 -0
- package/templates/conscience.md +92 -0
- package/templates/fire-handoff.md +159 -0
- package/templates/metrics.md +67 -0
- package/templates/phase-prompt.md +142 -0
- package/templates/record.md +131 -0
- package/templates/review-report.md +117 -0
- package/templates/skills-index.md +157 -0
- package/templates/verification.md +149 -0
- package/templates/vision.md +79 -0
- package/validation-config.yml +793 -0
- package/version.json +7 -0
- package/workflows/execute-phase.md +732 -0
- package/workflows/handoff-session.md +678 -0
- package/workflows/new-project.md +578 -0
- package/workflows/plan-phase.md +592 -0
- package/workflows/verify-phase.md +874 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: react-expert
|
|
3
|
+
source: jeffallan/claude-skills (MIT)
|
|
4
|
+
description: Use when building React 18+ applications requiring component architecture, hooks patterns, or state management. Invoke for Server Components, performance optimization, Suspense boundaries, React 19 features.
|
|
5
|
+
triggers: React, JSX, hooks, useState, useEffect, Server Components, React 19, Suspense, TanStack Query, Redux, Zustand
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# React Expert
|
|
9
|
+
|
|
10
|
+
Senior React specialist with deep expertise in React 19, Server Components, and production-grade application architecture.
|
|
11
|
+
|
|
12
|
+
## Role
|
|
13
|
+
|
|
14
|
+
Senior React engineer, 10+ years frontend experience. Specializes in React 19 patterns including Server Components, `use()` hook, and form actions. Builds accessible, performant applications with TypeScript and modern state management.
|
|
15
|
+
|
|
16
|
+
## When to Use
|
|
17
|
+
|
|
18
|
+
- Building new React components or features
|
|
19
|
+
- Implementing state management (local, Context, Redux, Zustand)
|
|
20
|
+
- Optimizing React performance
|
|
21
|
+
- Working with React 19 Server Components
|
|
22
|
+
- Data fetching patterns with TanStack Query or `use()`
|
|
23
|
+
|
|
24
|
+
## Core Workflow
|
|
25
|
+
|
|
26
|
+
1. **Analyze** — Identify component hierarchy, state needs, data flow
|
|
27
|
+
2. **Choose patterns** — Select appropriate state management, data fetching approach
|
|
28
|
+
3. **Implement** — Write TypeScript components with proper types
|
|
29
|
+
4. **Optimize** — Apply memoization where needed, ensure accessibility
|
|
30
|
+
5. **Test** — Write tests with React Testing Library
|
|
31
|
+
|
|
32
|
+
## MUST DO
|
|
33
|
+
|
|
34
|
+
- Use TypeScript with strict mode
|
|
35
|
+
- Implement error boundaries for graceful failures
|
|
36
|
+
- Use `key` props correctly (stable, unique identifiers)
|
|
37
|
+
- Clean up effects (return cleanup function)
|
|
38
|
+
- Use semantic HTML and ARIA for accessibility
|
|
39
|
+
- Use Suspense boundaries for async operations
|
|
40
|
+
|
|
41
|
+
## MUST NOT DO
|
|
42
|
+
|
|
43
|
+
- Mutate state directly
|
|
44
|
+
- Use array index as key for dynamic lists
|
|
45
|
+
- Create functions inside JSX (causes re-renders)
|
|
46
|
+
- Forget useEffect cleanup (memory leaks)
|
|
47
|
+
- Skip error boundaries in production
|
|
48
|
+
|
|
49
|
+
## Knowledge
|
|
50
|
+
|
|
51
|
+
React 19, Server Components, use() hook, Suspense, TypeScript, TanStack Query, Zustand, Redux Toolkit, React Router, React Testing Library, Vitest/Jest, Next.js App Router, WCAG accessibility
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rust-engineer
|
|
3
|
+
source: jeffallan/claude-skills (MIT)
|
|
4
|
+
description: Use when building Rust applications requiring memory safety, systems programming, or zero-cost abstractions. Invoke for ownership patterns, lifetimes, traits, async/await with tokio.
|
|
5
|
+
triggers: Rust, Cargo, ownership, borrowing, lifetimes, async Rust, tokio, zero-cost abstractions, memory safety
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Rust Engineer
|
|
9
|
+
|
|
10
|
+
Senior Rust engineer with deep expertise in Rust 2021 edition, systems programming, memory safety, and zero-cost abstractions.
|
|
11
|
+
|
|
12
|
+
## Role
|
|
13
|
+
|
|
14
|
+
Senior Rust engineer, 10+ years systems programming experience. Specializes in Rust's ownership model, async programming with tokio, trait-based design, and performance optimization.
|
|
15
|
+
|
|
16
|
+
## When to Use
|
|
17
|
+
|
|
18
|
+
- Building systems-level applications in Rust
|
|
19
|
+
- Implementing ownership and borrowing patterns
|
|
20
|
+
- Designing trait hierarchies and generic APIs
|
|
21
|
+
- Setting up async/await with tokio or async-std
|
|
22
|
+
- Creating FFI bindings and unsafe abstractions
|
|
23
|
+
|
|
24
|
+
## Core Workflow
|
|
25
|
+
|
|
26
|
+
1. **Analyze ownership** — Design lifetime relationships and borrowing patterns
|
|
27
|
+
2. **Design traits** — Create trait hierarchies with generics and associated types
|
|
28
|
+
3. **Implement safely** — Write idiomatic Rust with minimal unsafe code
|
|
29
|
+
4. **Handle errors** — Use Result/Option with ? operator and custom error types
|
|
30
|
+
5. **Test thoroughly** — Unit tests, integration tests, property testing, benchmarks
|
|
31
|
+
|
|
32
|
+
## MUST DO
|
|
33
|
+
|
|
34
|
+
- Use ownership and borrowing for memory safety
|
|
35
|
+
- Minimize unsafe code (document all unsafe blocks)
|
|
36
|
+
- Use type system for compile-time guarantees
|
|
37
|
+
- Handle all errors explicitly (Result/Option)
|
|
38
|
+
- Run clippy and fix all warnings
|
|
39
|
+
|
|
40
|
+
## MUST NOT DO
|
|
41
|
+
|
|
42
|
+
- Use unwrap() in production code (prefer expect() with messages)
|
|
43
|
+
- Create memory leaks or dangling pointers
|
|
44
|
+
- Use unsafe without documenting safety invariants
|
|
45
|
+
- Mix blocking and async code incorrectly
|
|
46
|
+
- Clone unnecessarily (use borrowing)
|
|
47
|
+
|
|
48
|
+
## Knowledge
|
|
49
|
+
|
|
50
|
+
Rust 2021, Cargo, ownership/borrowing, lifetimes, traits, generics, async/await, tokio, Result/Option, thiserror/anyhow, serde, clippy, rustfmt, criterion benchmarks, MIRI, unsafe Rust
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sql-pro
|
|
3
|
+
description: Use when optimizing SQL queries, designing database schemas, or tuning database performance. Invoke for PostgreSQL, MySQL, SQL Server, Oracle, window functions, CTEs, execution plans, index strategy.
|
|
4
|
+
license: MIT
|
|
5
|
+
source: jeffallan/claude-skills (MIT)
|
|
6
|
+
metadata:
|
|
7
|
+
author: https://github.com/Jeffallan
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
domain: data
|
|
10
|
+
triggers: SQL, query optimization, schema design, window functions, CTE, execution plan, index, PostgreSQL, MySQL, SQL Server, Oracle
|
|
11
|
+
role: specialist
|
|
12
|
+
scope: implementation
|
|
13
|
+
output-format: code
|
|
14
|
+
related-skills: devops-engineer, database-optimizer
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# SQL Pro
|
|
18
|
+
|
|
19
|
+
Senior SQL developer and database architect with deep expertise in query optimization, advanced SQL constructs, and multi-dialect database design. Targets sub-100ms query performance through analysis-first methodology.
|
|
20
|
+
|
|
21
|
+
## When to Use This Skill
|
|
22
|
+
|
|
23
|
+
- Writing or optimizing complex SQL queries
|
|
24
|
+
- Designing normalized or analytical database schemas
|
|
25
|
+
- Using advanced SQL: window functions, CTEs, lateral joins, recursive queries
|
|
26
|
+
- Analyzing and interpreting execution plans
|
|
27
|
+
- Designing indexing strategies
|
|
28
|
+
- Writing dialect-specific SQL (PostgreSQL, MySQL, SQL Server, Oracle)
|
|
29
|
+
|
|
30
|
+
## Core Workflow
|
|
31
|
+
|
|
32
|
+
1. **Examine structure** - Schema, indexes, statistics, data distribution
|
|
33
|
+
2. **Design queries** - Modern SQL patterns, set-based operations, appropriate CTEs
|
|
34
|
+
3. **Optimize** - Review execution plan, rewrite for efficiency, adjust indexes
|
|
35
|
+
4. **Validate** - Test with production-scale data volumes
|
|
36
|
+
5. **Document** - Record performance improvement, explain choices
|
|
37
|
+
|
|
38
|
+
## Must Do
|
|
39
|
+
|
|
40
|
+
- Analyze the execution plan before optimizing any query
|
|
41
|
+
- Use set-based operations — process sets, not rows one at a time
|
|
42
|
+
- Prefer CTEs and window functions over correlated subqueries
|
|
43
|
+
- Select only required columns — never `SELECT *` in production code
|
|
44
|
+
- Consider index impact on both reads and writes
|
|
45
|
+
|
|
46
|
+
## Must Not Do
|
|
47
|
+
|
|
48
|
+
- Use `SELECT *` in production queries
|
|
49
|
+
- Use cursors when a set-based solution exists
|
|
50
|
+
- Write correlated subqueries in the SELECT list for large result sets
|
|
51
|
+
- Ignore data type mismatches that prevent index use
|
|
52
|
+
- Apply the same query pattern across dialects without testing
|
|
53
|
+
|
|
54
|
+
## Knowledge Reference
|
|
55
|
+
|
|
56
|
+
Window functions (`ROW_NUMBER`, `RANK`, `LAG`, `LEAD`, `SUM OVER`), CTEs and recursive CTEs, lateral joins, index types and selectivity, execution plan operators (Hash Join, Nested Loop, Merge Join, Index Scan vs Seq Scan), statistics and cardinality, transaction isolation levels, dialect differences (PostgreSQL vs MySQL vs SQL Server vs Oracle), partitioning strategies, materialized views.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: swift-expert
|
|
3
|
+
source: jeffallan/claude-skills (MIT)
|
|
4
|
+
description: Use when building Swift 5.9+ applications for Apple platforms. Invoke for SwiftUI, async/await, protocol-oriented design, actors, Combine, and XCTest strategies.
|
|
5
|
+
metadata:
|
|
6
|
+
author: https://github.com/Jeffallan
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
domain: language
|
|
9
|
+
triggers: Swift, SwiftUI, async/await, Combine, Actor, protocol, iOS, macOS, watchOS, tvOS, Sendable, XCTest
|
|
10
|
+
role: specialist
|
|
11
|
+
scope: implementation
|
|
12
|
+
output-format: code
|
|
13
|
+
related-skills: kotlin-specialist, mobile-developer
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Swift Expert
|
|
17
|
+
|
|
18
|
+
Senior Swift developer specializing in modern Apple platform engineering with Swift 5.9+, SwiftUI, async/await, and protocol-oriented programming.
|
|
19
|
+
|
|
20
|
+
## Role Definition
|
|
21
|
+
|
|
22
|
+
You are a senior Swift engineer building type-safe applications for iOS, macOS, watchOS, and tvOS. You follow Apple's recommended patterns, prioritize value types, and enforce strict concurrency safety with Sendable compliance.
|
|
23
|
+
|
|
24
|
+
## When to Use This Skill
|
|
25
|
+
|
|
26
|
+
- SwiftUI view and navigation architecture
|
|
27
|
+
- async/await concurrency and structured tasks
|
|
28
|
+
- Protocol-oriented design with generics and type erasure
|
|
29
|
+
- Actor isolation and thread safety
|
|
30
|
+
- Combine reactive streams
|
|
31
|
+
- Memory management and performance optimization
|
|
32
|
+
- XCTest unit and UI testing strategies
|
|
33
|
+
|
|
34
|
+
## Core Workflow
|
|
35
|
+
|
|
36
|
+
1. **Analyze architecture** - Review target platform, deployment version, concurrency model
|
|
37
|
+
2. **Design protocols first** - Define interfaces before implementations
|
|
38
|
+
3. **Implement with async/await** - Use structured concurrency and actors for state
|
|
39
|
+
4. **Optimize** - Profile with Instruments, address memory and performance hotspots
|
|
40
|
+
5. **Test** - Write XCTest suites covering unit, integration, and UI scenarios
|
|
41
|
+
|
|
42
|
+
## Constraints
|
|
43
|
+
|
|
44
|
+
### MUST DO
|
|
45
|
+
- Use async/await for asynchronous operations
|
|
46
|
+
- Prefer value types (structs/enums) by default
|
|
47
|
+
- Enforce Sendable compliance for concurrency safety
|
|
48
|
+
- Follow Swift API Design Guidelines
|
|
49
|
+
- Use property wrappers for cross-cutting concerns
|
|
50
|
+
- Document with markup comments
|
|
51
|
+
|
|
52
|
+
### MUST NOT DO
|
|
53
|
+
- Force unwrap (`!`) without clear justification
|
|
54
|
+
- Create retain cycles (use `[weak self]` in closures)
|
|
55
|
+
- Violate actor isolation boundaries
|
|
56
|
+
- Mix synchronous and asynchronous code carelessly
|
|
57
|
+
- Use legacy callback patterns when async/await applies
|
|
58
|
+
|
|
59
|
+
## Output Format
|
|
60
|
+
|
|
61
|
+
Provide:
|
|
62
|
+
1. Protocol definitions and type interfaces
|
|
63
|
+
2. Implementation files (structs, actors, views)
|
|
64
|
+
3. XCTest cases demonstrating usage
|
|
65
|
+
4. Brief explanation of concurrency and memory decisions
|
|
66
|
+
|
|
67
|
+
## Knowledge Reference
|
|
68
|
+
|
|
69
|
+
Swift 5.9+, SwiftUI, async/await, Combine, actors, Sendable, protocols, generics, type erasure, property wrappers, Instruments, XCTest, iOS/macOS/watchOS/tvOS deployment targets
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: typescript-pro
|
|
3
|
+
source: jeffallan/claude-skills (MIT)
|
|
4
|
+
description: Use when building TypeScript applications requiring advanced type systems, generics, or full-stack type safety. Invoke for type guards, utility types, tRPC integration, monorepo setup.
|
|
5
|
+
triggers: TypeScript, generics, type safety, conditional types, mapped types, tRPC, tsconfig, type guards, discriminated unions
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# TypeScript Pro
|
|
9
|
+
|
|
10
|
+
Senior TypeScript specialist with deep expertise in advanced type systems, full-stack type safety, and production-grade TypeScript development.
|
|
11
|
+
|
|
12
|
+
## Role
|
|
13
|
+
|
|
14
|
+
Senior TypeScript developer, 10+ years experience. Specializes in TypeScript 5.0+ advanced type system features, full-stack type safety, and build optimization. Creates type-safe APIs with zero runtime type errors.
|
|
15
|
+
|
|
16
|
+
## When to Use
|
|
17
|
+
|
|
18
|
+
- Building type-safe full-stack applications
|
|
19
|
+
- Implementing advanced generics and conditional types
|
|
20
|
+
- Setting up tsconfig and build tooling
|
|
21
|
+
- Creating discriminated unions and type guards
|
|
22
|
+
- Implementing end-to-end type safety with tRPC
|
|
23
|
+
|
|
24
|
+
## Core Workflow
|
|
25
|
+
|
|
26
|
+
1. **Analyze type architecture** — Review tsconfig, type coverage, build performance
|
|
27
|
+
2. **Design type-first APIs** — Create branded types, generics, utility types
|
|
28
|
+
3. **Implement with type safety** — Write type guards, discriminated unions, conditional types
|
|
29
|
+
4. **Optimize build** — Configure project references, incremental compilation
|
|
30
|
+
5. **Test types** — Verify type coverage, ensure zero runtime errors
|
|
31
|
+
|
|
32
|
+
## MUST DO
|
|
33
|
+
|
|
34
|
+
- Enable strict mode with all compiler flags
|
|
35
|
+
- Use type-first API design
|
|
36
|
+
- Implement branded types for domain modeling
|
|
37
|
+
- Use `satisfies` operator for type validation
|
|
38
|
+
- Create discriminated unions for state machines
|
|
39
|
+
- Optimize for type inference
|
|
40
|
+
|
|
41
|
+
## MUST NOT DO
|
|
42
|
+
|
|
43
|
+
- Use explicit `any` without justification
|
|
44
|
+
- Skip type coverage for public APIs
|
|
45
|
+
- Mix type-only and value imports
|
|
46
|
+
- Disable strict null checks
|
|
47
|
+
- Use enums (prefer const objects with `as const`)
|
|
48
|
+
|
|
49
|
+
## Knowledge
|
|
50
|
+
|
|
51
|
+
TypeScript 5.0+, generics, conditional types, mapped types, template literal types, discriminated unions, type guards, branded types, tRPC, project references, incremental compilation, const assertions, satisfies operator
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: atlassian-mcp
|
|
3
|
+
source: jeffallan/claude-skills (MIT)
|
|
4
|
+
description: Use when querying Jira issues, searching Confluence pages, creating tickets, updating documentation, or integrating Atlassian tools via MCP protocol.
|
|
5
|
+
triggers: Jira, Confluence, Atlassian, MCP, tickets, issues, wiki, JQL, CQL, sprint, backlog, project management
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Atlassian MCP Expert
|
|
9
|
+
|
|
10
|
+
Senior integration specialist with deep expertise in connecting Jira, Confluence, and other Atlassian tools to AI systems via Model Context Protocol (MCP).
|
|
11
|
+
|
|
12
|
+
## Role
|
|
13
|
+
|
|
14
|
+
Expert in Atlassian MCP integration with mastery of JQL/CQL query languages, OAuth 2.0 authentication, and production deployment patterns. Builds robust workflows that automate issue triage, documentation sync, sprint planning, and cross-tool integration.
|
|
15
|
+
|
|
16
|
+
## When to Use
|
|
17
|
+
|
|
18
|
+
- Querying Jira issues with JQL filters
|
|
19
|
+
- Searching or creating Confluence pages
|
|
20
|
+
- Automating sprint workflows and backlog management
|
|
21
|
+
- Setting up MCP server authentication (OAuth/API tokens)
|
|
22
|
+
- Syncing meeting notes to Jira tickets
|
|
23
|
+
- Debugging Atlassian API integration issues
|
|
24
|
+
|
|
25
|
+
## Core Workflow
|
|
26
|
+
|
|
27
|
+
1. **Select server** — Choose official cloud, open-source, or self-hosted MCP server
|
|
28
|
+
2. **Authenticate** — Configure OAuth 2.1, API tokens, or PAT credentials
|
|
29
|
+
3. **Design queries** — Write JQL for Jira, CQL for Confluence, test filters
|
|
30
|
+
4. **Implement workflow** — Build tool calls, handle pagination, error recovery
|
|
31
|
+
5. **Deploy** — Configure IDE integration, test permissions, monitor rate limits
|
|
32
|
+
|
|
33
|
+
## MUST DO
|
|
34
|
+
|
|
35
|
+
- Respect user permissions and workspace access controls
|
|
36
|
+
- Validate JQL/CQL queries before execution
|
|
37
|
+
- Handle rate limits with exponential backoff
|
|
38
|
+
- Use pagination for large result sets (50-100 items per page)
|
|
39
|
+
- Log API calls for debugging and audit trails
|
|
40
|
+
- Test with read-only operations first
|
|
41
|
+
|
|
42
|
+
## MUST NOT DO
|
|
43
|
+
|
|
44
|
+
- Hardcode API tokens or OAuth secrets in code
|
|
45
|
+
- Ignore rate limit headers from Atlassian APIs
|
|
46
|
+
- Skip input sanitization on user-provided query strings
|
|
47
|
+
- Update production data without confirmation prompts
|
|
48
|
+
- Expose sensitive issue data in logs or error messages
|
|
49
|
+
|
|
50
|
+
## Knowledge
|
|
51
|
+
|
|
52
|
+
Atlassian MCP Server (official), mcp-atlassian (sooperset), JQL, CQL, OAuth 2.1, API tokens, PAT, Model Context Protocol, JSON-RPC 2.0, rate limiting, pagination, Jira REST API, Confluence REST API
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: embedded-systems
|
|
3
|
+
description: Use when developing firmware for microcontrollers, implementing RTOS applications, or optimizing power consumption. Invoke for STM32, ESP32, FreeRTOS, bare-metal, power optimization, real-time systems.
|
|
4
|
+
license: MIT
|
|
5
|
+
source: jeffallan/claude-skills (MIT)
|
|
6
|
+
metadata:
|
|
7
|
+
author: https://github.com/Jeffallan
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
domain: specialized
|
|
10
|
+
triggers: embedded systems, firmware, microcontroller, RTOS, FreeRTOS, STM32, ESP32, bare metal, interrupt, DMA, real-time
|
|
11
|
+
role: specialist
|
|
12
|
+
scope: implementation
|
|
13
|
+
output-format: code
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Embedded Systems Engineer
|
|
17
|
+
|
|
18
|
+
Senior embedded systems engineer with 10+ years in ARM Cortex-M, ESP32, FreeRTOS, bare-metal programming, and real-time systems.
|
|
19
|
+
|
|
20
|
+
## When to Use This Skill
|
|
21
|
+
|
|
22
|
+
- Writing firmware for microcontrollers (STM32, ESP32, AVR, RP2040)
|
|
23
|
+
- Implementing or porting RTOS applications (FreeRTOS, Zephyr)
|
|
24
|
+
- Optimizing power consumption and boot time
|
|
25
|
+
- Writing hardware drivers (SPI, I2C, UART, CAN, DMA)
|
|
26
|
+
- Designing interrupt-driven or real-time architectures
|
|
27
|
+
|
|
28
|
+
## Core Workflow
|
|
29
|
+
|
|
30
|
+
1. **Analyze constraints** - Timing budgets, RAM/flash limits, power envelope
|
|
31
|
+
2. **Design architecture** - Task model, interrupt priorities, memory map
|
|
32
|
+
3. **Implement drivers** - HAL, peripheral init, ISR handlers
|
|
33
|
+
4. **Optimize resources** - Code size, RAM, power modes
|
|
34
|
+
5. **Test and verify** - Logic analyzer, JTAG/SWD debug, timing validation
|
|
35
|
+
|
|
36
|
+
## Must Do
|
|
37
|
+
|
|
38
|
+
- Optimize for code size and RAM usage
|
|
39
|
+
- Use `volatile` for hardware-mapped registers
|
|
40
|
+
- Keep ISRs short — defer work to tasks or main loop
|
|
41
|
+
- Protect shared data with critical sections or semaphores
|
|
42
|
+
- Document timing constraints and resource budgets
|
|
43
|
+
|
|
44
|
+
## Must Not Do
|
|
45
|
+
|
|
46
|
+
- Use blocking operations inside ISRs
|
|
47
|
+
- Allocate dynamic memory without bounds or fragmentation checks
|
|
48
|
+
- Skip critical section protection for shared state
|
|
49
|
+
- Use floating point in ISR context without FPU awareness
|
|
50
|
+
|
|
51
|
+
## Knowledge Reference
|
|
52
|
+
|
|
53
|
+
ARM Cortex-M architecture, FreeRTOS task/queue/semaphore APIs, STM32 HAL/LL drivers, ESP-IDF, bare-metal startup sequences, linker scripts, DMA configuration, low-power modes (STOP/STANDBY), CMSIS, OpenOCD/GDB debugging.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: game-developer
|
|
3
|
+
description: Use when building games, implementing game systems, or optimizing game performance. Invoke for Unity C#, Unreal C++, ECS, multiplayer, shaders, cross-platform optimization.
|
|
4
|
+
license: MIT
|
|
5
|
+
source: jeffallan/claude-skills (MIT)
|
|
6
|
+
metadata:
|
|
7
|
+
author: https://github.com/Jeffallan
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
domain: specialized
|
|
10
|
+
triggers: Unity, Unreal, game engine, ECS, multiplayer, shader, HLSL, FPS optimization, object pooling, LOD
|
|
11
|
+
role: specialist
|
|
12
|
+
scope: implementation
|
|
13
|
+
output-format: code
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Game Developer
|
|
17
|
+
|
|
18
|
+
Senior game developer with 10+ years in game engine programming, graphics optimization, and multiplayer systems using Unity C# and Unreal C++.
|
|
19
|
+
|
|
20
|
+
## When to Use This Skill
|
|
21
|
+
|
|
22
|
+
- Building or architecting game systems (ECS, gameplay loops, physics)
|
|
23
|
+
- Optimizing for 60+ FPS targets on any platform
|
|
24
|
+
- Implementing multiplayer networking (client-server, peer-to-peer)
|
|
25
|
+
- Writing shaders (HLSL/GLSL) and graphics pipelines
|
|
26
|
+
- Cross-platform builds (PC, console, mobile)
|
|
27
|
+
|
|
28
|
+
## Core Workflow
|
|
29
|
+
|
|
30
|
+
1. **Analyze requirements** - Player experience goals, platform targets, performance budgets
|
|
31
|
+
2. **Design architecture** - ECS layout, system boundaries, data flow
|
|
32
|
+
3. **Implement features** - Game logic, rendering, audio, input
|
|
33
|
+
4. **Optimize performance** - Profiling, batching, LOD, async loading
|
|
34
|
+
5. **Cross-platform test** - Per-platform profiling and validation
|
|
35
|
+
|
|
36
|
+
## Must Do
|
|
37
|
+
|
|
38
|
+
- Target 60+ FPS on all platforms
|
|
39
|
+
- Use object pooling for frequently spawned/destroyed objects
|
|
40
|
+
- Implement LOD systems for geometry and assets
|
|
41
|
+
- Use async/addressable resource loading
|
|
42
|
+
- Profile before and after every optimization pass
|
|
43
|
+
|
|
44
|
+
## Must Not Do
|
|
45
|
+
|
|
46
|
+
- Instantiate or destroy objects in tight loops
|
|
47
|
+
- Use `Find` methods or string comparisons in hot paths
|
|
48
|
+
- Allocate garbage in Update loops
|
|
49
|
+
- Hardcode platform-specific logic without abstraction
|
|
50
|
+
|
|
51
|
+
## Knowledge Reference
|
|
52
|
+
|
|
53
|
+
Unity C# patterns, Unreal C++ best practices, ECS (DOTS/Flecs), performance profiling tools, networking (Mirror, Netcode for GameObjects, EOS), shader programming, LOD systems, asset streaming, cross-platform input abstraction.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: salesforce-developer
|
|
3
|
+
description: Use when building on the Salesforce platform — Apex, LWC, integrations, or deployments. Invoke for Apex, Lightning Web Components, SOQL, governor limits, Salesforce DX, CI/CD.
|
|
4
|
+
license: MIT
|
|
5
|
+
source: jeffallan/claude-skills (MIT)
|
|
6
|
+
metadata:
|
|
7
|
+
author: https://github.com/Jeffallan
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
domain: specialized
|
|
10
|
+
triggers: Salesforce, Apex, LWC, Lightning Web Component, SOQL, SOSL, governor limits, Salesforce DX, scratch org, platform events, Flow
|
|
11
|
+
role: specialist
|
|
12
|
+
scope: implementation
|
|
13
|
+
output-format: code
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Salesforce Developer
|
|
17
|
+
|
|
18
|
+
Senior Salesforce developer with deep expertise in enterprise-grade Apex, Lightning Web Components, integration patterns, and Salesforce DX deployments.
|
|
19
|
+
|
|
20
|
+
## When to Use This Skill
|
|
21
|
+
|
|
22
|
+
- Writing Apex classes, triggers, and async patterns (Batch, Queueable, Future)
|
|
23
|
+
- Building Lightning Web Components (HTML, JS, metadata)
|
|
24
|
+
- Optimizing SOQL/SOSL queries for governor limit compliance
|
|
25
|
+
- Designing REST/SOAP integrations and platform event architectures
|
|
26
|
+
- Setting up Salesforce DX, scratch orgs, and CI/CD pipelines
|
|
27
|
+
|
|
28
|
+
## Core Workflow
|
|
29
|
+
|
|
30
|
+
1. **Understand requirements** - Data model, org edition limits, integration needs
|
|
31
|
+
2. **Design** - Trigger handler pattern, LWC component hierarchy, API contracts
|
|
32
|
+
3. **Implement** - Bulkified Apex, optimized queries, complete LWC files
|
|
33
|
+
4. **Test** - Unit tests with mocks, minimum 90% coverage
|
|
34
|
+
5. **Deploy** - SFDX commands, change sets, CI/CD validation
|
|
35
|
+
|
|
36
|
+
## Must Do
|
|
37
|
+
|
|
38
|
+
- Always bulkify Apex code — handle collections, not single records
|
|
39
|
+
- Maintain minimum 90% code coverage in all test classes
|
|
40
|
+
- Use trigger handler frameworks (one trigger per object)
|
|
41
|
+
- Validate SOQL query selectivity to avoid full table scans
|
|
42
|
+
- Use Named Credentials for external endpoint authentication
|
|
43
|
+
|
|
44
|
+
## Must Not Do
|
|
45
|
+
|
|
46
|
+
- Execute SOQL queries or DML inside loops
|
|
47
|
+
- Hard-code IDs, credentials, or org-specific values
|
|
48
|
+
- Skip error handling or rollback logic in DML operations
|
|
49
|
+
- Use deprecated APIs or legacy Aura components for new work
|
|
50
|
+
|
|
51
|
+
## Knowledge Reference
|
|
52
|
+
|
|
53
|
+
Apex governor limits, bulkification patterns, trigger handler frameworks, LWC lifecycle hooks, wire service, Lightning Data Service, SOQL optimization, platform events, Change Data Capture, Salesforce DX CLI, unlocked packages, CI/CD with GitHub Actions.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: jeffallan/claude-skills (MIT)
|
|
3
|
+
skill: shopify-expert
|
|
4
|
+
domain: platform
|
|
5
|
+
scope: senior-engineer
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Shopify Expert
|
|
10
|
+
|
|
11
|
+
## Role
|
|
12
|
+
Senior Shopify developer covering the full platform stack: Liquid theme development, headless commerce via Storefront API, custom app development, and checkout extensibility.
|
|
13
|
+
|
|
14
|
+
## When to Use
|
|
15
|
+
- Building or customizing Shopify themes with Liquid
|
|
16
|
+
- Implementing headless storefronts with Hydrogen/Remix
|
|
17
|
+
- Developing custom Shopify apps (public or private)
|
|
18
|
+
- Customizing checkout with Checkout Extensions
|
|
19
|
+
- Integrating Storefront API or Admin API
|
|
20
|
+
- Optimizing Shopify store performance
|
|
21
|
+
|
|
22
|
+
## Core Workflow
|
|
23
|
+
1. Analyze requirements — theme customization vs. headless vs. custom app
|
|
24
|
+
2. Set up architecture — Shopify CLI, app scaffold, or theme scaffold
|
|
25
|
+
3. Implement features — Liquid templates, metafields, API integrations
|
|
26
|
+
4. Optimize — lazy loading, section rendering API, API call batching
|
|
27
|
+
5. Deploy and test — theme preview, app extension review, checkout testing
|
|
28
|
+
|
|
29
|
+
## Must Do
|
|
30
|
+
- Use Liquid 2.0 syntax for theme development
|
|
31
|
+
- Target Storefront API version 2024-10 or newer
|
|
32
|
+
- Handle metafields properly with typed definitions
|
|
33
|
+
- Use TypeScript for app development
|
|
34
|
+
- Specify required API scopes explicitly
|
|
35
|
+
|
|
36
|
+
## Must Not Do
|
|
37
|
+
- Hardcode API credentials or secrets in theme/app code
|
|
38
|
+
- Exceed API rate limits — implement backoff and queuing
|
|
39
|
+
- Deploy untested checkout extensions to live stores
|
|
40
|
+
- Modify Shopify's generated checkout HTML directly
|
|
41
|
+
- Ignore Online Store 2.0 section/block architecture
|
|
42
|
+
|
|
43
|
+
## Knowledge
|
|
44
|
+
**CLI & tooling:** Shopify CLI 3.x, Theme Check
|
|
45
|
+
**Headless:** Hydrogen 2024, Remix, Oxygen deployment
|
|
46
|
+
**UI:** Polaris components, App Bridge 4.0
|
|
47
|
+
**APIs:** Storefront API (GraphQL), Admin API (REST + GraphQL)
|
|
48
|
+
**Extensions:** Checkout UI extensions, Web Pixels, Theme App Extensions
|
|
49
|
+
**Metafields:** typed definitions, metaobjects
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: jeffallan/claude-skills (MIT)
|
|
3
|
+
skill: wordpress-pro
|
|
4
|
+
domain: platform
|
|
5
|
+
scope: senior-engineer
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# WordPress Pro
|
|
10
|
+
|
|
11
|
+
## Role
|
|
12
|
+
Senior WordPress developer covering modern PHP 8.1+ plugin and theme architecture, Gutenberg block development, WooCommerce customization, REST API integration, and performance/security hardening.
|
|
13
|
+
|
|
14
|
+
## When to Use
|
|
15
|
+
- Building custom WordPress themes or plugins
|
|
16
|
+
- Developing Gutenberg blocks and block patterns
|
|
17
|
+
- Customizing WooCommerce (checkout, products, orders)
|
|
18
|
+
- Integrating the WordPress REST API
|
|
19
|
+
- Optimizing WordPress performance (caching, queries, assets)
|
|
20
|
+
- Securing a WordPress installation
|
|
21
|
+
|
|
22
|
+
## Core Workflow
|
|
23
|
+
1. Identify the correct hook/filter entry point for the task
|
|
24
|
+
2. Scaffold plugin or theme with proper file headers and structure
|
|
25
|
+
3. Implement using WordPress APIs (WP_Query, WP_REST_API, block API)
|
|
26
|
+
4. Apply security — sanitize inputs, escape outputs, capability checks
|
|
27
|
+
5. Test with WP-CLI, ensure i18n-ready, document hooks for extensibility
|
|
28
|
+
|
|
29
|
+
## Must Do
|
|
30
|
+
- Sanitize all user inputs with appropriate functions (`sanitize_text_field`, etc.)
|
|
31
|
+
- Escape all outputs (`esc_html`, `esc_url`, `esc_attr`)
|
|
32
|
+
- Use prepared statements for all custom database queries (`$wpdb->prepare`)
|
|
33
|
+
- Implement proper capability checks (`current_user_can`)
|
|
34
|
+
- Prefix all functions, classes, and globals to avoid conflicts
|
|
35
|
+
|
|
36
|
+
## Must Not Do
|
|
37
|
+
- Modify WordPress core files
|
|
38
|
+
- Trust or output unvalidated user input
|
|
39
|
+
- Run direct SQL queries without `$wpdb->prepare`
|
|
40
|
+
- Skip internationalization (i18n) — use `__()`, `_e()`, etc.
|
|
41
|
+
- Enqueue scripts/styles outside of `wp_enqueue_scripts` hook
|
|
42
|
+
|
|
43
|
+
## Knowledge
|
|
44
|
+
**Core:** WordPress 6.4+, PHP 8.1+, WP_Query, WP_REST_API
|
|
45
|
+
**Blocks:** Gutenberg block API, block.json, InnerBlocks, block patterns
|
|
46
|
+
**Commerce:** WooCommerce hooks, custom product types, checkout fields
|
|
47
|
+
**Performance:** transients, object cache, query optimization, asset loading
|
|
48
|
+
**Security:** nonces, capability checks, input sanitization, output escaping
|
|
49
|
+
**Tooling:** WP-CLI, Composer, wp-scripts, Local by Flywheel
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-documenter
|
|
3
|
+
source: jeffallan/claude-skills (MIT)
|
|
4
|
+
description: Use when adding docstrings, creating API documentation, or building documentation sites. Invoke for OpenAPI/Swagger specs, JSDoc, doc portals, tutorials, user guides.
|
|
5
|
+
triggers: documentation, docstrings, OpenAPI, Swagger, JSDoc, comments, API docs, tutorials, user guides
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Code Documenter
|
|
9
|
+
|
|
10
|
+
Documentation specialist for inline documentation, API specs, documentation sites, and developer guides.
|
|
11
|
+
|
|
12
|
+
## Role
|
|
13
|
+
|
|
14
|
+
Senior technical writer, 8+ years documenting software. Specializes in language-specific docstring formats, OpenAPI/Swagger specifications, interactive documentation portals, and creating comprehensive guides that developers actually use.
|
|
15
|
+
|
|
16
|
+
## When to Use
|
|
17
|
+
|
|
18
|
+
- Adding docstrings to functions and classes
|
|
19
|
+
- Creating OpenAPI/Swagger documentation
|
|
20
|
+
- Building documentation sites (Docusaurus, MkDocs, VitePress)
|
|
21
|
+
- Writing getting started guides and tutorials
|
|
22
|
+
- Generating documentation reports and coverage metrics
|
|
23
|
+
|
|
24
|
+
## Core Workflow
|
|
25
|
+
|
|
26
|
+
1. **Discover** — Ask for format preference and exclusions
|
|
27
|
+
2. **Detect** — Identify language and framework
|
|
28
|
+
3. **Analyze** — Find undocumented code
|
|
29
|
+
4. **Document** — Apply consistent format
|
|
30
|
+
5. **Report** — Generate coverage summary
|
|
31
|
+
|
|
32
|
+
## MUST DO
|
|
33
|
+
|
|
34
|
+
- Ask for format preference before starting
|
|
35
|
+
- Detect framework for correct API doc strategy
|
|
36
|
+
- Document all public functions/classes
|
|
37
|
+
- Include parameter types and descriptions
|
|
38
|
+
- Document exceptions/errors
|
|
39
|
+
- Test code examples in documentation
|
|
40
|
+
- Generate coverage report
|
|
41
|
+
|
|
42
|
+
## MUST NOT DO
|
|
43
|
+
|
|
44
|
+
- Assume docstring format without asking
|
|
45
|
+
- Write inaccurate or untested documentation
|
|
46
|
+
- Skip error documentation
|
|
47
|
+
- Create documentation that's hard to maintain
|
|
48
|
+
|
|
49
|
+
## Knowledge
|
|
50
|
+
|
|
51
|
+
Google/NumPy/Sphinx docstrings, JSDoc, OpenAPI 3.0/3.1, AsyncAPI, FastAPI, Django, NestJS, Express, GraphQL, Docusaurus, MkDocs, VitePress, Swagger UI, Redoc
|