@sylphx/flow 2.16.1 → 2.16.2

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 (29) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/assets/{slash-commands/guideline-account-security.md → skills/account-security/SKILL.md} +2 -3
  3. package/assets/{slash-commands/guideline-admin.md → skills/admin/SKILL.md} +2 -3
  4. package/assets/{slash-commands/guideline-auth.md → skills/auth/SKILL.md} +2 -3
  5. package/assets/{slash-commands/guideline-billing.md → skills/billing/SKILL.md} +2 -3
  6. package/assets/{slash-commands/guideline-code-quality.md → skills/code-quality/SKILL.md} +2 -3
  7. package/assets/{slash-commands/guideline-data-architecture.md → skills/data-architecture/SKILL.md} +2 -3
  8. package/assets/{slash-commands/guideline-database.md → skills/database/SKILL.md} +2 -3
  9. package/assets/{slash-commands/guideline-delivery.md → skills/delivery/SKILL.md} +2 -3
  10. package/assets/{slash-commands/guideline-discovery.md → skills/discovery/SKILL.md} +2 -3
  11. package/assets/{slash-commands/guideline-growth.md → skills/growth/SKILL.md} +2 -3
  12. package/assets/{slash-commands/guideline-i18n.md → skills/i18n/SKILL.md} +2 -3
  13. package/assets/{slash-commands/guideline-ledger.md → skills/ledger/SKILL.md} +2 -3
  14. package/assets/{slash-commands/guideline-observability.md → skills/observability/SKILL.md} +2 -3
  15. package/assets/{slash-commands/guideline-operability.md → skills/operability/SKILL.md} +2 -3
  16. package/assets/{slash-commands/guideline-performance.md → skills/performance/SKILL.md} +2 -3
  17. package/assets/{slash-commands/guideline-pricing.md → skills/pricing/SKILL.md} +2 -3
  18. package/assets/{slash-commands/guideline-privacy.md → skills/privacy/SKILL.md} +2 -3
  19. package/assets/{slash-commands/guideline-pwa.md → skills/pwa/SKILL.md} +2 -3
  20. package/assets/{slash-commands/guideline-referral.md → skills/referral/SKILL.md} +2 -3
  21. package/assets/{slash-commands/guideline-security.md → skills/security/SKILL.md} +2 -3
  22. package/assets/{slash-commands/guideline-seo.md → skills/seo/SKILL.md} +2 -3
  23. package/assets/{slash-commands/guideline-storage.md → skills/storage/SKILL.md} +2 -3
  24. package/assets/{slash-commands/guideline-support.md → skills/support/SKILL.md} +2 -3
  25. package/assets/{slash-commands/guideline-trust-safety.md → skills/trust-safety/SKILL.md} +2 -3
  26. package/assets/{slash-commands/guideline-uiux.md → skills/uiux/SKILL.md} +2 -3
  27. package/assets/slash-commands/continue.md +6 -13
  28. package/assets/slash-commands/review.md +8 -32
  29. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @sylphx/flow
2
2
 
3
+ ## 2.16.2 (2025-12-17)
4
+
5
+ ### 🐛 Bug Fixes
6
+
7
+ - **commands:** tell LLM to use SlashCommand tool for /review and /continue ([6983015](https://github.com/SylphxAI/flow/commit/6983015b97e89a48e973106828672b8b3000dce8))
8
+
9
+ ### ♻️ Refactoring
10
+
11
+ - **assets:** convert guidelines to Skills (model-invoked) ([2eb8d01](https://github.com/SylphxAI/flow/commit/2eb8d01162f00a127c5666c8afd9b63fc477ea42))
12
+
13
+ ### 🔧 Chores
14
+
15
+ - trigger release workflow ([69d661c](https://github.com/SylphxAI/flow/commit/69d661c582157650df855a3a31e21ad6a8b3e7bf))
16
+
3
17
  ## 2.16.1 (2025-12-17)
4
18
 
5
19
  ### ♻️ Refactoring
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-account-security
3
- description: Guideline: account security - sessions, MFA, devices, security events
4
- agent: coder
2
+ name: account-security
3
+ description: Account security - MFA, sessions, recovery. Use when protecting user accounts.
5
4
  ---
6
5
 
7
6
  # Account Security Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-admin
3
- description: Guideline: admin - RBAC, bootstrap, audit, operational tools
4
- agent: coder
2
+ name: admin
3
+ description: Admin panel - RBAC, config, admin tools. Use when building admin UI.
5
4
  ---
6
5
 
7
6
  # Admin Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-auth
3
- description: Guideline: authentication - sign-in, SSO, passkeys, verification
4
- agent: coder
2
+ name: auth
3
+ description: Authentication patterns - sign-in, SSO, passkeys, sessions. Use when implementing auth flows.
5
4
  ---
6
5
 
7
6
  # Auth Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-billing
3
- description: Guideline: billing - Stripe integration, webhooks, subscription state
4
- agent: coder
2
+ name: billing
3
+ description: Billing - Stripe, webhooks, subscriptions. Use when implementing payments.
5
4
  ---
6
5
 
7
6
  # Billing Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-code-quality
3
- description: Guideline: code quality - architecture, types, testing, maintainability
4
- agent: coder
2
+ name: code-quality
3
+ description: Code quality - patterns, testing, maintainability. Use for code review.
5
4
  ---
6
5
 
7
6
  # Code Quality Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-data-architecture
3
- description: Guideline: data architecture - boundaries, consistency, state machines
4
- agent: coder
2
+ name: data-architecture
3
+ description: Data architecture - models, relationships. Use when designing data structures.
5
4
  ---
6
5
 
7
6
  # Data Architecture Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-database
3
- description: Guideline: database - schema, migrations, performance, reliability
4
- agent: coder
2
+ name: database
3
+ description: Database - schema, indexes, migrations. Use when working with databases.
5
4
  ---
6
5
 
7
6
  # Database Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-delivery
3
- description: Guideline: delivery - CI gates, automated verification, release safety
4
- agent: coder
2
+ name: delivery
3
+ description: Delivery - CI/CD, testing, releases. Use when improving pipelines.
5
4
  ---
6
5
 
7
6
  # Delivery Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-discovery
3
- description: Guideline: discovery - competitive research, opportunities, market positioning
4
- agent: coder
2
+ name: discovery
3
+ description: Feature discovery - competitive analysis. Use when exploring features.
5
4
  ---
6
5
 
7
6
  # Discovery Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-growth
3
- description: Guideline: growth - activation, retention, virality
4
- agent: coder
2
+ name: growth
3
+ description: Growth - onboarding, activation, retention. Use for growth features.
5
4
  ---
6
5
 
7
6
  # Growth Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-i18n
3
- description: Guideline: i18n - localization, routing, translation quality
4
- agent: coder
2
+ name: i18n
3
+ description: Internationalization - localization, translations. Use when adding languages.
5
4
  ---
6
5
 
7
6
  # i18n Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-ledger
3
- description: Guideline: ledger - balance systems, financial integrity, reconciliation
4
- agent: coder
2
+ name: ledger
3
+ description: Financial ledger - transactions, audit trails. Use when tracking money.
5
4
  ---
6
5
 
7
6
  # Ledger Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-observability
3
- description: Guideline: observability - logging, tracing, alerting, debugging
4
- agent: coder
2
+ name: observability
3
+ description: Observability - logging, metrics, tracing. Use when adding monitoring.
5
4
  ---
6
5
 
7
6
  # Observability Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-operability
3
- description: Guideline: operability - workflows, retries, DLQ, incident response
4
- agent: coder
2
+ name: operability
3
+ description: Operations - deployment, rollback, feature flags. Use for ops tooling.
5
4
  ---
6
5
 
7
6
  # Operability Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-performance
3
- description: Guideline: performance - speed, Core Web Vitals, bottlenecks
4
- agent: coder
2
+ name: performance
3
+ description: Performance - Core Web Vitals, bundle size. Use when optimizing speed.
5
4
  ---
6
5
 
7
6
  # Performance Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-pricing
3
- description: Guideline: pricing - strategy, packaging, monetization
4
- agent: coder
2
+ name: pricing
3
+ description: Pricing strategy - tiers, feature gating. Use when designing pricing.
5
4
  ---
6
5
 
7
6
  # Pricing Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-privacy
3
- description: Guideline: privacy - consent, PII, data lifecycle, compliance
4
- agent: coder
2
+ name: privacy
3
+ description: Privacy and data protection - GDPR, CCPA, consent. Use when handling user data.
5
4
  ---
6
5
 
7
6
  # Privacy Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-pwa
3
- description: Guideline: PWA - offline experience, installation, engagement
4
- agent: coder
2
+ name: pwa
3
+ description: PWA - service workers, offline support. Use when building PWA features.
5
4
  ---
6
5
 
7
6
  # PWA Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-referral
3
- description: Guideline: referral - attribution, rewards, fraud prevention
4
- agent: coder
2
+ name: referral
3
+ description: Referral systems - referral programs, viral loops. Use for referrals.
5
4
  ---
6
5
 
7
6
  # Referral Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-security
3
- description: Guideline: security - OWASP, headers, authentication, secrets
4
- agent: coder
2
+ name: security
3
+ description: Application security - OWASP, validation, secrets. Use when securing the app.
5
4
  ---
6
5
 
7
6
  # Security Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-seo
3
- description: Guideline: SEO - discoverability, metadata, search rankings
4
- agent: coder
2
+ name: seo
3
+ description: SEO - meta tags, structured data. Use when optimizing for search.
5
4
  ---
6
5
 
7
6
  # SEO Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-storage
3
- description: Guideline: storage - uploads, file handling, security
4
- agent: coder
2
+ name: storage
3
+ description: File storage - uploads, CDN, blobs. Use when handling files.
5
4
  ---
6
5
 
7
6
  # Storage Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-support
3
- description: Guideline: support - help experience, communications, user satisfaction
4
- agent: coder
2
+ name: support
3
+ description: Support - help center, tickets, docs. Use when building support.
5
4
  ---
6
5
 
7
6
  # Support Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-trust-safety
3
- description: Guideline: trust & safety - abuse prevention, moderation, user protection
4
- agent: coder
2
+ name: trust-safety
3
+ description: Trust and safety - abuse prevention, rate limiting. Use when fighting bad actors.
5
4
  ---
6
5
 
7
6
  # Trust Safety Guideline
@@ -1,7 +1,6 @@
1
1
  ---
2
- name: guideline-uiux
3
- description: Guideline: UI/UX - design system, accessibility, user experience
4
- agent: coder
2
+ name: uiux
3
+ description: UI/UX - design system, accessibility. Use when building interfaces.
5
4
  ---
6
5
 
7
6
  # UI/UX Guideline
@@ -58,24 +58,17 @@ These questions reveal incompleteness that checklists miss.
58
58
 
59
59
  5. **Fix completely** — Don't patch. Understand root cause. Implement proper solution. Test it works.
60
60
 
61
- ## When to Go Deeper
61
+ ## Skills
62
62
 
63
- If issues cluster in a domain, invoke `/review <domain>` for thorough analysis:
63
+ Domain knowledge auto-activates when relevant. Available skills:
64
64
 
65
- ```
66
- /review auth — Auth flow issues
67
- /review security — Validation gaps, injection risks
68
- /review database — Schema issues, missing indexes
69
- /review performance — Slow paths, bundle bloat
70
- ```
71
-
72
- Full list: auth, account-security, privacy, billing, pricing, ledger, security, trust-safety, uiux, seo, pwa, performance, i18n, database, data-architecture, storage, observability, operability, delivery, growth, referral, support, admin, discovery, code-quality
65
+ auth, account-security, privacy, billing, pricing, ledger, security, trust-safety, uiux, seo, pwa, performance, i18n, database, data-architecture, storage, observability, operability, delivery, growth, referral, support, admin, discovery, code-quality
73
66
 
74
67
  ## Loop
75
68
 
76
- After fixing, ask: "Did my fixes introduce new gaps? Did fixing X reveal Y was also broken?"
69
+ After fixing: "Did my fixes introduce new gaps? Did fixing X reveal Y was also broken?"
77
70
 
78
- If yes → continue. If no Critical/High issues remain → done.
71
+ If yes → run `/continue` again. If no Critical/High issues remain → done.
79
72
 
80
73
  ## Output
81
74
 
@@ -94,5 +87,5 @@ If yes → continue. If no Critical/High issues remain → done.
94
87
 
95
88
  ## Next
96
89
 
97
- [/continue again | /review <domain> | done]
90
+ [/continue again | done]
98
91
  ```
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: review
3
- description: Review codebase by domain - /review <what to review>
3
+ description: Review codebase by topic - /review <what to review>
4
4
  agent: coder
5
5
  args:
6
6
  - name: topic
7
- description: What to review (e.g., auth, security, billing, "the login flow", "why it's slow")
7
+ description: What to review (e.g., auth, security, "the login flow", "why it's slow")
8
8
  required: true
9
9
  ---
10
10
 
@@ -12,42 +12,18 @@ args:
12
12
 
13
13
  ## Mandate
14
14
 
15
- * **Understand first.** Don't treat guidelines as checklists — absorb the principles, then apply judgment.
15
+ * **Understand first.** Absorb the principles, then apply judgment.
16
16
  * **Think like the failure mode.** Security? Think like an attacker. Performance? Think like a slow network. Auth? Think like a confused user.
17
17
  * **Delegate workers** for parallel research. You synthesize and verify.
18
18
  * **Fix, don't report.** Implement solutions directly.
19
19
 
20
- ## Available Guidelines
20
+ ## Skills
21
21
 
22
- Read relevant guideline(s) based on what you're reviewing:
22
+ Domain knowledge is available through Skills that auto-activate based on context:
23
23
 
24
- | Guideline | Domain |
25
- |-----------|--------|
26
- | `/guideline-auth` | Sign-in, SSO, passkeys, verification |
27
- | `/guideline-account-security` | MFA, sessions, account recovery |
28
- | `/guideline-privacy` | Data handling, consent, GDPR/CCPA |
29
- | `/guideline-billing` | Stripe, webhooks, subscriptions |
30
- | `/guideline-pricing` | Pricing models, tiers, feature gating |
31
- | `/guideline-ledger` | Transactions, audit trails, reconciliation |
32
- | `/guideline-security` | OWASP, validation, secrets |
33
- | `/guideline-trust-safety` | Abuse prevention, rate limiting, fraud |
34
- | `/guideline-uiux` | Design system, accessibility |
35
- | `/guideline-seo` | Meta tags, structured data, crawlability |
36
- | `/guideline-pwa` | Service workers, offline, installability |
37
- | `/guideline-performance` | Core Web Vitals, bundle size, caching |
38
- | `/guideline-i18n` | Localization, routing, hreflang |
39
- | `/guideline-database` | Schema, indexes, migrations |
40
- | `/guideline-data-architecture` | Data models, relationships, integrity |
41
- | `/guideline-storage` | File uploads, CDN, blob storage |
42
- | `/guideline-observability` | Logging, metrics, tracing, alerts |
43
- | `/guideline-operability` | Deployment, rollback, feature flags |
44
- | `/guideline-delivery` | CI/CD, testing, release process |
45
- | `/guideline-growth` | Onboarding, activation, retention |
46
- | `/guideline-referral` | Referral programs, viral loops |
47
- | `/guideline-support` | Help systems, tickets, documentation |
48
- | `/guideline-admin` | Admin panel, RBAC, config |
49
- | `/guideline-discovery` | Feature discovery, competitive analysis |
50
- | `/guideline-code-quality` | Patterns, testing, maintainability |
24
+ auth, account-security, privacy, billing, pricing, ledger, security, trust-safety, uiux, seo, pwa, performance, i18n, database, data-architecture, storage, observability, operability, delivery, growth, referral, support, admin, discovery, code-quality
25
+
26
+ You don't need to invoke them they activate when relevant.
51
27
 
52
28
  ## Output
53
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sylphx/flow",
3
- "version": "2.16.1",
3
+ "version": "2.16.2",
4
4
  "description": "One CLI to rule them all. Unified orchestration layer for Claude Code, OpenCode, Cursor and all AI development tools. Auto-detection, auto-installation, auto-upgrade.",
5
5
  "type": "module",
6
6
  "bin": {