@cubis/foundry 0.3.71 → 0.3.72
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/CHANGELOG.md +15 -0
- package/dist/cli/core.js +4 -18
- package/dist/cli/core.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/core.ts +4 -18
- package/workflows/powers/accessibility/POWER.md +83 -94
- package/workflows/powers/accessibility/SKILL.md +82 -94
- package/workflows/powers/agent-design/POWER.md +201 -0
- package/workflows/powers/agent-design/SKILL.md +198 -0
- package/workflows/powers/agent-design/references/clarification-patterns.md +153 -0
- package/workflows/powers/agent-design/references/skill-testing.md +164 -0
- package/workflows/powers/agent-design/references/workflow-patterns.md +226 -0
- package/workflows/powers/agentic-eval/POWER.md +62 -0
- package/workflows/powers/agentic-eval/SKILL.md +59 -0
- package/workflows/powers/agentic-eval/references/rubric-and-regression-checklist.md +11 -0
- package/workflows/powers/api-designer/POWER.md +43 -71
- package/workflows/powers/api-designer/SKILL.md +43 -71
- package/workflows/powers/api-patterns/POWER.md +42 -56
- package/workflows/powers/api-patterns/SKILL.md +42 -57
- package/workflows/powers/architecture-designer/POWER.md +43 -60
- package/workflows/powers/architecture-designer/SKILL.md +43 -60
- package/workflows/powers/ask-questions-if-underspecified/POWER.md +51 -3
- package/workflows/powers/auth-architect/POWER.md +69 -0
- package/workflows/powers/auth-architect/SKILL.md +66 -0
- package/workflows/powers/auth-architect/references/session-token-policy-checklist.md +45 -0
- package/workflows/powers/behavioral-modes/POWER.md +100 -9
- package/workflows/powers/c-pro/POWER.md +105 -0
- package/workflows/powers/c-pro/SKILL.md +102 -0
- package/workflows/powers/c-pro/references/build-systems-and-toolchains.md +148 -0
- package/workflows/powers/c-pro/references/common-ub-and-portability.md +166 -0
- package/workflows/powers/c-pro/references/debugging-with-sanitizers.md +205 -0
- package/workflows/powers/c-pro/references/memory-safety-and-build-checklist.md +60 -0
- package/workflows/powers/c-pro/references/posix-and-platform-apis.md +244 -0
- package/workflows/powers/changelog-generator/POWER.md +127 -63
- package/workflows/powers/changelog-generator/SKILL.md +126 -63
- package/workflows/powers/ci-cd-pipelines/POWER.md +156 -0
- package/workflows/powers/ci-cd-pipelines/SKILL.md +153 -0
- package/workflows/powers/ci-cd-pipelines/references/github-actions-patterns.md +160 -0
- package/workflows/powers/ci-cd-pipelines/references/pipeline-security-checklist.md +57 -0
- package/workflows/powers/cli-developer/POWER.md +152 -95
- package/workflows/powers/cli-developer/SKILL.md +152 -95
- package/workflows/powers/cpp-pro/POWER.md +111 -0
- package/workflows/powers/cpp-pro/SKILL.md +108 -0
- package/workflows/powers/cpp-pro/references/concurrency-primitives.md +266 -0
- package/workflows/powers/cpp-pro/references/move-semantics-and-value-types.md +149 -0
- package/workflows/powers/cpp-pro/references/performance-and-profiling.md +191 -0
- package/workflows/powers/cpp-pro/references/raii-and-modern-cpp-checklist.md +87 -0
- package/workflows/powers/cpp-pro/references/template-and-concepts-patterns.md +205 -0
- package/workflows/powers/csharp-pro/POWER.md +47 -22
- package/workflows/powers/csharp-pro/SKILL.md +47 -22
- package/workflows/powers/dart-pro/POWER.md +68 -0
- package/workflows/powers/dart-pro/SKILL.md +65 -0
- package/workflows/powers/dart-pro/references/isolate-and-concurrency.md +180 -0
- package/workflows/powers/dart-pro/references/null-safety-and-async-patterns.md +133 -0
- package/workflows/powers/dart-pro/references/package-structure-and-linting.md +193 -0
- package/workflows/powers/dart-pro/references/sealed-records-patterns.md +173 -0
- package/workflows/powers/dart-pro/references/testing-and-mocking.md +235 -0
- package/workflows/powers/database-design/POWER.md +47 -33
- package/workflows/powers/database-design/SKILL.md +47 -33
- package/workflows/powers/database-optimizer/POWER.md +43 -64
- package/workflows/powers/database-optimizer/SKILL.md +43 -64
- package/workflows/powers/database-skills/POWER.md +59 -93
- package/workflows/powers/database-skills/SKILL.md +59 -93
- package/workflows/powers/debugging-strategies/POWER.md +69 -0
- package/workflows/powers/debugging-strategies/SKILL.md +66 -0
- package/workflows/powers/debugging-strategies/references/reproduce-isolate-verify-checklist.md +42 -0
- package/workflows/powers/deep-research/POWER.md +67 -0
- package/workflows/powers/deep-research/SKILL.md +64 -0
- package/workflows/powers/deep-research/references/multi-round-research-loop.md +80 -0
- package/workflows/powers/design-system-builder/POWER.md +130 -116
- package/workflows/powers/design-system-builder/SKILL.md +130 -116
- package/workflows/powers/devops-engineer/POWER.md +120 -57
- package/workflows/powers/devops-engineer/SKILL.md +120 -57
- package/workflows/powers/docker-kubernetes/POWER.md +94 -0
- package/workflows/powers/docker-kubernetes/SKILL.md +91 -0
- package/workflows/powers/docker-kubernetes/references/dockerfile-optimization-checklist.md +35 -0
- package/workflows/powers/docker-kubernetes/references/kubernetes-deployment-patterns.md +59 -0
- package/workflows/powers/documentation-templates/POWER.md +158 -127
- package/workflows/powers/documentation-templates/SKILL.md +158 -127
- package/workflows/powers/drizzle-expert/POWER.md +66 -0
- package/workflows/powers/drizzle-expert/SKILL.md +63 -0
- package/workflows/powers/drizzle-expert/references/runtime-pairing-matrix.md +16 -0
- package/workflows/powers/drizzle-expert/references/schema-and-migration-playbook.md +18 -0
- package/workflows/powers/error-ux-observability/POWER.md +144 -131
- package/workflows/powers/error-ux-observability/SKILL.md +143 -131
- package/workflows/powers/fastapi-expert/POWER.md +46 -60
- package/workflows/powers/fastapi-expert/SKILL.md +46 -60
- package/workflows/powers/firebase/POWER.md +65 -0
- package/workflows/powers/firebase/SKILL.md +62 -0
- package/workflows/powers/firebase/references/platform-routing.md +16 -0
- package/workflows/powers/firebase/references/rules-and-indexes-checklist.md +11 -0
- package/workflows/powers/flutter-design-system/POWER.md +63 -0
- package/workflows/powers/flutter-design-system/SKILL.md +60 -0
- package/workflows/powers/flutter-design-system/references/shared-widgets.md +29 -0
- package/workflows/powers/flutter-design-system/references/tokens-and-theme.md +34 -0
- package/workflows/powers/flutter-drift/POWER.md +65 -0
- package/workflows/powers/flutter-drift/SKILL.md +62 -0
- package/workflows/powers/flutter-drift/references/migrations.md +22 -0
- package/workflows/powers/flutter-drift/references/query-patterns.md +26 -0
- package/workflows/powers/flutter-feature/POWER.md +65 -0
- package/workflows/powers/flutter-feature/SKILL.md +62 -0
- package/workflows/powers/flutter-feature/references/architecture-rules.md +85 -0
- package/workflows/powers/flutter-feature/references/composite-provider.md +58 -0
- package/workflows/powers/flutter-feature/references/outbox-pattern.md +87 -0
- package/workflows/powers/flutter-feature/references/testing-patterns.md +218 -0
- package/workflows/powers/flutter-go-router/POWER.md +64 -0
- package/workflows/powers/flutter-go-router/SKILL.md +61 -0
- package/workflows/powers/flutter-go-router/references/guards-and-deeplinks.md +20 -0
- package/workflows/powers/flutter-go-router/references/typed-routes.md +27 -0
- package/workflows/powers/flutter-offline-sync/POWER.md +62 -0
- package/workflows/powers/flutter-offline-sync/SKILL.md +59 -0
- package/workflows/powers/flutter-offline-sync/references/outbox-full.md +44 -0
- package/workflows/powers/flutter-repository/POWER.md +64 -0
- package/workflows/powers/flutter-repository/SKILL.md +61 -0
- package/workflows/powers/flutter-repository/references/drift-patterns.md +21 -0
- package/workflows/powers/flutter-repository/references/retrofit-patterns.md +20 -0
- package/workflows/powers/flutter-riverpod/POWER.md +70 -0
- package/workflows/powers/flutter-riverpod/SKILL.md +67 -0
- package/workflows/powers/flutter-riverpod/references/async-and-mutations.md +19 -0
- package/workflows/powers/flutter-riverpod/references/async-lifecycle.md +19 -0
- package/workflows/powers/flutter-riverpod/references/provider-selection.md +20 -0
- package/workflows/powers/flutter-riverpod/references/testing.md +21 -0
- package/workflows/powers/flutter-riverpod/references/version-matrix.md +24 -0
- package/workflows/powers/flutter-state-machine/POWER.md +62 -0
- package/workflows/powers/flutter-state-machine/SKILL.md +59 -0
- package/workflows/powers/flutter-state-machine/references/app-state-contract.md +23 -0
- package/workflows/powers/flutter-state-machine/references/ui-rendering.md +14 -0
- package/workflows/powers/flutter-testing/POWER.md +64 -0
- package/workflows/powers/flutter-testing/SKILL.md +61 -0
- package/workflows/powers/flutter-testing/references/offline-sync-tests.md +16 -0
- package/workflows/powers/flutter-testing/references/test-layers.md +33 -0
- package/workflows/powers/frontend-code-review/POWER.md +137 -0
- package/workflows/powers/frontend-code-review/SKILL.md +134 -0
- package/workflows/powers/frontend-code-review/references/common-antipatterns.md +86 -0
- package/workflows/powers/frontend-code-review/references/performance-budgets.md +56 -0
- package/workflows/powers/frontend-code-review/references/review-checklists.md +47 -0
- package/workflows/powers/frontend-design/POWER.md +163 -362
- package/workflows/powers/frontend-design/SKILL.md +163 -362
- package/workflows/powers/game-development/POWER.md +57 -140
- package/workflows/powers/game-development/SKILL.md +57 -140
- package/workflows/powers/geo-fundamentals/POWER.md +64 -126
- package/workflows/powers/geo-fundamentals/SKILL.md +64 -127
- package/workflows/powers/git-workflow/POWER.md +135 -0
- package/workflows/powers/git-workflow/SKILL.md +132 -0
- package/workflows/powers/git-workflow/references/pr-review-checklist.md +63 -0
- package/workflows/powers/golang-pro/POWER.md +46 -35
- package/workflows/powers/golang-pro/SKILL.md +46 -35
- package/workflows/powers/graphql-architect/POWER.md +44 -62
- package/workflows/powers/graphql-architect/SKILL.md +44 -62
- package/workflows/powers/i18n-localization/POWER.md +118 -103
- package/workflows/powers/i18n-localization/SKILL.md +118 -103
- package/workflows/powers/java-pro/POWER.md +47 -22
- package/workflows/powers/java-pro/SKILL.md +47 -22
- package/workflows/powers/javascript-pro/POWER.md +47 -34
- package/workflows/powers/javascript-pro/SKILL.md +47 -34
- package/workflows/powers/kotlin-pro/POWER.md +46 -23
- package/workflows/powers/kotlin-pro/SKILL.md +46 -23
- package/workflows/powers/legacy-modernizer/POWER.md +43 -60
- package/workflows/powers/legacy-modernizer/SKILL.md +43 -60
- package/workflows/powers/mcp-builder/POWER.md +65 -0
- package/workflows/powers/mcp-builder/SKILL.md +62 -0
- package/workflows/powers/mcp-builder/references/testing-and-evals.md +17 -0
- package/workflows/powers/mcp-builder/references/transport-and-tool-design.md +17 -0
- package/workflows/powers/microservices-architect/POWER.md +43 -70
- package/workflows/powers/microservices-architect/SKILL.md +43 -70
- package/workflows/powers/mobile-design/POWER.md +110 -345
- package/workflows/powers/mobile-design/SKILL.md +110 -345
- package/workflows/powers/mongodb/POWER.md +67 -0
- package/workflows/powers/mongodb/SKILL.md +64 -0
- package/workflows/powers/mongodb/references/mongodb-checklist.md +20 -0
- package/workflows/powers/mysql/POWER.md +67 -0
- package/workflows/powers/mysql/SKILL.md +64 -0
- package/workflows/powers/mysql/references/mysql-checklist.md +20 -0
- package/workflows/powers/neki/POWER.md +67 -0
- package/workflows/powers/neki/SKILL.md +64 -0
- package/workflows/powers/neki/references/neki-checklist.md +18 -0
- package/workflows/powers/nestjs-expert/POWER.md +45 -91
- package/workflows/powers/nestjs-expert/SKILL.md +45 -91
- package/workflows/powers/nextjs-developer/POWER.md +51 -44
- package/workflows/powers/nextjs-developer/SKILL.md +51 -44
- package/workflows/powers/nodejs-best-practices/POWER.md +48 -29
- package/workflows/powers/nodejs-best-practices/SKILL.md +48 -29
- package/workflows/powers/observability/POWER.md +109 -0
- package/workflows/powers/observability/SKILL.md +106 -0
- package/workflows/powers/observability/references/alerting-and-slo-checklist.md +87 -0
- package/workflows/powers/observability/references/opentelemetry-setup-guide.md +121 -0
- package/workflows/powers/openai-docs/POWER.md +61 -0
- package/workflows/powers/openai-docs/SKILL.md +58 -0
- package/workflows/powers/openai-docs/references/official-source-playbook.md +10 -0
- package/workflows/powers/performance-profiling/POWER.md +61 -114
- package/workflows/powers/performance-profiling/SKILL.md +61 -114
- package/workflows/powers/php-pro/POWER.md +116 -0
- package/workflows/powers/php-pro/SKILL.md +113 -0
- package/workflows/powers/php-pro/references/architecture-and-di.md +239 -0
- package/workflows/powers/php-pro/references/modern-php-features.md +189 -0
- package/workflows/powers/php-pro/references/performance-and-deployment.md +197 -0
- package/workflows/powers/php-pro/references/php84-strict-typing-checklist.md +161 -0
- package/workflows/powers/php-pro/references/testing-and-static-analysis.md +235 -0
- package/workflows/powers/playwright-e2e/POWER.md +85 -0
- package/workflows/powers/playwright-e2e/SKILL.md +82 -0
- package/workflows/powers/playwright-e2e/references/locator-trace-flake-checklist.md +80 -0
- package/workflows/powers/postgres/POWER.md +67 -0
- package/workflows/powers/postgres/SKILL.md +64 -0
- package/workflows/powers/postgres/references/postgres-checklist.md +20 -0
- package/workflows/powers/prompt-engineer/POWER.md +47 -30
- package/workflows/powers/prompt-engineer/SKILL.md +47 -30
- package/workflows/powers/python-pro/POWER.md +47 -36
- package/workflows/powers/python-pro/SKILL.md +47 -36
- package/workflows/powers/react-best-practices/POWER.md +56 -33
- package/workflows/powers/react-best-practices/SKILL.md +56 -33
- package/workflows/powers/react-expert/POWER.md +47 -37
- package/workflows/powers/react-expert/SKILL.md +47 -37
- package/workflows/powers/redis/POWER.md +67 -0
- package/workflows/powers/redis/SKILL.md +64 -0
- package/workflows/powers/redis/references/redis-checklist.md +19 -0
- package/workflows/powers/ruby-pro/POWER.md +118 -0
- package/workflows/powers/ruby-pro/SKILL.md +115 -0
- package/workflows/powers/ruby-pro/references/modern-ruby-features.md +189 -0
- package/workflows/powers/ruby-pro/references/object-design-patterns.md +220 -0
- package/workflows/powers/ruby-pro/references/performance-and-profiling.md +224 -0
- package/workflows/powers/ruby-pro/references/ruby-concurrency-and-testing.md +190 -0
- package/workflows/powers/ruby-pro/references/testing-and-rspec.md +236 -0
- package/workflows/powers/rust-pro/POWER.md +45 -31
- package/workflows/powers/rust-pro/SKILL.md +45 -31
- package/workflows/powers/security-engineer/POWER.md +129 -0
- package/workflows/powers/security-engineer/SKILL.md +126 -0
- package/workflows/powers/seo-fundamentals/POWER.md +59 -102
- package/workflows/powers/seo-fundamentals/SKILL.md +59 -102
- package/workflows/powers/serverless-patterns/POWER.md +171 -0
- package/workflows/powers/serverless-patterns/SKILL.md +168 -0
- package/workflows/powers/skill-creator/POWER.md +90 -0
- package/workflows/powers/skill-creator/SKILL.md +87 -0
- package/workflows/powers/skill-creator/references/platform-formats.md +181 -0
- package/workflows/powers/skill-creator/references/schemas.md +430 -0
- package/workflows/powers/spec-miner/POWER.md +49 -57
- package/workflows/powers/spec-miner/SKILL.md +49 -57
- package/workflows/powers/sqlite/POWER.md +67 -0
- package/workflows/powers/sqlite/SKILL.md +64 -0
- package/workflows/powers/sqlite/references/sqlite-checklist.md +19 -0
- package/workflows/powers/sre-engineer/POWER.md +123 -64
- package/workflows/powers/sre-engineer/SKILL.md +123 -64
- package/workflows/powers/static-analysis/POWER.md +121 -77
- package/workflows/powers/static-analysis/SKILL.md +121 -77
- package/workflows/powers/stripe-best-practices/POWER.md +140 -17
- package/workflows/powers/stripe-best-practices/SKILL.md +139 -17
- package/workflows/powers/supabase/POWER.md +67 -0
- package/workflows/powers/supabase/SKILL.md +64 -0
- package/workflows/powers/supabase/references/supabase-checklist.md +19 -0
- package/workflows/powers/swift-pro/POWER.md +118 -0
- package/workflows/powers/swift-pro/SKILL.md +115 -0
- package/workflows/powers/swift-pro/references/concurrency-patterns.md +165 -0
- package/workflows/powers/swift-pro/references/protocol-and-generics.md +172 -0
- package/workflows/powers/swift-pro/references/sendable-and-isolation.md +116 -0
- package/workflows/powers/swift-pro/references/swift-concurrency-and-protocols.md +260 -0
- package/workflows/powers/swift-pro/references/testing-and-packages.md +192 -0
- package/workflows/powers/tailwind-patterns/POWER.md +71 -240
- package/workflows/powers/tailwind-patterns/SKILL.md +71 -240
- package/workflows/powers/testing-patterns/POWER.md +155 -10
- package/workflows/powers/testing-patterns/SKILL.md +155 -10
- package/workflows/powers/typescript-pro/POWER.md +47 -38
- package/workflows/powers/typescript-pro/SKILL.md +47 -38
- package/workflows/powers/vitess/POWER.md +67 -0
- package/workflows/powers/vitess/SKILL.md +64 -0
- package/workflows/powers/vitess/references/vitess-checklist.md +19 -0
- package/workflows/powers/vulnerability-scanner/POWER.md +146 -10
- package/workflows/powers/vulnerability-scanner/SKILL.md +146 -10
- package/workflows/powers/web-perf/POWER.md +43 -170
- package/workflows/powers/web-perf/SKILL.md +43 -170
- package/workflows/powers/webapp-testing/POWER.md +43 -164
- package/workflows/powers/webapp-testing/SKILL.md +43 -164
|
@@ -1,104 +1,167 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: changelog-generator
|
|
3
|
-
description:
|
|
3
|
+
description: Generate changelogs from conventional commits, semantic versioning, release notes, and automated version management workflows.
|
|
4
|
+
license: Apache-2.0
|
|
5
|
+
metadata:
|
|
6
|
+
author: cubis-foundry
|
|
7
|
+
version: "3.0"
|
|
8
|
+
compatibility: Claude Code, Codex, GitHub Copilot, Gemini CLI
|
|
4
9
|
---
|
|
5
10
|
|
|
6
11
|
# Changelog Generator
|
|
7
12
|
|
|
8
|
-
|
|
13
|
+
## Purpose
|
|
9
14
|
|
|
10
|
-
|
|
15
|
+
Guide changelog generation, release notes writing, and version management using conventional commits and semantic versioning.
|
|
11
16
|
|
|
12
|
-
|
|
13
|
-
- Creating weekly or monthly product update summaries
|
|
14
|
-
- Documenting changes for customers
|
|
15
|
-
- Writing changelog entries for app store submissions
|
|
16
|
-
- Generating update notifications
|
|
17
|
-
- Creating internal release documentation
|
|
18
|
-
- Maintaining a public changelog/product updates page
|
|
17
|
+
## When to Use
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
- Generating a CHANGELOG.md from commit history
|
|
20
|
+
- Writing release notes for a new version
|
|
21
|
+
- Setting up automated versioning workflows
|
|
22
|
+
- Reviewing commit message format and conventions
|
|
23
|
+
- Planning a release with breaking changes
|
|
21
24
|
|
|
22
|
-
|
|
23
|
-
2. **Categorizes Changes**: Groups commits into logical categories (features, improvements, bug fixes, breaking changes, security)
|
|
24
|
-
3. **Translates Technical → User-Friendly**: Converts developer commits into customer language
|
|
25
|
-
4. **Formats Professionally**: Creates clean, structured changelog entries
|
|
26
|
-
5. **Filters Noise**: Excludes internal commits (refactoring, tests, etc.)
|
|
27
|
-
6. **Follows Best Practices**: Applies changelog guidelines and your brand voice
|
|
25
|
+
## Instructions
|
|
28
26
|
|
|
29
|
-
|
|
27
|
+
### Step 1 — Follow Conventional Commits
|
|
30
28
|
|
|
31
|
-
|
|
29
|
+
**Format**: `<type>(<scope>): <description>`
|
|
32
30
|
|
|
33
|
-
|
|
31
|
+
| Type | SemVer Bump | When |
|
|
32
|
+
| ---------- | ----------- | -------------------------------------- |
|
|
33
|
+
| `feat` | Minor | New feature for users |
|
|
34
|
+
| `fix` | Patch | Bug fix for users |
|
|
35
|
+
| `docs` | None | Documentation only |
|
|
36
|
+
| `style` | None | Formatting, no logic change |
|
|
37
|
+
| `refactor` | None | Code restructuring, no behavior change |
|
|
38
|
+
| `perf` | Patch | Performance improvement |
|
|
39
|
+
| `test` | None | Adding or fixing tests |
|
|
40
|
+
| `build` | None | Build system or dependencies |
|
|
41
|
+
| `ci` | None | CI/CD configuration |
|
|
42
|
+
| `chore` | None | Maintenance tasks |
|
|
34
43
|
|
|
35
|
-
|
|
36
|
-
Create a changelog from commits since last release
|
|
37
|
-
```
|
|
44
|
+
**Breaking changes**: Add `!` after type or `BREAKING CHANGE:` in footer:
|
|
38
45
|
|
|
39
46
|
```
|
|
40
|
-
|
|
41
|
-
```
|
|
47
|
+
feat!: remove deprecated API endpoints
|
|
42
48
|
|
|
43
|
-
|
|
44
|
-
Create release notes for version 2.5.0
|
|
49
|
+
BREAKING CHANGE: /v1/users endpoint has been removed. Use /v2/users instead.
|
|
45
50
|
```
|
|
46
51
|
|
|
47
|
-
###
|
|
52
|
+
### Step 2 — Generate Changelog
|
|
48
53
|
|
|
49
|
-
|
|
50
|
-
Create a changelog for all commits between March 1 and March 15
|
|
51
|
-
```
|
|
54
|
+
**Changelog format** (Keep a Changelog style):
|
|
52
55
|
|
|
53
|
-
|
|
56
|
+
```markdown
|
|
57
|
+
# Changelog
|
|
54
58
|
|
|
59
|
+
## [2.1.0] - 2025-01-15
|
|
60
|
+
|
|
61
|
+
### Added
|
|
62
|
+
|
|
63
|
+
- User profile image upload (#234)
|
|
64
|
+
- Dark mode support for dashboard (#256)
|
|
65
|
+
|
|
66
|
+
### Fixed
|
|
67
|
+
|
|
68
|
+
- Login timeout on slow connections (#245)
|
|
69
|
+
- Currency formatting for Japanese Yen (#249)
|
|
70
|
+
|
|
71
|
+
### Changed
|
|
72
|
+
|
|
73
|
+
- Increased password minimum length to 12 characters (#251)
|
|
74
|
+
|
|
75
|
+
## [2.0.0] - 2024-12-01
|
|
76
|
+
|
|
77
|
+
### Breaking Changes
|
|
78
|
+
|
|
79
|
+
- Removed deprecated /v1/users endpoint — use /v2/users (#230)
|
|
80
|
+
|
|
81
|
+
### Added
|
|
82
|
+
|
|
83
|
+
- New user roles system with RBAC (#220)
|
|
55
84
|
```
|
|
56
|
-
Create a changelog for commits since v2.4.0, using my changelog
|
|
57
|
-
guidelines from CHANGELOG_STYLE.md
|
|
58
|
-
```
|
|
59
85
|
|
|
60
|
-
|
|
86
|
+
**Mapping rules**:
|
|
87
|
+
|
|
88
|
+
- `feat` → **Added**
|
|
89
|
+
- `fix` → **Fixed**
|
|
90
|
+
- `feat!` / `BREAKING CHANGE` → **Breaking Changes**
|
|
91
|
+
- `perf` → **Performance**
|
|
92
|
+
- `refactor` with user-visible changes → **Changed**
|
|
93
|
+
- `deprecate` → **Deprecated**
|
|
94
|
+
- `remove` → **Removed**
|
|
95
|
+
|
|
96
|
+
### Step 3 — Semantic Versioning
|
|
97
|
+
|
|
98
|
+
**MAJOR.MINOR.PATCH** (e.g., 2.1.3):
|
|
99
|
+
|
|
100
|
+
- **MAJOR**: Breaking changes (API removal, incompatible changes)
|
|
101
|
+
- **MINOR**: New features (backward-compatible additions)
|
|
102
|
+
- **PATCH**: Bug fixes (backward-compatible fixes)
|
|
103
|
+
|
|
104
|
+
**Pre-release versions**: `2.1.0-beta.1`, `2.1.0-rc.1`
|
|
61
105
|
|
|
62
|
-
**
|
|
106
|
+
**Rules**:
|
|
107
|
+
|
|
108
|
+
- Version 0.x.y is for initial development (anything may change)
|
|
109
|
+
- First stable release is 1.0.0
|
|
110
|
+
- Never change a released version — create a new one
|
|
111
|
+
|
|
112
|
+
### Step 4 — Write Release Notes
|
|
113
|
+
|
|
114
|
+
**Release notes structure**:
|
|
115
|
+
|
|
116
|
+
1. **Headline** — one sentence summarizing the release theme
|
|
117
|
+
2. **Highlights** — 2-3 most important changes with context
|
|
118
|
+
3. **Full changelog** — categorized list of all changes
|
|
119
|
+
4. **Migration guide** — for breaking changes, step-by-step upgrade instructions
|
|
120
|
+
5. **Contributors** — acknowledge contributors
|
|
121
|
+
|
|
122
|
+
**Good highlights**:
|
|
63
123
|
|
|
64
|
-
**Output**:
|
|
65
124
|
```markdown
|
|
66
|
-
|
|
125
|
+
### Highlights
|
|
67
126
|
|
|
68
|
-
|
|
127
|
+
**Dark Mode** — The dashboard now supports dark mode, automatically
|
|
128
|
+
matching your system preference. Toggle manually in Settings → Appearance.
|
|
69
129
|
|
|
70
|
-
|
|
71
|
-
|
|
130
|
+
**Faster Search** — Search results now load 3x faster thanks to a new
|
|
131
|
+
indexing strategy. No changes needed on your end.
|
|
132
|
+
```
|
|
72
133
|
|
|
73
|
-
|
|
74
|
-
Navigate faster without touching your mouse.
|
|
134
|
+
### Step 5 — Automate the Workflow
|
|
75
135
|
|
|
76
|
-
|
|
136
|
+
**CI pipeline**:
|
|
77
137
|
|
|
78
|
-
|
|
79
|
-
|
|
138
|
+
1. Lint commit messages on PR (reject non-conventional)
|
|
139
|
+
2. On merge to main: determine version bump from commits
|
|
140
|
+
3. Generate changelog entry
|
|
141
|
+
4. Bump version in package.json / pyproject.toml
|
|
142
|
+
5. Create git tag
|
|
143
|
+
6. Create GitHub Release with release notes
|
|
144
|
+
7. Publish to package registry
|
|
80
145
|
|
|
81
|
-
##
|
|
146
|
+
## Output Format
|
|
82
147
|
|
|
83
|
-
- Fixed issue where large images wouldn't upload
|
|
84
|
-
- Resolved timezone confusion in scheduled posts
|
|
85
|
-
- Corrected notification badge count
|
|
86
148
|
```
|
|
149
|
+
## Version
|
|
150
|
+
[version number and bump reasoning]
|
|
87
151
|
|
|
88
|
-
|
|
152
|
+
## Changelog Entry
|
|
153
|
+
[formatted changelog in Keep a Changelog style]
|
|
154
|
+
|
|
155
|
+
## Release Notes
|
|
156
|
+
[user-facing summary with highlights and migration guide]
|
|
157
|
+
```
|
|
89
158
|
|
|
90
|
-
##
|
|
159
|
+
## Examples
|
|
91
160
|
|
|
92
|
-
|
|
93
|
-
- Specify date ranges for focused changelogs
|
|
94
|
-
- Use your CHANGELOG_STYLE.md for consistent formatting
|
|
95
|
-
- Review and adjust the generated changelog before publishing
|
|
96
|
-
- Save output directly to CHANGELOG.md
|
|
161
|
+
**User**: "Generate a changelog for our latest release"
|
|
97
162
|
|
|
98
|
-
|
|
163
|
+
**Response approach**: Scan commits since last tag. Categorize by type. Generate changelog in Keep a Changelog format. Determine version bump (major/minor/patch). Write release highlights.
|
|
99
164
|
|
|
100
|
-
|
|
101
|
-
- Writing app store update descriptions
|
|
102
|
-
- Generating email updates for users
|
|
103
|
-
- Creating social media announcement posts
|
|
165
|
+
**User**: "We have breaking API changes — how do we release this?"
|
|
104
166
|
|
|
167
|
+
**Response approach**: Bump major version. Write migration guide with before/after examples. Add deprecation notices in the previous minor release if possible. Generate changelog with Breaking Changes section first.
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
````markdown
|
|
2
|
+
---
|
|
3
|
+
inclusion: manual
|
|
4
|
+
name: ci-cd-pipelines
|
|
5
|
+
description: "Use when designing, reviewing, or debugging CI/CD pipelines across GitHub Actions, GitLab CI, and similar platforms. Covers pipeline architecture, job sequencing, caching, artifact management, environment promotion, security hardening, and flaky-pipeline triage."
|
|
6
|
+
license: MIT
|
|
7
|
+
metadata:
|
|
8
|
+
author: cubis-foundry
|
|
9
|
+
version: "1.0"
|
|
10
|
+
compatibility: Claude Code, Codex, GitHub Copilot
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# CI/CD Pipelines
|
|
14
|
+
|
|
15
|
+
## Purpose
|
|
16
|
+
|
|
17
|
+
Use when designing, reviewing, or debugging CI/CD pipelines across GitHub Actions, GitLab CI, and similar platforms. Covers pipeline architecture, job sequencing, caching, artifact management, environment promotion, security hardening, and flaky-pipeline triage.
|
|
18
|
+
|
|
19
|
+
## When to Use
|
|
20
|
+
|
|
21
|
+
- Working on ci cd pipelines related tasks
|
|
22
|
+
|
|
23
|
+
## Instructions
|
|
24
|
+
|
|
25
|
+
1. **Understand the deployment target** — cloud, container, serverless, or bare-metal. Pipeline shape follows deployment topology.
|
|
26
|
+
2. **Map the job graph** — identify which steps are independent (parallelizable) and which have hard ordering dependencies. Minimize serial chains.
|
|
27
|
+
3. **Isolate build from test from deploy** — each stage must be independently retriable without re-running earlier stages.
|
|
28
|
+
4. **Cache aggressively but invalidate correctly** — hash lockfiles for dependency caches, hash source for build caches. Never cache test state.
|
|
29
|
+
5. **Gate deployments** — staging must pass before production. Use environment protection rules, required reviewers, or manual approvals for high-risk targets.
|
|
30
|
+
|
|
31
|
+
### Pipeline architecture
|
|
32
|
+
|
|
33
|
+
### Job graph design
|
|
34
|
+
|
|
35
|
+
- Prefer fan-out/fan-in: lint + typecheck + unit tests run in parallel, integration tests depend on all three.
|
|
36
|
+
- Keep each job under 10 minutes. Split large test suites across matrix jobs.
|
|
37
|
+
- Use `needs` / `dependencies` to declare explicit ordering — avoid relying on implicit stage ordering.
|
|
38
|
+
|
|
39
|
+
### Caching strategy
|
|
40
|
+
|
|
41
|
+
- **Dependency cache**: key on lockfile hash (`package-lock.json`, `yarn.lock`, `Gemfile.lock`, `go.sum`). Restore with fallback keys.
|
|
42
|
+
- **Build cache**: key on source hash or commit SHA. Use for compiled outputs, Docker layer cache, and generated code.
|
|
43
|
+
- **Never cache**: test databases, integration state, secrets, or environment-specific config.
|
|
44
|
+
|
|
45
|
+
### Artifact management
|
|
46
|
+
|
|
47
|
+
- Upload build artifacts between jobs — do not rebuild in deploy jobs.
|
|
48
|
+
- Set retention periods appropriate to the artifact type (7 days for PR artifacts, 90 days for release artifacts).
|
|
49
|
+
- Sign release artifacts when publishing to registries.
|
|
50
|
+
|
|
51
|
+
### Matrix builds
|
|
52
|
+
|
|
53
|
+
- Use matrix strategy for cross-platform or cross-version testing.
|
|
54
|
+
- Pin exact versions in matrix — do not use `latest` or floating tags.
|
|
55
|
+
- Use `fail-fast: false` for comprehensive test matrices, `fail-fast: true` for blocking checks.
|
|
56
|
+
|
|
57
|
+
### GitHub Actions specifics
|
|
58
|
+
|
|
59
|
+
### Workflow structure
|
|
60
|
+
|
|
61
|
+
```yaml
|
|
62
|
+
name: CI
|
|
63
|
+
on:
|
|
64
|
+
push:
|
|
65
|
+
branches: [main]
|
|
66
|
+
pull_request:
|
|
67
|
+
branches: [main]
|
|
68
|
+
|
|
69
|
+
concurrency:
|
|
70
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
71
|
+
cancel-in-progress: true
|
|
72
|
+
|
|
73
|
+
permissions:
|
|
74
|
+
contents: read
|
|
75
|
+
|
|
76
|
+
jobs:
|
|
77
|
+
lint:
|
|
78
|
+
runs-on: ubuntu-latest
|
|
79
|
+
steps:
|
|
80
|
+
- uses: actions/checkout@v4
|
|
81
|
+
- uses: actions/setup-node@v4
|
|
82
|
+
with:
|
|
83
|
+
node-version-file: ".node-version"
|
|
84
|
+
cache: "npm"
|
|
85
|
+
- run: npm ci
|
|
86
|
+
- run: npm run lint
|
|
87
|
+
|
|
88
|
+
test:
|
|
89
|
+
runs-on: ubuntu-latest
|
|
90
|
+
steps:
|
|
91
|
+
- uses: actions/checkout@v4
|
|
92
|
+
- uses: actions/setup-node@v4
|
|
93
|
+
with:
|
|
94
|
+
node-version-file: ".node-version"
|
|
95
|
+
cache: "npm"
|
|
96
|
+
- run: npm ci
|
|
97
|
+
- run: npm test
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Security hardening
|
|
101
|
+
|
|
102
|
+
- Always set top-level `permissions` to minimum required. Never use `permissions: write-all`.
|
|
103
|
+
- Pin actions to full SHA, not tags: `uses: actions/checkout@<sha>`.
|
|
104
|
+
- Use `concurrency` groups to cancel redundant runs.
|
|
105
|
+
- Never echo secrets. Use `GITHUB_TOKEN` scoping per job.
|
|
106
|
+
- Audit third-party actions — prefer official `actions/` namespace or verified publishers.
|
|
107
|
+
|
|
108
|
+
### Reusable workflows
|
|
109
|
+
|
|
110
|
+
- Extract shared logic into reusable workflows (`workflow_call` trigger).
|
|
111
|
+
- Pass inputs and secrets explicitly — do not inherit.
|
|
112
|
+
- Version reusable workflows with tags or SHA references.
|
|
113
|
+
|
|
114
|
+
### Environment promotion
|
|
115
|
+
|
|
116
|
+
- **PR** → lint + test + preview deploy (auto)
|
|
117
|
+
- **main** → staging deploy (auto) → smoke tests (auto)
|
|
118
|
+
- **Release tag** → production deploy (gated) → canary → full rollout
|
|
119
|
+
- Never deploy directly to production from a PR merge without a staging gate.
|
|
120
|
+
|
|
121
|
+
### Flaky pipeline triage
|
|
122
|
+
|
|
123
|
+
1. Identify flaky jobs by checking re-run success rate.
|
|
124
|
+
2. Common causes: timing-dependent tests, shared mutable state, network calls to external services, race conditions in parallel jobs.
|
|
125
|
+
3. Fix flakiness at the source — do not add retries as a permanent fix.
|
|
126
|
+
4. Quarantine persistently flaky tests into a separate non-blocking job.
|
|
127
|
+
|
|
128
|
+
### Constraints
|
|
129
|
+
|
|
130
|
+
- Avoid monolithic pipeline files over 300 lines — split into reusable workflows and composite actions.
|
|
131
|
+
- Avoid running full E2E suites on every PR — reserve for merge queue or staging.
|
|
132
|
+
- Avoid storing secrets in workflow files — use repository or organization secrets.
|
|
133
|
+
- Avoid `continue-on-error: true` on critical checks — failures must block.
|
|
134
|
+
- Avoid manual version bumps in CI — use semantic-release or similar automation.
|
|
135
|
+
- Avoid running CI steps as root when not required.
|
|
136
|
+
|
|
137
|
+
## Output Format
|
|
138
|
+
|
|
139
|
+
Provide implementation guidance, code examples, and configuration as appropriate to the task.
|
|
140
|
+
|
|
141
|
+
## References
|
|
142
|
+
|
|
143
|
+
| File | Purpose |
|
|
144
|
+
| ------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
|
145
|
+
| `references/github-actions-patterns.md` | Reusable workflow patterns, composite actions, matrix strategies, and environment protection rules. |
|
|
146
|
+
| `references/pipeline-security-checklist.md` | Supply chain hardening, SLSA compliance, secret rotation, and audit trail requirements. |
|
|
147
|
+
|
|
148
|
+
## Scripts
|
|
149
|
+
|
|
150
|
+
No helper scripts are required for this skill right now. Keep execution in `SKILL.md` and `references/` unless repeated automation becomes necessary.
|
|
151
|
+
|
|
152
|
+
## Examples
|
|
153
|
+
|
|
154
|
+
- "Help me with ci cd pipelines best practices in this project"
|
|
155
|
+
- "Review my ci cd pipelines implementation for issues"
|
|
156
|
+
````
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ci-cd-pipelines
|
|
3
|
+
description: "Use when designing, reviewing, or debugging CI/CD pipelines across GitHub Actions, GitLab CI, and similar platforms. Covers pipeline architecture, job sequencing, caching, artifact management, environment promotion, security hardening, and flaky-pipeline triage."
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
author: cubis-foundry
|
|
7
|
+
version: "1.0"
|
|
8
|
+
compatibility: Claude Code, Codex, GitHub Copilot
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# CI/CD Pipelines
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
|
|
15
|
+
Use when designing, reviewing, or debugging CI/CD pipelines across GitHub Actions, GitLab CI, and similar platforms. Covers pipeline architecture, job sequencing, caching, artifact management, environment promotion, security hardening, and flaky-pipeline triage.
|
|
16
|
+
|
|
17
|
+
## When to Use
|
|
18
|
+
|
|
19
|
+
- Working on ci cd pipelines related tasks
|
|
20
|
+
|
|
21
|
+
## Instructions
|
|
22
|
+
|
|
23
|
+
1. **Understand the deployment target** — cloud, container, serverless, or bare-metal. Pipeline shape follows deployment topology.
|
|
24
|
+
2. **Map the job graph** — identify which steps are independent (parallelizable) and which have hard ordering dependencies. Minimize serial chains.
|
|
25
|
+
3. **Isolate build from test from deploy** — each stage must be independently retriable without re-running earlier stages.
|
|
26
|
+
4. **Cache aggressively but invalidate correctly** — hash lockfiles for dependency caches, hash source for build caches. Never cache test state.
|
|
27
|
+
5. **Gate deployments** — staging must pass before production. Use environment protection rules, required reviewers, or manual approvals for high-risk targets.
|
|
28
|
+
|
|
29
|
+
### Pipeline architecture
|
|
30
|
+
|
|
31
|
+
### Job graph design
|
|
32
|
+
|
|
33
|
+
- Prefer fan-out/fan-in: lint + typecheck + unit tests run in parallel, integration tests depend on all three.
|
|
34
|
+
- Keep each job under 10 minutes. Split large test suites across matrix jobs.
|
|
35
|
+
- Use `needs` / `dependencies` to declare explicit ordering — avoid relying on implicit stage ordering.
|
|
36
|
+
|
|
37
|
+
### Caching strategy
|
|
38
|
+
|
|
39
|
+
- **Dependency cache**: key on lockfile hash (`package-lock.json`, `yarn.lock`, `Gemfile.lock`, `go.sum`). Restore with fallback keys.
|
|
40
|
+
- **Build cache**: key on source hash or commit SHA. Use for compiled outputs, Docker layer cache, and generated code.
|
|
41
|
+
- **Never cache**: test databases, integration state, secrets, or environment-specific config.
|
|
42
|
+
|
|
43
|
+
### Artifact management
|
|
44
|
+
|
|
45
|
+
- Upload build artifacts between jobs — do not rebuild in deploy jobs.
|
|
46
|
+
- Set retention periods appropriate to the artifact type (7 days for PR artifacts, 90 days for release artifacts).
|
|
47
|
+
- Sign release artifacts when publishing to registries.
|
|
48
|
+
|
|
49
|
+
### Matrix builds
|
|
50
|
+
|
|
51
|
+
- Use matrix strategy for cross-platform or cross-version testing.
|
|
52
|
+
- Pin exact versions in matrix — do not use `latest` or floating tags.
|
|
53
|
+
- Use `fail-fast: false` for comprehensive test matrices, `fail-fast: true` for blocking checks.
|
|
54
|
+
|
|
55
|
+
### GitHub Actions specifics
|
|
56
|
+
|
|
57
|
+
### Workflow structure
|
|
58
|
+
|
|
59
|
+
```yaml
|
|
60
|
+
name: CI
|
|
61
|
+
on:
|
|
62
|
+
push:
|
|
63
|
+
branches: [main]
|
|
64
|
+
pull_request:
|
|
65
|
+
branches: [main]
|
|
66
|
+
|
|
67
|
+
concurrency:
|
|
68
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
69
|
+
cancel-in-progress: true
|
|
70
|
+
|
|
71
|
+
permissions:
|
|
72
|
+
contents: read
|
|
73
|
+
|
|
74
|
+
jobs:
|
|
75
|
+
lint:
|
|
76
|
+
runs-on: ubuntu-latest
|
|
77
|
+
steps:
|
|
78
|
+
- uses: actions/checkout@v4
|
|
79
|
+
- uses: actions/setup-node@v4
|
|
80
|
+
with:
|
|
81
|
+
node-version-file: ".node-version"
|
|
82
|
+
cache: "npm"
|
|
83
|
+
- run: npm ci
|
|
84
|
+
- run: npm run lint
|
|
85
|
+
|
|
86
|
+
test:
|
|
87
|
+
runs-on: ubuntu-latest
|
|
88
|
+
steps:
|
|
89
|
+
- uses: actions/checkout@v4
|
|
90
|
+
- uses: actions/setup-node@v4
|
|
91
|
+
with:
|
|
92
|
+
node-version-file: ".node-version"
|
|
93
|
+
cache: "npm"
|
|
94
|
+
- run: npm ci
|
|
95
|
+
- run: npm test
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Security hardening
|
|
99
|
+
|
|
100
|
+
- Always set top-level `permissions` to minimum required. Never use `permissions: write-all`.
|
|
101
|
+
- Pin actions to full SHA, not tags: `uses: actions/checkout@<sha>`.
|
|
102
|
+
- Use `concurrency` groups to cancel redundant runs.
|
|
103
|
+
- Never echo secrets. Use `GITHUB_TOKEN` scoping per job.
|
|
104
|
+
- Audit third-party actions — prefer official `actions/` namespace or verified publishers.
|
|
105
|
+
|
|
106
|
+
### Reusable workflows
|
|
107
|
+
|
|
108
|
+
- Extract shared logic into reusable workflows (`workflow_call` trigger).
|
|
109
|
+
- Pass inputs and secrets explicitly — do not inherit.
|
|
110
|
+
- Version reusable workflows with tags or SHA references.
|
|
111
|
+
|
|
112
|
+
### Environment promotion
|
|
113
|
+
|
|
114
|
+
- **PR** → lint + test + preview deploy (auto)
|
|
115
|
+
- **main** → staging deploy (auto) → smoke tests (auto)
|
|
116
|
+
- **Release tag** → production deploy (gated) → canary → full rollout
|
|
117
|
+
- Never deploy directly to production from a PR merge without a staging gate.
|
|
118
|
+
|
|
119
|
+
### Flaky pipeline triage
|
|
120
|
+
|
|
121
|
+
1. Identify flaky jobs by checking re-run success rate.
|
|
122
|
+
2. Common causes: timing-dependent tests, shared mutable state, network calls to external services, race conditions in parallel jobs.
|
|
123
|
+
3. Fix flakiness at the source — do not add retries as a permanent fix.
|
|
124
|
+
4. Quarantine persistently flaky tests into a separate non-blocking job.
|
|
125
|
+
|
|
126
|
+
### Constraints
|
|
127
|
+
|
|
128
|
+
- Avoid monolithic pipeline files over 300 lines — split into reusable workflows and composite actions.
|
|
129
|
+
- Avoid running full E2E suites on every PR — reserve for merge queue or staging.
|
|
130
|
+
- Avoid storing secrets in workflow files — use repository or organization secrets.
|
|
131
|
+
- Avoid `continue-on-error: true` on critical checks — failures must block.
|
|
132
|
+
- Avoid manual version bumps in CI — use semantic-release or similar automation.
|
|
133
|
+
- Avoid running CI steps as root when not required.
|
|
134
|
+
|
|
135
|
+
## Output Format
|
|
136
|
+
|
|
137
|
+
Provide implementation guidance, code examples, and configuration as appropriate to the task.
|
|
138
|
+
|
|
139
|
+
## References
|
|
140
|
+
|
|
141
|
+
| File | Purpose |
|
|
142
|
+
| ------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
|
143
|
+
| `references/github-actions-patterns.md` | Reusable workflow patterns, composite actions, matrix strategies, and environment protection rules. |
|
|
144
|
+
| `references/pipeline-security-checklist.md` | Supply chain hardening, SLSA compliance, secret rotation, and audit trail requirements. |
|
|
145
|
+
|
|
146
|
+
## Scripts
|
|
147
|
+
|
|
148
|
+
No helper scripts are required for this skill right now. Keep execution in `SKILL.md` and `references/` unless repeated automation becomes necessary.
|
|
149
|
+
|
|
150
|
+
## Examples
|
|
151
|
+
|
|
152
|
+
- "Help me with ci cd pipelines best practices in this project"
|
|
153
|
+
- "Review my ci cd pipelines implementation for issues"
|