金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

devops

devops 是面向效率工具、开发运维、软件开发的 Agent Skill,来自 hiromaily/go-crypto-wallet。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

CI/CD and DevOps workflow. Use when modifying GitHub Actions, Docker configurations, or compose files.

SKILL.md

下载 MD ↓
namedevops
descriptionCI/CD and DevOps workflow. Use when modifying GitHub Actions, Docker configurations, or compose files.

DevOps Workflow

Workflow for CI/CD and infrastructure changes.

Prerequisites

Use git-workflow Skill for branch, commit, and PR workflow.

Applicable Files

Path Description
.github/workflows/ GitHub Actions
docker/ Docker configurations
compose.*.yaml Docker Compose files
Dockerfile Container definitions

GitHub Actions

Workflow Files

File Purpose
lint-test.yml Linting and testing

Testing Locally

# Use act for local testing (if installed)
act -l                    # List workflows
act push                  # Simulate push event
act pull_request          # Simulate PR event

Syntax Validation

# Check YAML syntax
yamllint .github/workflows/

Docker

Compose Files

File Purpose
compose.yaml Base configuration
compose.btc.yaml Bitcoin services
compose.eth.yaml Ethereum services
compose.xrp.yaml XRP services
compose.bch.yaml Bitcoin Cash services

Testing

# Validate compose files
docker compose config

# Test specific compose
docker compose -f compose.yaml -f compose.btc.yaml config

Verification Checklist

  • [ ] YAML syntax is valid
  • [ ] Workflow triggers are correct
  • [ ] Secrets are not exposed
  • [ ] Actions use pinned versions
  • [ ] Docker images use specific tags

Commit Format

ci: {brief description}

- {change 1}
- {change 2}

Closes #{issue_number}

Related Skills

  • git-workflow - Branch, commit, PR workflow

来源:hiromaily/go-crypto-wallet · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本