opencode-skills-collection 4.0.68 → 4.0.69
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/bundled-skills/.antigravity-install-manifest.json +266 -1
- package/bundled-skills/access-review/SKILL.md +394 -0
- package/bundled-skills/access-review/references/details.md +121 -0
- package/bundled-skills/agent-evals/SKILL.md +420 -0
- package/bundled-skills/agent-observability/SKILL.md +346 -0
- package/bundled-skills/agent-observability/references/details.md +786 -0
- package/bundled-skills/ai-agent-security/SKILL.md +393 -0
- package/bundled-skills/ai-agent-security/references/details.md +912 -0
- package/bundled-skills/ai-coding-agent-guardrails/SKILL.md +442 -0
- package/bundled-skills/ai-coding-agent-guardrails/references/details.md +753 -0
- package/bundled-skills/ai-inference-service-mesh/SKILL.md +449 -0
- package/bundled-skills/ai-pipeline-orchestration/SKILL.md +287 -0
- package/bundled-skills/ai-red-teaming/SKILL.md +409 -0
- package/bundled-skills/ai-security-hardening/SKILL.md +343 -0
- package/bundled-skills/ai-sre-incident-response/SKILL.md +336 -0
- package/bundled-skills/alerting-oncall/SKILL.md +458 -0
- package/bundled-skills/alerting-oncall/references/details.md +84 -0
- package/bundled-skills/apk-redteam-pipeline/SKILL.md +446 -0
- package/bundled-skills/argocd-gitops/SKILL.md +469 -0
- package/bundled-skills/arm-templates/SKILL.md +438 -0
- package/bundled-skills/arm-templates/references/details.md +64 -0
- package/bundled-skills/asset-inventory/SKILL.md +412 -0
- package/bundled-skills/asset-inventory/references/details.md +127 -0
- package/bundled-skills/audit-logging/SKILL.md +476 -0
- package/bundled-skills/aws-cloudtrail/SKILL.md +486 -0
- package/bundled-skills/aws-cost-optimization/SKILL.md +331 -0
- package/bundled-skills/aws-ec2/SKILL.md +426 -0
- package/bundled-skills/aws-ecs-fargate/SKILL.md +388 -0
- package/bundled-skills/aws-iam/SKILL.md +463 -0
- package/bundled-skills/aws-lambda/SKILL.md +428 -0
- package/bundled-skills/aws-rds/SKILL.md +380 -0
- package/bundled-skills/aws-s3/SKILL.md +434 -0
- package/bundled-skills/aws-secrets-manager/SKILL.md +486 -0
- package/bundled-skills/aws-vpc/SKILL.md +436 -0
- package/bundled-skills/azure-ai-document-intelligence-ts/SKILL.md +1 -1
- package/bundled-skills/azure-aks/SKILL.md +423 -0
- package/bundled-skills/azure-devops/SKILL.md +457 -0
- package/bundled-skills/azure-functions-devsec/SKILL.md +436 -0
- package/bundled-skills/azure-keyvault/SKILL.md +455 -0
- package/bundled-skills/azure-keyvault/references/details.md +83 -0
- package/bundled-skills/azure-monitor-audit/SKILL.md +379 -0
- package/bundled-skills/azure-networking/SKILL.md +448 -0
- package/bundled-skills/azure-networking/references/details.md +135 -0
- package/bundled-skills/azure-sql/SKILL.md +413 -0
- package/bundled-skills/azure-sql/references/details.md +113 -0
- package/bundled-skills/azure-vms/SKILL.md +402 -0
- package/bundled-skills/azure-vms/references/details.md +134 -0
- package/bundled-skills/backup-recovery/SKILL.md +388 -0
- package/bundled-skills/bb-methodology/SKILL.md +451 -0
- package/bundled-skills/bb-methodology/references/details.md +120 -0
- package/bundled-skills/block-storage/SKILL.md +371 -0
- package/bundled-skills/blue-green-deploy/SKILL.md +453 -0
- package/bundled-skills/blue-green-deploy/references/details.md +90 -0
- package/bundled-skills/bug-bounty/SKILL.md +447 -0
- package/bundled-skills/bug-bounty/references/details.md +1316 -0
- package/bundled-skills/bugcrowd-reporting/SKILL.md +351 -0
- package/bundled-skills/business-continuity/SKILL.md +463 -0
- package/bundled-skills/career-ops/SKILL.md +186 -0
- package/bundled-skills/cdn-setup/SKILL.md +374 -0
- package/bundled-skills/change-management/SKILL.md +438 -0
- package/bundled-skills/change-management/references/details.md +105 -0
- package/bundled-skills/circleci/SKILL.md +475 -0
- package/bundled-skills/cis-benchmarks/SKILL.md +150 -0
- package/bundled-skills/cloudflare-pages/SKILL.md +318 -0
- package/bundled-skills/cloudflare-r2/SKILL.md +353 -0
- package/bundled-skills/cloudflare-workers/SKILL.md +415 -0
- package/bundled-skills/cloudflare-zero-trust/SKILL.md +361 -0
- package/bundled-skills/cloudformation/SKILL.md +461 -0
- package/bundled-skills/constraint-driven-development/SKILL.md +335 -0
- package/bundled-skills/constraint-driven-development/references/floor-guard.md +99 -0
- package/bundled-skills/container-hardening/SKILL.md +126 -0
- package/bundled-skills/container-registries/SKILL.md +435 -0
- package/bundled-skills/container-scanning/SKILL.md +416 -0
- package/bundled-skills/convex-backend/SKILL.md +338 -0
- package/bundled-skills/dast-scanning/SKILL.md +437 -0
- package/bundled-skills/database-backups/SKILL.md +425 -0
- package/bundled-skills/datadog/SKILL.md +487 -0
- package/bundled-skills/dependency-scanning/SKILL.md +457 -0
- package/bundled-skills/devcontainers-nix/SKILL.md +416 -0
- package/bundled-skills/disaster-recovery/SKILL.md +374 -0
- package/bundled-skills/disaster-recovery/references/details.md +219 -0
- package/bundled-skills/dns-management/SKILL.md +375 -0
- package/bundled-skills/docker-compose/SKILL.md +482 -0
- package/bundled-skills/docker-management/SKILL.md +426 -0
- package/bundled-skills/ebpf-observability/SKILL.md +436 -0
- package/bundled-skills/ebpf-observability/references/details.md +542 -0
- package/bundled-skills/elk-stack/SKILL.md +487 -0
- package/bundled-skills/enterprise-vpn-attack/SKILL.md +395 -0
- package/bundled-skills/evidence-hygiene/SKILL.md +404 -0
- package/bundled-skills/feature-flags/SKILL.md +426 -0
- package/bundled-skills/feature-flags/references/details.md +86 -0
- package/bundled-skills/fedramp-compliance/SKILL.md +453 -0
- package/bundled-skills/firebase-app-platform/SKILL.md +381 -0
- package/bundled-skills/firewall-config/SKILL.md +479 -0
- package/bundled-skills/gcp-audit-logs/SKILL.md +452 -0
- package/bundled-skills/gcp-audit-logs/references/details.md +56 -0
- package/bundled-skills/gcp-cloud-functions/SKILL.md +284 -0
- package/bundled-skills/gcp-cloud-sql/SKILL.md +277 -0
- package/bundled-skills/gcp-compute/SKILL.md +319 -0
- package/bundled-skills/gcp-gke/SKILL.md +307 -0
- package/bundled-skills/gcp-networking/SKILL.md +293 -0
- package/bundled-skills/gcp-secret-manager/SKILL.md +421 -0
- package/bundled-skills/gcp-secret-manager/references/details.md +131 -0
- package/bundled-skills/gdpr-compliance/SKILL.md +451 -0
- package/bundled-skills/gdpr-compliance/references/details.md +145 -0
- package/bundled-skills/geo-audit/SKILL.md +368 -0
- package/bundled-skills/geo-brand-mentions/SKILL.md +68 -0
- package/bundled-skills/geo-brand-mentions/references/details.md +471 -0
- package/bundled-skills/geo-citability/SKILL.md +350 -0
- package/bundled-skills/geo-compare/SKILL.md +340 -0
- package/bundled-skills/geo-content/SKILL.md +383 -0
- package/bundled-skills/geo-crawlers/SKILL.md +408 -0
- package/bundled-skills/geo-llmstxt/SKILL.md +464 -0
- package/bundled-skills/geo-platform-optimizer/SKILL.md +314 -0
- package/bundled-skills/geo-proposal/SKILL.md +378 -0
- package/bundled-skills/geo-prospect/SKILL.md +225 -0
- package/bundled-skills/geo-report/SKILL.md +436 -0
- package/bundled-skills/geo-report-pdf/SKILL.md +157 -0
- package/bundled-skills/geo-schema/SKILL.md +408 -0
- package/bundled-skills/geo-technical/SKILL.md +78 -0
- package/bundled-skills/geo-technical/references/details.md +543 -0
- package/bundled-skills/git-workflow/SKILL.md +460 -0
- package/bundled-skills/github-actions/SKILL.md +368 -0
- package/bundled-skills/gitlab-ci/SKILL.md +340 -0
- package/bundled-skills/gpu-kubernetes-operations/SKILL.md +468 -0
- package/bundled-skills/gpu-server-management/SKILL.md +236 -0
- package/bundled-skills/hashicorp-vault/SKILL.md +408 -0
- package/bundled-skills/helm-charts/SKILL.md +469 -0
- package/bundled-skills/hipaa-compliance/SKILL.md +451 -0
- package/bundled-skills/hunt-aspnet/SKILL.md +321 -0
- package/bundled-skills/hunt-ato/SKILL.md +184 -0
- package/bundled-skills/hunt-auth-bypass/SKILL.md +426 -0
- package/bundled-skills/hunt-auth-bypass/references/details.md +80 -0
- package/bundled-skills/hunt-brute-force/SKILL.md +341 -0
- package/bundled-skills/hunt-business-logic/SKILL.md +281 -0
- package/bundled-skills/hunt-cache-poison/SKILL.md +382 -0
- package/bundled-skills/hunt-captcha-bypass/SKILL.md +136 -0
- package/bundled-skills/hunt-cicd/SKILL.md +311 -0
- package/bundled-skills/hunt-clickjacking/SKILL.md +110 -0
- package/bundled-skills/hunt-cors/SKILL.md +335 -0
- package/bundled-skills/hunt-dom/SKILL.md +323 -0
- package/bundled-skills/hunt-exceptional-conditions/SKILL.md +111 -0
- package/bundled-skills/hunt-file-upload/SKILL.md +202 -0
- package/bundled-skills/hunt-fintech-graphql/SKILL.md +289 -0
- package/bundled-skills/hunt-forgot-password/SKILL.md +114 -0
- package/bundled-skills/hunt-grpc/SKILL.md +317 -0
- package/bundled-skills/hunt-host-header/SKILL.md +309 -0
- package/bundled-skills/hunt-html-injection/SKILL.md +106 -0
- package/bundled-skills/hunt-http-smuggling/SKILL.md +129 -0
- package/bundled-skills/hunt-http-smuggling/references/phase2h-smuggling-cachepoison.md +177 -0
- package/bundled-skills/hunt-idor/SKILL.md +434 -0
- package/bundled-skills/hunt-jwt-crypto/SKILL.md +221 -0
- package/bundled-skills/hunt-k8s/SKILL.md +337 -0
- package/bundled-skills/hunt-laravel/SKILL.md +255 -0
- package/bundled-skills/hunt-ldap/SKILL.md +351 -0
- package/bundled-skills/hunt-lfi/SKILL.md +311 -0
- package/bundled-skills/hunt-llm-ai/SKILL.md +289 -0
- package/bundled-skills/hunt-mfa-bypass/SKILL.md +177 -0
- package/bundled-skills/hunt-misc/SKILL.md +378 -0
- package/bundled-skills/hunt-nextjs/SKILL.md +299 -0
- package/bundled-skills/hunt-nodejs/SKILL.md +263 -0
- package/bundled-skills/hunt-nosqli/SKILL.md +210 -0
- package/bundled-skills/hunt-ntlm-info/SKILL.md +314 -0
- package/bundled-skills/hunt-oauth/SKILL.md +459 -0
- package/bundled-skills/hunt-open-redirect/SKILL.md +223 -0
- package/bundled-skills/hunt-race-condition/SKILL.md +381 -0
- package/bundled-skills/hunt-race-condition/references/details.md +159 -0
- package/bundled-skills/hunt-rag-vector/SKILL.md +212 -0
- package/bundled-skills/hunt-rce/SKILL.md +444 -0
- package/bundled-skills/hunt-rce/references/details.md +110 -0
- package/bundled-skills/hunt-saml/SKILL.md +156 -0
- package/bundled-skills/hunt-session/SKILL.md +342 -0
- package/bundled-skills/hunt-shadow-api/SKILL.md +198 -0
- package/bundled-skills/hunt-source-leak/SKILL.md +345 -0
- package/bundled-skills/hunt-spa-api/SKILL.md +163 -0
- package/bundled-skills/hunt-springboot/SKILL.md +285 -0
- package/bundled-skills/hunt-sqli/SKILL.md +466 -0
- package/bundled-skills/hunt-ssrf/SKILL.md +396 -0
- package/bundled-skills/hunt-ssrf/references/details.md +179 -0
- package/bundled-skills/hunt-ssti/SKILL.md +163 -0
- package/bundled-skills/hunt-subdomain/SKILL.md +379 -0
- package/bundled-skills/hunt-tls-network/SKILL.md +399 -0
- package/bundled-skills/hunt-xxe/SKILL.md +466 -0
- package/bundled-skills/i-have-adhd/SKILL.md +170 -0
- package/bundled-skills/identity-access-management/SKILL.md +382 -0
- package/bundled-skills/identity-access-management/references/details.md +524 -0
- package/bundled-skills/incident-management/SKILL.md +484 -0
- package/bundled-skills/incident-response/SKILL.md +448 -0
- package/bundled-skills/incident-response/references/details.md +113 -0
- package/bundled-skills/interview-me/SKILL.md +248 -0
- package/bundled-skills/iso27001-compliance/SKILL.md +460 -0
- package/bundled-skills/jenkins/SKILL.md +462 -0
- package/bundled-skills/jev-use/SKILL.md +158 -0
- package/bundled-skills/kubernetes-hardening/SKILL.md +154 -0
- package/bundled-skills/kubernetes-ops/SKILL.md +449 -0
- package/bundled-skills/kubernetes-ops/references/details.md +108 -0
- package/bundled-skills/kustomize/SKILL.md +478 -0
- package/bundled-skills/linux-administration/SKILL.md +367 -0
- package/bundled-skills/linux-hardening/SKILL.md +154 -0
- package/bundled-skills/llm-app-security/SKILL.md +389 -0
- package/bundled-skills/llm-app-security/references/details.md +674 -0
- package/bundled-skills/llm-caching/SKILL.md +334 -0
- package/bundled-skills/llm-cost-optimization/SKILL.md +311 -0
- package/bundled-skills/llm-fine-tuning/SKILL.md +329 -0
- package/bundled-skills/llm-gateway/SKILL.md +282 -0
- package/bundled-skills/llm-inference-scaling/SKILL.md +286 -0
- package/bundled-skills/llmops-platform-engineering/SKILL.md +472 -0
- package/bundled-skills/load-balancing/SKILL.md +403 -0
- package/bundled-skills/loki-logging/SKILL.md +479 -0
- package/bundled-skills/m365-entra-attack/SKILL.md +423 -0
- package/bundled-skills/mac-mini-llm-lab/SKILL.md +350 -0
- package/bundled-skills/mcp-server-security/SKILL.md +356 -0
- package/bundled-skills/mcp-server-security/references/details.md +745 -0
- package/bundled-skills/mdm-device-management/SKILL.md +404 -0
- package/bundled-skills/mdm-device-management/references/details.md +410 -0
- package/bundled-skills/meme-coin-audit/SKILL.md +402 -0
- package/bundled-skills/mid-engagement-ir-detection/SKILL.md +377 -0
- package/bundled-skills/model-registry-governance/SKILL.md +452 -0
- package/bundled-skills/model-serving-kubernetes/SKILL.md +339 -0
- package/bundled-skills/model-supply-chain-security/SKILL.md +427 -0
- package/bundled-skills/mongodb/SKILL.md +436 -0
- package/bundled-skills/multi-tenant-llm-hosting/SKILL.md +435 -0
- package/bundled-skills/multi-tenant-llm-hosting/references/details.md +211 -0
- package/bundled-skills/mysql/SKILL.md +390 -0
- package/bundled-skills/new-relic/SKILL.md +472 -0
- package/bundled-skills/nfs-storage/SKILL.md +356 -0
- package/bundled-skills/object-storage/SKILL.md +378 -0
- package/bundled-skills/offensive-osint/SKILL.md +443 -0
- package/bundled-skills/okta-attack/SKILL.md +436 -0
- package/bundled-skills/ollama-stack/SKILL.md +379 -0
- package/bundled-skills/openclaw-deployment-hardening/SKILL.md +135 -0
- package/bundled-skills/openclaw-local-mac-mini/SKILL.md +426 -0
- package/bundled-skills/openclaw-local-mac-mini/references/details.md +221 -0
- package/bundled-skills/openclaw-security-hardening/SKILL.md +135 -0
- package/bundled-skills/openshift/SKILL.md +485 -0
- package/bundled-skills/opentelemetry/SKILL.md +438 -0
- package/bundled-skills/opentelemetry/references/details.md +78 -0
- package/bundled-skills/opentofu-migration/SKILL.md +349 -0
- package/bundled-skills/osint-methodology/SKILL.md +460 -0
- package/bundled-skills/osint-methodology/references/details.md +1350 -0
- package/bundled-skills/pci-dss-compliance/SKILL.md +446 -0
- package/bundled-skills/penetration-testing/SKILL.md +152 -0
- package/bundled-skills/performance-tuning/SKILL.md +381 -0
- package/bundled-skills/planetscale/SKILL.md +297 -0
- package/bundled-skills/platform-engineering/SKILL.md +348 -0
- package/bundled-skills/platform-engineering/references/details.md +944 -0
- package/bundled-skills/podman/SKILL.md +405 -0
- package/bundled-skills/policy-as-code/SKILL.md +434 -0
- package/bundled-skills/policy-as-code/references/details.md +204 -0
- package/bundled-skills/postgresql-devsec/SKILL.md +378 -0
- package/bundled-skills/prometheus-grafana/SKILL.md +469 -0
- package/bundled-skills/prompt-injection-defense/SKILL.md +483 -0
- package/bundled-skills/rag-infrastructure/SKILL.md +269 -0
- package/bundled-skills/rag-observability-evals/SKILL.md +444 -0
- package/bundled-skills/rag-observability-evals/references/details.md +92 -0
- package/bundled-skills/recon-scope-triage/SKILL.md +128 -0
- package/bundled-skills/redis/SKILL.md +421 -0
- package/bundled-skills/redteam-report-template/SKILL.md +370 -0
- package/bundled-skills/report-writing/SKILL.md +426 -0
- package/bundled-skills/report-writing/references/details.md +187 -0
- package/bundled-skills/reverse-proxy/SKILL.md +420 -0
- package/bundled-skills/runbook-creation/SKILL.md +438 -0
- package/bundled-skills/runbook-creation/references/details.md +71 -0
- package/bundled-skills/saas-security-posture/SKILL.md +415 -0
- package/bundled-skills/sast-scanning/SKILL.md +444 -0
- package/bundled-skills/sbom-supply-chain/SKILL.md +433 -0
- package/bundled-skills/security-arsenal/SKILL.md +446 -0
- package/bundled-skills/security-arsenal/references/details.md +540 -0
- package/bundled-skills/security-automation/SKILL.md +146 -0
- package/bundled-skills/semantic-versioning/SKILL.md +434 -0
- package/bundled-skills/semantic-versioning/references/details.md +83 -0
- package/bundled-skills/service-mesh/SKILL.md +422 -0
- package/bundled-skills/soc2-compliance/SKILL.md +409 -0
- package/bundled-skills/sops-encryption/SKILL.md +124 -0
- package/bundled-skills/sre-dashboards/SKILL.md +143 -0
- package/bundled-skills/ssh-configuration/SKILL.md +324 -0
- package/bundled-skills/ssl-tls-management/SKILL.md +428 -0
- package/bundled-skills/ssl-tls-management/references/details.md +99 -0
- package/bundled-skills/startup-it-troubleshooting/SKILL.md +415 -0
- package/bundled-skills/supply-chain-attack-recon/SKILL.md +453 -0
- package/bundled-skills/supply-chain-attack-recon/references/details.md +258 -0
- package/bundled-skills/systemd-services/SKILL.md +379 -0
- package/bundled-skills/terraform-aws/SKILL.md +125 -0
- package/bundled-skills/terraform-azure/SKILL.md +415 -0
- package/bundled-skills/terraform-azure/references/details.md +231 -0
- package/bundled-skills/terraform-gcp/SKILL.md +369 -0
- package/bundled-skills/threat-modeling/SKILL.md +487 -0
- package/bundled-skills/user-management/SKILL.md +383 -0
- package/bundled-skills/using-agent-skills/SKILL.md +220 -0
- package/bundled-skills/vector-database-ops/SKILL.md +300 -0
- package/bundled-skills/vendor-management/SKILL.md +439 -0
- package/bundled-skills/vendor-management/references/details.md +109 -0
- package/bundled-skills/vercel-deployments/SKILL.md +296 -0
- package/bundled-skills/vllm-server/SKILL.md +236 -0
- package/bundled-skills/vmware-vcenter-attack/SKILL.md +412 -0
- package/bundled-skills/vpn-setup/SKILL.md +452 -0
- package/bundled-skills/vulnerability-scanning/SKILL.md +448 -0
- package/bundled-skills/waf-setup/SKILL.md +354 -0
- package/bundled-skills/waf-setup/references/details.md +211 -0
- package/bundled-skills/web2-recon/SKILL.md +440 -0
- package/bundled-skills/web2-recon/references/details.md +319 -0
- package/bundled-skills/web3-audit/SKILL.md +445 -0
- package/bundled-skills/web3-audit/references/details.md +224 -0
- package/bundled-skills/windows-hardening/SKILL.md +454 -0
- package/bundled-skills/windows-hardening/references/details.md +204 -0
- package/bundled-skills/windows-server/SKILL.md +318 -0
- package/bundled-skills/zero-trust/SKILL.md +461 -0
- package/package.json +1 -1
- package/skills_index.json +6943 -323
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: semantic-versioning
|
|
3
|
+
description: Automate versioning and changelog generation using semantic versioning
|
|
4
|
+
principles.
|
|
5
|
+
category: devops
|
|
6
|
+
risk: critical
|
|
7
|
+
source: https://github.com/BagelHole/DevOps-Security-Agent-Skills
|
|
8
|
+
source_repo: BagelHole/DevOps-Security-Agent-Skills
|
|
9
|
+
source_type: community
|
|
10
|
+
date_added: '2026-09-20'
|
|
11
|
+
license: MIT
|
|
12
|
+
license_source: https://github.com/BagelHole/DevOps-Security-Agent-Skills/blob/main/LICENSE
|
|
13
|
+
compatibility: Requires the relevant platform CLIs (kubectl, helm, terraform, git,
|
|
14
|
+
CI runners) and authorized access to the target environment. Docs-only; helper scripts
|
|
15
|
+
and templates not bundled.
|
|
16
|
+
metadata:
|
|
17
|
+
author: devops-skills
|
|
18
|
+
version: '1.0'
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# Semantic Versioning
|
|
22
|
+
|
|
23
|
+
Automate version management and changelog generation following SemVer principles.
|
|
24
|
+
|
|
25
|
+
## Prerequisites
|
|
26
|
+
|
|
27
|
+
- Git repository with commit history
|
|
28
|
+
- Node.js (for most tools)
|
|
29
|
+
- Conventional commits (recommended)
|
|
30
|
+
|
|
31
|
+
## Semantic Versioning Basics
|
|
32
|
+
|
|
33
|
+
### Version Format
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
MAJOR.MINOR.PATCH[-PRERELEASE][+BUILD]
|
|
37
|
+
|
|
38
|
+
Examples:
|
|
39
|
+
1.0.0
|
|
40
|
+
2.1.3
|
|
41
|
+
1.0.0-alpha.1
|
|
42
|
+
1.0.0-beta.2+build.123
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Version Components
|
|
46
|
+
|
|
47
|
+
| Component | When to Increment |
|
|
48
|
+
|-----------|-------------------|
|
|
49
|
+
| MAJOR | Breaking changes (incompatible API changes) |
|
|
50
|
+
| MINOR | New features (backward compatible) |
|
|
51
|
+
| PATCH | Bug fixes (backward compatible) |
|
|
52
|
+
| PRERELEASE | Pre-release versions (alpha, beta, rc) |
|
|
53
|
+
| BUILD | Build metadata (ignored in precedence) |
|
|
54
|
+
|
|
55
|
+
### Version Precedence
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta
|
|
59
|
+
< 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11
|
|
60
|
+
< 1.0.0-rc.1 < 1.0.0 < 2.0.0
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Conventional Commits to Version
|
|
64
|
+
|
|
65
|
+
```yaml
|
|
66
|
+
Commit Type → Version Bump:
|
|
67
|
+
feat: → MINOR
|
|
68
|
+
fix: → PATCH
|
|
69
|
+
docs: → PATCH (or no release)
|
|
70
|
+
style: → PATCH (or no release)
|
|
71
|
+
refactor: → PATCH
|
|
72
|
+
perf: → PATCH
|
|
73
|
+
test: → No release
|
|
74
|
+
chore: → No release
|
|
75
|
+
|
|
76
|
+
BREAKING CHANGE: → MAJOR
|
|
77
|
+
feat!: → MAJOR
|
|
78
|
+
fix!: → MAJOR
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## semantic-release
|
|
82
|
+
|
|
83
|
+
### Installation
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
npm install --save-dev semantic-release \
|
|
87
|
+
@semantic-release/changelog \
|
|
88
|
+
@semantic-release/git
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Configuration
|
|
92
|
+
|
|
93
|
+
```json
|
|
94
|
+
// .releaserc.json
|
|
95
|
+
{
|
|
96
|
+
"branches": ["main"],
|
|
97
|
+
"plugins": [
|
|
98
|
+
"@semantic-release/commit-analyzer",
|
|
99
|
+
"@semantic-release/release-notes-generator",
|
|
100
|
+
["@semantic-release/changelog", {
|
|
101
|
+
"changelogFile": "CHANGELOG.md"
|
|
102
|
+
}],
|
|
103
|
+
["@semantic-release/npm", {
|
|
104
|
+
"npmPublish": true
|
|
105
|
+
}],
|
|
106
|
+
["@semantic-release/git", {
|
|
107
|
+
"assets": ["CHANGELOG.md", "package.json", "package-lock.json"],
|
|
108
|
+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
109
|
+
}],
|
|
110
|
+
"@semantic-release/github"
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Advanced Configuration
|
|
116
|
+
|
|
117
|
+
```javascript
|
|
118
|
+
// release.config.js
|
|
119
|
+
module.exports = {
|
|
120
|
+
branches: [
|
|
121
|
+
'main',
|
|
122
|
+
{ name: 'beta', prerelease: true },
|
|
123
|
+
{ name: 'alpha', prerelease: true }
|
|
124
|
+
],
|
|
125
|
+
plugins: [
|
|
126
|
+
['@semantic-release/commit-analyzer', {
|
|
127
|
+
preset: 'angular',
|
|
128
|
+
releaseRules: [
|
|
129
|
+
{ type: 'docs', release: 'patch' },
|
|
130
|
+
{ type: 'refactor', release: 'patch' },
|
|
131
|
+
{ type: 'style', release: 'patch' },
|
|
132
|
+
{ type: 'perf', release: 'patch' },
|
|
133
|
+
{ breaking: true, release: 'major' }
|
|
134
|
+
]
|
|
135
|
+
}],
|
|
136
|
+
['@semantic-release/release-notes-generator', {
|
|
137
|
+
preset: 'angular',
|
|
138
|
+
writerOpts: {
|
|
139
|
+
commitsSort: ['subject', 'scope']
|
|
140
|
+
}
|
|
141
|
+
}],
|
|
142
|
+
'@semantic-release/changelog',
|
|
143
|
+
'@semantic-release/npm',
|
|
144
|
+
'@semantic-release/git',
|
|
145
|
+
'@semantic-release/github'
|
|
146
|
+
]
|
|
147
|
+
};
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### GitHub Actions Integration
|
|
151
|
+
|
|
152
|
+
```yaml
|
|
153
|
+
# .github/workflows/release.yml
|
|
154
|
+
name: Release
|
|
155
|
+
|
|
156
|
+
on:
|
|
157
|
+
push:
|
|
158
|
+
branches: [main]
|
|
159
|
+
|
|
160
|
+
jobs:
|
|
161
|
+
release:
|
|
162
|
+
runs-on: ubuntu-latest
|
|
163
|
+
steps:
|
|
164
|
+
- uses: actions/checkout@v4
|
|
165
|
+
with:
|
|
166
|
+
fetch-depth: 0
|
|
167
|
+
persist-credentials: false
|
|
168
|
+
|
|
169
|
+
- uses: actions/setup-node@v4
|
|
170
|
+
with:
|
|
171
|
+
node-version: '20'
|
|
172
|
+
|
|
173
|
+
- run: npm ci
|
|
174
|
+
|
|
175
|
+
- name: Release
|
|
176
|
+
env:
|
|
177
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
178
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
179
|
+
run: npx semantic-release
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
## standard-version
|
|
183
|
+
|
|
184
|
+
### Installation
|
|
185
|
+
|
|
186
|
+
```bash
|
|
187
|
+
npm install --save-dev standard-version
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### Configuration
|
|
191
|
+
|
|
192
|
+
```json
|
|
193
|
+
// .versionrc.json
|
|
194
|
+
{
|
|
195
|
+
"types": [
|
|
196
|
+
{ "type": "feat", "section": "Features" },
|
|
197
|
+
{ "type": "fix", "section": "Bug Fixes" },
|
|
198
|
+
{ "type": "docs", "section": "Documentation" },
|
|
199
|
+
{ "type": "style", "section": "Styling" },
|
|
200
|
+
{ "type": "refactor", "section": "Code Refactoring" },
|
|
201
|
+
{ "type": "perf", "section": "Performance" },
|
|
202
|
+
{ "type": "test", "section": "Tests" },
|
|
203
|
+
{ "type": "chore", "section": "Maintenance" }
|
|
204
|
+
],
|
|
205
|
+
"skip": {
|
|
206
|
+
"bump": false,
|
|
207
|
+
"changelog": false,
|
|
208
|
+
"commit": false,
|
|
209
|
+
"tag": false
|
|
210
|
+
},
|
|
211
|
+
"commitUrlFormat": "https://github.com/owner/repo/commit/{{hash}}",
|
|
212
|
+
"compareUrlFormat": "https://github.com/owner/repo/compare/{{previousTag}}...{{currentTag}}"
|
|
213
|
+
}
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
### Usage
|
|
217
|
+
|
|
218
|
+
```bash
|
|
219
|
+
# First release
|
|
220
|
+
npx standard-version --first-release
|
|
221
|
+
|
|
222
|
+
# Regular release (auto-detect version bump)
|
|
223
|
+
npx standard-version
|
|
224
|
+
|
|
225
|
+
# Specific version bump
|
|
226
|
+
npx standard-version --release-as minor
|
|
227
|
+
npx standard-version --release-as 1.1.0
|
|
228
|
+
|
|
229
|
+
# Pre-release
|
|
230
|
+
npx standard-version --prerelease alpha
|
|
231
|
+
npx standard-version --prerelease beta
|
|
232
|
+
|
|
233
|
+
# Dry run
|
|
234
|
+
npx standard-version --dry-run
|
|
235
|
+
|
|
236
|
+
# Skip specific steps
|
|
237
|
+
npx standard-version --skip.changelog
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
### NPM Scripts
|
|
241
|
+
|
|
242
|
+
```json
|
|
243
|
+
// package.json
|
|
244
|
+
{
|
|
245
|
+
"scripts": {
|
|
246
|
+
"release": "standard-version",
|
|
247
|
+
"release:minor": "standard-version --release-as minor",
|
|
248
|
+
"release:major": "standard-version --release-as major",
|
|
249
|
+
"release:alpha": "standard-version --prerelease alpha",
|
|
250
|
+
"release:beta": "standard-version --prerelease beta",
|
|
251
|
+
"release:dry": "standard-version --dry-run"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
## Changelog Generation
|
|
257
|
+
|
|
258
|
+
### conventional-changelog
|
|
259
|
+
|
|
260
|
+
```bash
|
|
261
|
+
# Install
|
|
262
|
+
npm install -g conventional-changelog-cli
|
|
263
|
+
|
|
264
|
+
# Generate changelog
|
|
265
|
+
conventional-changelog -p angular -i CHANGELOG.md -s
|
|
266
|
+
|
|
267
|
+
# Generate all history
|
|
268
|
+
conventional-changelog -p angular -i CHANGELOG.md -s -r 0
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
### git-cliff
|
|
272
|
+
|
|
273
|
+
```bash
|
|
274
|
+
# Install
|
|
275
|
+
cargo install git-cliff
|
|
276
|
+
|
|
277
|
+
# Generate changelog
|
|
278
|
+
git cliff -o CHANGELOG.md
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
```toml
|
|
282
|
+
# cliff.toml
|
|
283
|
+
[changelog]
|
|
284
|
+
header = "# Changelog\n\n"
|
|
285
|
+
body = """
|
|
286
|
+
{% for group, commits in commits | group_by(attribute="group") %}
|
|
287
|
+
## {{ group | upper_first }}
|
|
288
|
+
{% for commit in commits %}
|
|
289
|
+
- {{ commit.message | upper_first }}\
|
|
290
|
+
{% endfor %}
|
|
291
|
+
{% endfor %}
|
|
292
|
+
"""
|
|
293
|
+
trim = true
|
|
294
|
+
|
|
295
|
+
[git]
|
|
296
|
+
conventional_commits = true
|
|
297
|
+
filter_unconventional = true
|
|
298
|
+
commit_preprocessors = [
|
|
299
|
+
{ pattern = '\((\w+)\s#([0-9]+)\)', replace = "([#${2}](https://github.com/owner/repo/issues/${2}))" },
|
|
300
|
+
]
|
|
301
|
+
commit_parsers = [
|
|
302
|
+
{ message = "^feat", group = "Features" },
|
|
303
|
+
{ message = "^fix", group = "Bug Fixes" },
|
|
304
|
+
{ message = "^doc", group = "Documentation" },
|
|
305
|
+
{ message = "^perf", group = "Performance" },
|
|
306
|
+
{ message = "^refactor", group = "Refactoring" },
|
|
307
|
+
{ message = "^style", group = "Styling" },
|
|
308
|
+
{ message = "^test", group = "Testing" },
|
|
309
|
+
{ message = "^chore", group = "Miscellaneous" },
|
|
310
|
+
]
|
|
311
|
+
filter_commits = true
|
|
312
|
+
tag_pattern = "v[0-9]*"
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
## Version Bumping Scripts
|
|
316
|
+
|
|
317
|
+
### Bash Script
|
|
318
|
+
|
|
319
|
+
```bash
|
|
320
|
+
#!/bin/bash
|
|
321
|
+
# bump-version.sh
|
|
322
|
+
|
|
323
|
+
CURRENT_VERSION=$(cat package.json | jq -r '.version')
|
|
324
|
+
echo "Current version: $CURRENT_VERSION"
|
|
325
|
+
|
|
326
|
+
IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT_VERSION"
|
|
327
|
+
|
|
328
|
+
case $1 in
|
|
329
|
+
major)
|
|
330
|
+
NEW_VERSION="$((MAJOR + 1)).0.0"
|
|
331
|
+
;;
|
|
332
|
+
minor)
|
|
333
|
+
NEW_VERSION="$MAJOR.$((MINOR + 1)).0"
|
|
334
|
+
;;
|
|
335
|
+
patch)
|
|
336
|
+
NEW_VERSION="$MAJOR.$MINOR.$((PATCH + 1))"
|
|
337
|
+
;;
|
|
338
|
+
*)
|
|
339
|
+
echo "Usage: $0 {major|minor|patch}"
|
|
340
|
+
exit 1
|
|
341
|
+
;;
|
|
342
|
+
esac
|
|
343
|
+
|
|
344
|
+
echo "New version: $NEW_VERSION"
|
|
345
|
+
|
|
346
|
+
# Update package.json
|
|
347
|
+
npm version $NEW_VERSION --no-git-tag-version
|
|
348
|
+
|
|
349
|
+
# Create git tag
|
|
350
|
+
git add package.json package-lock.json
|
|
351
|
+
git commit -m "chore: bump version to $NEW_VERSION"
|
|
352
|
+
git tag -a "v$NEW_VERSION" -m "Version $NEW_VERSION"
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
### Python Script
|
|
356
|
+
|
|
357
|
+
```python
|
|
358
|
+
#!/usr/bin/env python3
|
|
359
|
+
# bump_version.py
|
|
360
|
+
|
|
361
|
+
import re
|
|
362
|
+
import sys
|
|
363
|
+
import subprocess
|
|
364
|
+
|
|
365
|
+
def get_current_version():
|
|
366
|
+
with open('setup.py', 'r') as f:
|
|
367
|
+
content = f.read()
|
|
368
|
+
match = re.search(r"version=['\"] ([^'\"]+)['\"]", content)
|
|
369
|
+
return match.group(1) if match else None
|
|
370
|
+
|
|
371
|
+
def bump_version(current, bump_type):
|
|
372
|
+
major, minor, patch = map(int, current.split('.'))
|
|
373
|
+
|
|
374
|
+
if bump_type == 'major':
|
|
375
|
+
return f'{major + 1}.0.0'
|
|
376
|
+
elif bump_type == 'minor':
|
|
377
|
+
return f'{major}.{minor + 1}.0'
|
|
378
|
+
elif bump_type == 'patch':
|
|
379
|
+
return f'{major}.{minor}.{patch + 1}'
|
|
380
|
+
else:
|
|
381
|
+
raise ValueError(f'Invalid bump type: {bump_type}')
|
|
382
|
+
|
|
383
|
+
def update_version(old_version, new_version):
|
|
384
|
+
with open('setup.py', 'r') as f:
|
|
385
|
+
content = f.read()
|
|
386
|
+
|
|
387
|
+
content = content.replace(f"version='{old_version}'", f"version='{new_version}'")
|
|
388
|
+
|
|
389
|
+
with open('setup.py', 'w') as f:
|
|
390
|
+
f.write(content)
|
|
391
|
+
|
|
392
|
+
if __name__ == '__main__':
|
|
393
|
+
bump_type = sys.argv[1] if len(sys.argv) > 1 else 'patch'
|
|
394
|
+
current = get_current_version()
|
|
395
|
+
new = bump_version(current, bump_type)
|
|
396
|
+
|
|
397
|
+
print(f'Bumping version: {current} → {new}')
|
|
398
|
+
update_version(current, new)
|
|
399
|
+
|
|
400
|
+
subprocess.run(['git', 'add', 'setup.py'])
|
|
401
|
+
subprocess.run(['git', 'commit', '-m', f'chore: bump version to {new}'])
|
|
402
|
+
subprocess.run(['git', 'tag', '-a', f'v{new}', '-m', f'Version {new}'])
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
## Contents
|
|
407
|
+
|
|
408
|
+
- [Multi-Package Versioning](references/details.md)
|
|
409
|
+
- [Common Issues](references/details.md)
|
|
410
|
+
- [Best Practices](references/details.md)
|
|
411
|
+
- [Related Skills](references/details.md)
|
|
412
|
+
|
|
413
|
+
## When to Use This Skill
|
|
414
|
+
|
|
415
|
+
Use this skill when:
|
|
416
|
+
- Implementing version numbering standards
|
|
417
|
+
- Automating release versioning
|
|
418
|
+
- Generating changelogs automatically
|
|
419
|
+
- Setting up release pipelines
|
|
420
|
+
- Managing package versions
|
|
421
|
+
|
|
422
|
+
## Limitations
|
|
423
|
+
|
|
424
|
+
- Guidance executes against real environments: confirm target, blast radius, and rollback plan before applying anything.
|
|
425
|
+
- Never deploy to production without explicit approval. Docs-only import: upstream scripts and templates not bundled.
|
|
426
|
+
|
|
427
|
+
### Example
|
|
428
|
+
|
|
429
|
+
```bash
|
|
430
|
+
git status && git diff --stat
|
|
431
|
+
kubectl diff -f manifest.yaml
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
> Adapted from [BagelHole/DevOps-Security-Agent-Skills](https://github.com/BagelHole/DevOps-Security-Agent-Skills) (MIT); frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance. Docs-only import: helper scripts and templates not bundled.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Details (moved from SKILL.md)
|
|
2
|
+
|
|
3
|
+
> Extended reference content for `semantic-versioning`, kept under `references/` so the entrypoint stays within the audit budget.
|
|
4
|
+
|
|
5
|
+
## Multi-Package Versioning
|
|
6
|
+
|
|
7
|
+
### Lerna
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
// lerna.json
|
|
11
|
+
{
|
|
12
|
+
"version": "independent",
|
|
13
|
+
"npmClient": "npm",
|
|
14
|
+
"command": {
|
|
15
|
+
"version": {
|
|
16
|
+
"conventionalCommits": true,
|
|
17
|
+
"message": "chore(release): publish"
|
|
18
|
+
},
|
|
19
|
+
"publish": {
|
|
20
|
+
"conventionalCommits": true
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Version all changed packages
|
|
28
|
+
npx lerna version
|
|
29
|
+
|
|
30
|
+
# Publish all changed packages
|
|
31
|
+
npx lerna publish
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Changesets
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Initialize
|
|
38
|
+
npx @changesets/cli init
|
|
39
|
+
|
|
40
|
+
# Add changeset
|
|
41
|
+
npx changeset add
|
|
42
|
+
|
|
43
|
+
# Version packages
|
|
44
|
+
npx changeset version
|
|
45
|
+
|
|
46
|
+
# Publish
|
|
47
|
+
npx changeset publish
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
## Common Issues
|
|
52
|
+
|
|
53
|
+
### Issue: No Version Bump
|
|
54
|
+
**Problem**: semantic-release not creating release
|
|
55
|
+
**Solution**: Check commit format, verify branch configuration
|
|
56
|
+
|
|
57
|
+
### Issue: Wrong Version Calculated
|
|
58
|
+
**Problem**: Major/minor/patch incorrectly determined
|
|
59
|
+
**Solution**: Review commit analyzer rules, check for missing prefixes
|
|
60
|
+
|
|
61
|
+
### Issue: Duplicate Tags
|
|
62
|
+
**Problem**: Tag already exists
|
|
63
|
+
**Solution**: Clean up tags, verify version wasn't already released
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
## Best Practices
|
|
67
|
+
|
|
68
|
+
- Use conventional commits consistently
|
|
69
|
+
- Automate version bumping in CI
|
|
70
|
+
- Generate changelogs automatically
|
|
71
|
+
- Tag releases in Git
|
|
72
|
+
- Use pre-release versions for testing
|
|
73
|
+
- Document breaking changes clearly
|
|
74
|
+
- Include migration guides for major versions
|
|
75
|
+
- Lock dependencies with exact versions
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## Related Skills
|
|
79
|
+
|
|
80
|
+
- git-workflow (`git-workflow`) - Branching strategies
|
|
81
|
+
- github-actions (`github-actions`) - CI automation
|
|
82
|
+
- feature-flags (`feature-flags`) - Progressive rollout
|
|
83
|
+
|