infrastructure-skill-builder
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseInfrastructure Skill Builder
基础设施技能构建工具
Convert your infrastructure documentation into powerful, reusable Claude Code skills.
将你的基础设施文档转化为强大、可复用的Claude Code技能。
Overview
概述
Infrastructure knowledge is often scattered across:
- README files
- Runbooks and wiki pages
- Configuration files
- Troubleshooting guides
- Team Slack/Discord history
- Mental models of senior engineers
This skill helps you systematically capture that knowledge as Claude Code skills for:
- Faster onboarding
- Consistent operations
- Disaster recovery
- Knowledge preservation
- Team scaling
基础设施知识通常分散在以下地方:
- README文件
- 运行手册和维基页面
- 配置文件
- 故障排查指南
- 团队Slack/Discord聊天记录
- 资深工程师的经验模型
本技能可帮助你将这些知识系统地整理为Claude Code技能,用于:
- 更快的新员工入职
- 标准化运维操作
- 灾难恢复
- 知识留存
- 团队规模扩张
When to Use
适用场景
Use this skill when:
- Documenting complex infrastructure setups
- Creating runbooks for operations teams
- Onboarding new team members to infrastructure
- Preserving expert knowledge before team changes
- Standardizing infrastructure operations
- Building organizational infrastructure library
- Migrating from manual to automated operations
在以下场景中使用本技能:
- 记录复杂基础设施部署
- 为运维团队创建运行手册
- 向新成员介绍基础设施
- 团队变动前留存专家知识
- 标准化基础设施运维
- 构建组织级基础设施库
- 从手动操作向自动化操作迁移
Skill Extraction Process
技能提取流程
Step 1: Identify Infrastructure Domains
步骤1:识别基础设施领域
Common domains:
- Container Orchestration: Docker, Kubernetes, Proxmox LXC
- Cloud Platforms: AWS, GCP, Azure, DigitalOcean
- Databases: PostgreSQL, MongoDB, Redis, MySQL
- Web Servers: Nginx, Apache, Caddy, Traefik
- Monitoring: Prometheus, Grafana, ELK Stack
- CI/CD: Jenkins, GitLab CI, GitHub Actions
- Networking: VPNs, Load Balancers, DNS, Firewalls
- Storage: S3, MinIO, NFS, Ceph
- Security: Authentication, SSL/TLS, Firewalls
常见领域:
- 容器编排:Docker、Kubernetes、Proxmox LXC
- 云平台:AWS、GCP、Azure、DigitalOcean
- 数据库:PostgreSQL、MongoDB、Redis、MySQL
- Web服务器:Nginx、Apache、Caddy、Traefik
- 监控:Prometheus、Grafana、ELK Stack
- CI/CD:Jenkins、GitLab CI、GitHub Actions
- 网络:VPN、负载均衡器、DNS、防火墙
- 存储:S3、MinIO、NFS、Ceph
- 安全:身份认证、SSL/TLS、防火墙
Step 2: Extract Core Operations
步骤2:提取核心操作
For each domain, document:
- Setup/Provisioning: How to create new instances
- Configuration: How to configure for different use cases
- Operations: Day-to-day management tasks
- Troubleshooting: Common issues and resolutions
- Scaling: How to scale up/down
- Backup/Recovery: Disaster recovery procedures
- Monitoring: Health checks and alerts
- Security: Security best practices
针对每个领域,记录以下内容:
- 部署/配置:如何创建新实例
- 参数配置:如何针对不同场景进行配置
- 日常运维:日常管理任务
- 故障排查:常见问题及解决方案
- 资源扩容:如何进行水平/垂直扩容
- 备份/恢复:灾难恢复流程
- 监控:健康检查与告警
- 安全:安全最佳实践
Infrastructure Skill Template
基础设施技能模板
markdown
---
name: [infrastructure-component]-manager
description: Expert guidance for [component] management, provisioning, troubleshooting, and operations
license: MIT
tags: [infrastructure, [component], operations, troubleshooting]
---markdown
---
name: [infrastructure-component]-manager
description: Expert guidance for [component] management, provisioning, troubleshooting, and operations
license: MIT
tags: [infrastructure, [component], operations, troubleshooting]
---[Component] Manager
[Component] Manager
Expert knowledge for managing [component] infrastructure.
Expert knowledge for managing [component] infrastructure.
Authentication & Access
Authentication & Access
Access Methods
Access Methods
bash
undefinedbash
undefinedHow to access the infrastructure component
How to access the infrastructure component
ssh user@host
ssh user@host
or
or
kubectl config use-context cluster-name
undefinedkubectl config use-context cluster-name
undefinedCredentials & Configuration
Credentials & Configuration
- Where credentials are stored
- How to configure access
- Common authentication issues
- Where credentials are stored
- How to configure access
- Common authentication issues
Architecture Overview
Architecture Overview
Component Topology
Component Topology
- How components are organized
- Network topology
- Resource allocation
- Redundancy setup
- How components are organized
- Network topology
- Resource allocation
- Redundancy setup
Key Resources
Key Resources
- Resource 1: Purpose and specs
- Resource 2: Purpose and specs
- Resource 3: Purpose and specs
- Resource 1: Purpose and specs
- Resource 2: Purpose and specs
- Resource 3: Purpose and specs
Common Operations
Common Operations
Operation 1: [e.g., Create New Instance]
Operation 1: [e.g., Create New Instance]
bash
undefinedbash
undefinedStep-by-step commands
Step-by-step commands
command1 --flags
command2 --flags
command1 --flags
command2 --flags
Verification
Verification
verify-command
undefinedverify-command
undefinedOperation 2: [e.g., Update Configuration]
Operation 2: [e.g., Update Configuration]
bash
undefinedbash
undefinedCommands and explanations
Commands and explanations
undefinedundefinedOperation 3: [e.g., Scale Resources]
Operation 3: [e.g., Scale Resources]
bash
undefinedbash
undefinedCommands and explanations
Commands and explanations
undefinedundefinedMonitoring & Health Checks
Monitoring & Health Checks
Check System Status
Check System Status
bash
undefinedbash
undefinedHealth check commands
Health check commands
status-command
status-command
Expected output
Expected output
What healthy output looks like
What healthy output looks like
undefinedundefinedCommon Metrics
Common Metrics
- Metric 1: What it means, normal range
- Metric 2: What it means, normal range
- Metric 3: What it means, normal range
- Metric 1: What it means, normal range
- Metric 2: What it means, normal range
- Metric 3: What it means, normal range
Troubleshooting
Troubleshooting
Issue 1: [Common Problem]
Issue 1: [Common Problem]
Symptoms: What you observe
Cause: Why it happens
Fix: Step-by-step resolution
bash
undefinedSymptoms: What you observe
Cause: Why it happens
Fix: Step-by-step resolution
bash
undefinedFix commands
Fix commands
undefinedundefinedIssue 2: [Another Problem]
Issue 2: [Another Problem]
Symptoms:
Cause:
Fix:
bash
undefinedSymptoms:
Cause:
Fix:
bash
undefinedFix commands
Fix commands
undefinedundefinedBackup & Recovery
Backup & Recovery
Backup Procedures
Backup Procedures
bash
undefinedbash
undefinedHow to backup
How to backup
backup-command
backup-command
Verification
Verification
verify-backup
undefinedverify-backup
undefinedRecovery Procedures
Recovery Procedures
bash
undefinedbash
undefinedHow to restore
How to restore
restore-command
restore-command
Verification
Verification
verify-restore
undefinedverify-restore
undefinedSecurity Best Practices
Security Best Practices
- Security practice 1
- Security practice 2
- Security practice 3
- Security practice 1
- Security practice 2
- Security practice 3
Quick Reference
Quick Reference
| Task | Command |
|---|---|
| Task 1 | |
| Task 2 | |
| Task 3 | |
| Task | Command |
|---|---|
| Task 1 | |
| Task 2 | |
| Task 3 | |
Additional Resources
Additional Resources
- Official documentation links
- Related skills
- External references
undefined- Official documentation links
- Related skills
- External references
undefinedReal-World Example: Proxmox Skill
真实案例:Proxmox技能
Based on the proxmox-auth skill in this repository:
基于本仓库中的proxmox-auth技能:
Extracted Knowledge
提取的知识
From: Proxmox VE cluster documentation + operational experience
Structured as:
- Authentication: SSH access patterns, node IPs
- Architecture: Cluster topology (2 nodes, resources)
- Operations: Container/VM management commands
- Troubleshooting: Common errors and fixes
- Networking: Bridge configuration, IP management
- GPU Passthrough: Special container configurations
Result: Comprehensive skill covering:
- Quick access to any node
- Container lifecycle management
- GPU-accelerated containers
- Network troubleshooting
- Backup procedures
- Common gotchas and solutions
来源:Proxmox VE集群文档 + 运维经验
结构化内容:
- 身份认证:SSH访问模式、节点IP
- 架构:集群拓扑(2个节点、资源分配)
- 运维操作:容器/VM管理命令
- 故障排查:常见错误及修复方案
- 网络:网桥配置、IP管理
- GPU透传:特殊容器配置
成果:全面覆盖以下内容的技能:
- 快速访问任意节点
- 容器生命周期管理
- GPU加速容器
- 网络故障排查
- 备份流程
- 常见问题与解决方案
Extraction Scripts
提取脚本
Extract from Runbooks
从运行手册提取
bash
#!/bin/bashbash
#!/bin/bashextract-from-runbook.sh - Convert runbook to skill
extract-from-runbook.sh - Convert runbook to skill
RUNBOOK_FILE="$1"
SKILL_NAME="$2"
if [ -z "$RUNBOOK_FILE" ] || [ -z "$SKILL_NAME" ]; then
echo "Usage: $0 <runbook.md> <skill-name>"
exit 1
fi
SKILL_DIR="skills/$SKILL_NAME"
mkdir -p "$SKILL_DIR"
RUNBOOK_FILE="$1"
SKILL_NAME="$2"
if [ -z "$RUNBOOK_FILE" ] || [ -z "$SKILL_NAME" ]; then
echo "Usage: $0 <runbook.md> <skill-name>"
exit 1
fi
SKILL_DIR="skills/$SKILL_NAME"
mkdir -p "$SKILL_DIR"
Extract sections from runbook
Extract sections from runbook
cat > "$SKILL_DIR/SKILL.md" << EOF
name: $SKILL_NAME description: $(head -5 "$RUNBOOK_FILE" | grep -v "^#" | head -1 | xargs) license: MIT extracted-from: $RUNBOOK_FILE
cat > "$SKILL_DIR/SKILL.md" << EOF
name: $SKILL_NAME description: $(head -5 "$RUNBOOK_FILE" | grep -v "^#" | head -1 | xargs) license: MIT extracted-from: $RUNBOOK_FILE
${SKILL_NAME^}
${SKILL_NAME^}
$(cat "$RUNBOOK_FILE")
Note: This skill was auto-extracted from runbook documentation.
Review and refine before use.
EOF
echo "✓ Created skill: $SKILL_DIR/SKILL.md"
echo "Review and edit to add:"
echo " - Metadata and tags"
echo " - Troubleshooting section"
echo " - Quick reference"
echo " - Examples"
undefined$(cat "$RUNBOOK_FILE")
Note: This skill was auto-extracted from runbook documentation.
Review and refine before use.
EOF
echo "✓ Created skill: $SKILL_DIR/SKILL.md"
echo "Review and edit to add:"
echo " - Metadata and tags"
echo " - Troubleshooting section"
echo " - Quick reference"
echo " - Examples"
undefinedExtract from Docker Compose
从Docker Compose提取
bash
#!/bin/bashbash
#!/bin/bashdocker-compose-to-skill.sh - Extract skill from docker-compose.yaml
docker-compose-to-skill.sh - Extract skill from docker-compose.yaml
COMPOSE_FILE="${1:-docker-compose.yaml}"
PROJECT_NAME=$(basename $(pwd))
SKILL_DIR="skills/docker-$PROJECT_NAME"
mkdir -p "$SKILL_DIR"
COMPOSE_FILE="${1:-docker-compose.yaml}"
PROJECT_NAME=$(basename $(pwd))
SKILL_DIR="skills/docker-$PROJECT_NAME"
mkdir -p "$SKILL_DIR"
Extract services
Extract services
SERVICES=$(yq eval '.services | keys | .[]' "$COMPOSE_FILE")
cat > "$SKILL_DIR/SKILL.md" << EOF
name: docker-$PROJECT_NAME description: Docker Compose configuration and management for $PROJECT_NAME license: MIT
SERVICES=$(yq eval '.services | keys | .[]' "$COMPOSE_FILE")
cat > "$SKILL_DIR/SKILL.md" << EOF
name: docker-$PROJECT_NAME description: Docker Compose configuration and management for $PROJECT_NAME license: MIT
Docker $PROJECT_NAME
Docker $PROJECT_NAME
Manage Docker Compose stack for $PROJECT_NAME.
Manage Docker Compose stack for $PROJECT_NAME.
Services
Services
$(yq eval '.services | to_entries | .[] | "### " + .key + "\n" + (.value.image // "custom") + "\n"' "$COMPOSE_FILE")
$(yq eval '.services | to_entries | .[] | "### " + .key + "\n" + (.value.image // "custom") + "\n"' "$COMPOSE_FILE")
Quick Start
Quick Start
```bash
```bash
Start all services
Start all services
docker-compose up -d
docker-compose up -d
Check status
Check status
docker-compose ps
docker-compose ps
View logs
View logs
docker-compose logs -f
docker-compose logs -f
Stop all services
Stop all services
docker-compose down
```
docker-compose down
```
Service Details
Service Details
Ports
Ports
$(yq eval '.services | to_entries | .[] | select(.value.ports) | "- " + .key + ": " + (.value.ports | join(", "))' "$COMPOSE_FILE")
$(yq eval '.services | to_entries | .[] | select(.value.ports) | "- " + .key + ": " + (.value.ports | join(", "))' "$COMPOSE_FILE")
Volumes
Volumes
$(yq eval '.services | to_entries | .[] | select(.value.volumes) | "- " + .key + ": " + (.value.volumes | join(", "))' "$COMPOSE_FILE")
$(yq eval '.services | to_entries | .[] | select(.value.volumes) | "- " + .key + ": " + (.value.volumes | join(", "))' "$COMPOSE_FILE")
Configuration
Configuration
See `$COMPOSE_FILE` for full configuration.
See `$COMPOSE_FILE` for full configuration.
Common Operations
Common Operations
Restart Service
Restart Service
```bash
docker-compose restart SERVICE_NAME
```
```bash
docker-compose restart SERVICE_NAME
```
Update Service
Update Service
```bash
docker-compose pull SERVICE_NAME
docker-compose up -d SERVICE_NAME
```
```bash
docker-compose pull SERVICE_NAME
docker-compose up -d SERVICE_NAME
```
View Service Logs
View Service Logs
```bash
docker-compose logs -f SERVICE_NAME
```
```bash
docker-compose logs -f SERVICE_NAME
```
Troubleshooting
Troubleshooting
Service Won't Start
Service Won't Start
- Check logs: `docker-compose logs SERVICE_NAME`
- Verify ports not in use: `netstat -tulpn | grep PORT`
- Check disk space: `df -h`
- Check logs: `docker-compose logs SERVICE_NAME`
- Verify ports not in use: `netstat -tulpn | grep PORT`
- Check disk space: `df -h`
Network Issues
Network Issues
```bash
```bash
Recreate network
Recreate network
docker-compose down
docker network prune
docker-compose up -d
```
EOF
echo "✓ Created skill from docker-compose.yaml"
undefineddocker-compose down
docker network prune
docker-compose up -d
```
EOF
echo "✓ Created skill from docker-compose.yaml"
undefinedExtract from Kubernetes Manifests
从Kubernetes清单提取
bash
#!/bin/bashbash
#!/bin/bashk8s-to-skill.sh - Extract skill from Kubernetes manifests
k8s-to-skill.sh - Extract skill from Kubernetes manifests
K8S_DIR="${1:-.}"
APP_NAME="${2:-$(basename $(pwd))}"
SKILL_DIR="skills/k8s-$APP_NAME"
mkdir -p "$SKILL_DIR"
cat > "$SKILL_DIR/SKILL.md" << EOF
name: k8s-$APP_NAME description: Kubernetes deployment and management for $APP_NAME license: MIT
K8S_DIR="${1:-.}"
APP_NAME="${2:-$(basename $(pwd))}"
SKILL_DIR="skills/k8s-$APP_NAME"
mkdir -p "$SKILL_DIR"
cat > "$SKILL_DIR/SKILL.md" << EOF
name: k8s-$APP_NAME description: Kubernetes deployment and management for $APP_NAME license: MIT
Kubernetes $APP_NAME
Kubernetes $APP_NAME
Manage Kubernetes resources for $APP_NAME.
Manage Kubernetes resources for $APP_NAME.
Resources
Resources
$(find "$K8S_DIR" -name ".yaml" -o -name ".yml" | while read file; do
KIND=$(yq eval '.kind' "$file" 2>/dev/null)
NAME=$(yq eval '.metadata.name' "$file" 2>/dev/null)
echo "- $KIND: $NAME ($(basename $file))"
done)
$(find "$K8S_DIR" -name ".yaml" -o -name ".yml" | while read file; do
KIND=$(yq eval '.kind' "$file" 2>/dev/null)
NAME=$(yq eval '.metadata.name' "$file" 2>/dev/null)
echo "- $KIND: $NAME ($(basename $file))"
done)
Deployment
Deployment
Apply All Resources
Apply All Resources
```bash
kubectl apply -f $K8S_DIR/
```
```bash
kubectl apply -f $K8S_DIR/
```
Check Status
Check Status
```bash
```bash
Pods
Pods
kubectl get pods -l app=$APP_NAME
kubectl get pods -l app=$APP_NAME
Services
Services
kubectl get svc -l app=$APP_NAME
kubectl get svc -l app=$APP_NAME
Deployments
Deployments
kubectl get deploy -l app=$APP_NAME
```
kubectl get deploy -l app=$APP_NAME
```
Common Operations
Common Operations
Scale Deployment
Scale Deployment
```bash
kubectl scale deployment $APP_NAME --replicas=3
```
```bash
kubectl scale deployment $APP_NAME --replicas=3
```
Update Image
Update Image
```bash
kubectl set image deployment/$APP_NAME container=new-image:tag
```
```bash
kubectl set image deployment/$APP_NAME container=new-image:tag
```
View Logs
View Logs
```bash
kubectl logs -f deployment/$APP_NAME
```
```bash
kubectl logs -f deployment/$APP_NAME
```
Port Forward
Port Forward
```bash
kubectl port-forward svc/$APP_NAME 8080:80
```
```bash
kubectl port-forward svc/$APP_NAME 8080:80
```
Troubleshooting
Troubleshooting
Pod Not Starting
Pod Not Starting
```bash
```bash
Check pod events
Check pod events
kubectl describe pod POD_NAME
kubectl describe pod POD_NAME
Check logs
Check logs
kubectl logs POD_NAME
kubectl logs POD_NAME
Previous instance logs
Previous instance logs
kubectl logs POD_NAME --previous
```
kubectl logs POD_NAME --previous
```
Service Not Reachable
Service Not Reachable
```bash
```bash
Check endpoints
Check endpoints
kubectl get endpoints $APP_NAME
kubectl get endpoints $APP_NAME
Check service
Check service
kubectl describe svc $APP_NAME
kubectl describe svc $APP_NAME
Test from another pod
Test from another pod
kubectl run -it --rm debug --image=busybox --restart=Never -- wget -O- http://$APP_NAME
```
kubectl run -it --rm debug --image=busybox --restart=Never -- wget -O- http://$APP_NAME
```
Quick Reference
Quick Reference
| Task | Command |
|---|---|
| Apply | `kubectl apply -f $K8S_DIR/` |
| Status | `kubectl get all -l app=$APP_NAME` |
| Logs | `kubectl logs -f deployment/$APP_NAME` |
| Scale | `kubectl scale deployment $APP_NAME --replicas=N` |
| Delete | `kubectl delete -f $K8S_DIR/` |
| EOF |
echo "✓ Created Kubernetes skill"
undefined| Task | Command |
|---|---|
| Apply | `kubectl apply -f $K8S_DIR/` |
| Status | `kubectl get all -l app=$APP_NAME` |
| Logs | `kubectl logs -f deployment/$APP_NAME` |
| Scale | `kubectl scale deployment $APP_NAME --replicas=N` |
| Delete | `kubectl delete -f $K8S_DIR/` |
| EOF |
echo "✓ Created Kubernetes skill"
undefinedInfrastructure Patterns to Capture
需捕获的基础设施模式
Pattern 1: SSH Access Matrix
模式1:SSH访问矩阵
markdown
undefinedmarkdown
undefinedSSH Access
SSH访问
| Host | IP | Purpose | Access |
|---|---|---|---|
| node1 | 192.168.1.10 | Primary | |
| node2 | 192.168.1.11 | Secondary | |
| bastion | 203.0.113.5 | Jump host | |
undefined| 主机 | IP | 用途 | 访问方式 |
|---|---|---|---|
| node1 | 192.168.1.10 | 主节点 | |
| node2 | 192.168.1.11 | 从节点 | |
| bastion | 203.0.113.5 | 跳转主机 | |
undefinedPattern 2: Service Port Mapping
模式2:服务端口映射
markdown
undefinedmarkdown
undefinedService Ports
服务端口
| Service | Internal | External | Protocol |
|---|---|---|---|
| Web | 8080 | 80 | HTTP |
| API | 3000 | 443 | HTTPS |
| DB | 5432 | - | TCP |
undefined| 服务 | 内部端口 | 外部端口 | 协议 |
|---|---|---|---|
| Web | 8080 | 80 | HTTP |
| API | 3000 | 443 | HTTPS |
| DB | 5432 | - | TCP |
undefinedPattern 3: Configuration Files
模式3:配置文件
markdown
undefinedmarkdown
undefinedConfiguration Locations
配置文件位置
Application Config
应用配置
- Path:
/etc/app/config.yaml - Format: YAML
- Requires restart: Yes
- 路径:
/etc/app/config.yaml - 格式: YAML
- 需要重启: 是
Database Config
数据库配置
- Path:
/var/lib/postgres/postgresql.conf - Format: INI
- Requires restart: Yes
undefined- 路径:
/var/lib/postgres/postgresql.conf - 格式: INI
- 需要重启: 是
undefinedPattern 4: Command Workflows
模式4:命令工作流
markdown
undefinedmarkdown
undefinedDeployment Workflow
部署工作流
-
Backup current statebash
./backup.sh -
Pull latest codebash
git pull origin main -
Build applicationbash
docker build -t app:latest . -
Deploybash
docker-compose up -d -
Verifybash
curl http://localhost/health
undefined-
备份当前状态bash
./backup.sh -
拉取最新代码bash
git pull origin main -
构建应用bash
docker build -t app:latest . -
部署bash
docker-compose up -d -
验证bash
curl http://localhost/health
undefinedBest Practices
最佳实践
✅ DO
✅ 推荐做法
- Document assumptions - What's required before operations
- Include verification - How to verify each operation succeeded
- Add troubleshooting - Common issues and fixes
- Show outputs - Expected command outputs
- Link resources - Related documentation and skills
- Version information - Software versions, configurations
- Security notes - Security implications of operations
- Update regularly - Keep skills current with infrastructure
- 记录假设前提 - 操作前的必要条件
- 包含验证步骤 - 如何验证每个操作成功
- 添加故障排查内容 - 常见问题及修复方案
- 展示预期输出 - 命令的正常输出示例
- 关联资源链接 - 相关文档和技能
- 版本信息 - 软件版本、配置详情
- 安全说明 - 操作的安全影响
- 定期更新 - 保持技能与基础设施同步
❌ DON'T
❌ 避免做法
- Don't hardcode secrets - Use placeholders or env vars
- Don't skip context - Explain why, not just how
- Don't assume knowledge - Explain terminology
- Don't omit edge cases - Document special scenarios
- Don't forget cleanup - Include teardown procedures
- Don't ignore dependencies - Document prerequisites
- Don't skip testing - Verify all commands work
- Don't leave TODO - Complete all sections
- 不要硬编码密钥 - 使用占位符或环境变量
- 不要跳过上下文说明 - 不仅说明怎么做,还要说明为什么
- 不要假设用户已有相关知识 - 解释专业术语
- 不要忽略边缘场景 - 记录特殊情况
- 不要忘记清理步骤 - 包含销毁流程
- 不要忽略依赖关系 - 记录前置条件
- 不要跳过测试 - 验证所有命令可用
- 不要遗留TODO项 - 完成所有章节
Quality Checklist
质量检查清单
- Clear component description
- Authentication/access documented
- Architecture overview provided
- Common operations with examples
- Troubleshooting section complete
- Health checks documented
- Backup/recovery procedures
- Security considerations noted
- Quick reference table
- All commands tested
- No hardcoded secrets
- Links to resources
- 清晰的组件描述
- 已记录身份认证/访问方式
- 提供架构概述
- 包含带示例的常见操作
- 完整的故障排查章节
- 已记录健康检查方法
- 备份/恢复流程
- 已标注安全注意事项
- 快速参考表格
- 所有命令已测试
- 无硬编码密钥
- 资源链接
Quick Start Workflow
快速开始工作流
bash
undefinedbash
undefined1. Identify infrastructure component
1. 确定基础设施组件
COMPONENT="nginx-reverse-proxy"
COMPONENT="nginx-reverse-proxy"
2. Gather documentation
2. 收集文档
- Collect README files
- 收集README文件
- Export wiki pages
导出维基页面
- Capture team knowledge
- 记录团队经验
- Document current setup
- 记录当前部署
3. Create skill structure
3. 创建技能目录结构
mkdir -p skills/$COMPONENT
mkdir -p skills/$COMPONENT
4. Fill in template
4. 填充模板
Use the Infrastructure Skill Template above
使用上方的基础设施技能模板
5. Test all commands
5. 测试所有命令
Verify every command in skill works
验证技能中的每个命令都能正常运行
6. Review and refine
6. 审核与优化
Have team review for completeness
请团队审核内容完整性
7. Commit to repository
7. 提交到仓库
git add skills/$COMPONENT
git commit -m "docs: Add $COMPONENT infrastructure skill"
---
**Version**: 1.0.0
**Author**: Harvested from proxmox-auth skill pattern
**Last Updated**: 2025-11-18
**License**: MIT
**Key Principle**: Convert tribal knowledge into structured, searchable, actionable skills.git add skills/$COMPONENT
git commit -m "docs: Add $COMPONENT infrastructure skill"
---
**版本**: 1.0.0
**作者**: 基于proxmox-auth技能模式整理
**最后更新**: 2025-11-18
**许可证**: MIT
**核心原则**: 将隐性知识转化为结构化、可搜索、可执行的技能。Examples in This Repository
仓库中的示例
- proxmox-auth: Proxmox VE cluster management
- docker-*: Docker-based infrastructure
- cloudflare-*: Cloudflare infrastructure services
Transform your infrastructure documentation into skills today! 🏗️
- proxmox-auth: Proxmox VE集群管理
- docker-*: 基于Docker的基础设施
- cloudflare-*: Cloudflare基础设施服务
立即将你的基础设施文档转化为技能吧!🏗️