基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ffsshhttiikk/opencode-agents-skills --skill platform-engineering命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | platform-engineering |
| description | Internal platform development and management |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"platform-engineer, devops-engineer","category":"devops"} |
┌─────────────────────────────────────────────────────────┐
│ Internal Developer Portal │
│ (Backstage, Port, Cortex) │
└──────────────────────┬──────────────────────────────────┘
│
┌──────────────────┼──────────────────┐
│ │ │
┌───▼────┐ ┌────▼────┐ ┌────▼────┐
│ CI/CD │ │Runtime │ │ Data │
│ Platform│ │ Platform│ │ Platform│
└────┬───┘ └────┬────┘ └────┬────┘
│ │ │
│ ┌───────────┼───────────┐ │
└──────► Infrastructure ◄──────┘
# catalog-info.yaml
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: my-service
description: User management service
tags:
- java
- spring-boot
- postgres
links:
- url: https://github.com/company/my-service
title: GitHub
- url: https://my-service.dev.company.com
title: Dashboard
spec:
type: service
lifecycle: production
owner: team-backend
providesApis:
- user-api
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: user-api
description: User management API
spec:
type: openapi
lifecycle:
# Template for new services
apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
metadata:
name: service-template
title: New Microservice
description: Create a new microservice
spec:
owner: platform-team
type: service
parameters:
- title: Service Details
required:
- service_name
- description
properties:
service_name:
title: Service Name
type: string
description:
title: Description
type: string
owner:
title: Owner Team
type: string
default: team-backend
steps:
- id: fetch-template
// Platform SDK
export interface PlatformService {
// Deployment
deploy(service: ServiceConfig): Promise<Deployment>;
rollback(serviceName: string, version: string): Promise<void>;
getStatus(serviceName: string): Promise<ServiceStatus>;
// Infrastructure
provisionDatabase(config: DatabaseConfig): Promise<Database>;
provisionCache(config: CacheConfig): Promise<Cache>;
// Monitoring
getMetrics(serviceName: string, timeRange: TimeRange): Promise<Metrics>;
getLogs(serviceName: string, query: LogQuery): Promise<Logs>;
}
// Usage
const platform = new ({
: process..
});
platform.({
: ,
: ,
: ,
: { : }
});
| Metric | Description | Target |
|---|---|---|
| Deployment Frequency | How often code is deployed | Daily+ |
| Lead Time | Time from commit to production | < 1 day |
| MTTR | Mean time to recovery | < 1 hour |
| Self-Service Rate | % of actions done by developers | > 80% |
| Platform Uptime | Platform availability | 99.9% |
| Developer Satisfaction | NPS score | > 50 |