框架

diegosouzapw2026-10-27查看 1903复制 170

显示 Claude Code 优化框架状态和可用配置。展示所有 DSL 快捷方式、已加载配置和项目检测。

Download (.md)

📘如何使用这个技能

  1. 1
    复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
  2. 2
    打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
  3. 3
    粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
  4. 4
    直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景

💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。

SKILL.md2249 chars
---
name: framework
description: Display Claude Code Optimization Framework status and available configurations. Shows all DSL shortcuts, loaded configs, and project detection.
---

# Framework Status Skill

When this skill is invoked, perform the following:

## 1. Load Framework Manifest
Read `C:\.claude\FRAMEWORK-MANIFEST.yaml` and display:
- Framework version
- Total configuration files
- Last updated date

## 2. Display DSL Shortcuts
Show all available shortcuts in organized tables:

### Architecture Patterns (@arch:*)
| Shortcut | Description |
|----------|-------------|
| `@arch:hybrid` | Multi-tier hybrid architecture |
| `@arch:mono` | Monolithic (5 variants) |
| `@arch:ms` | Microservices |
| `@arch:sls` | Serverless |

### Workflows
| Shortcut | Description |
|----------|-------------|
| `@agile` | Agile/Scrum methodology |
| `@devops` | DevOps/CI-CD patterns |
| `@vmodel` | Waterfall/V-Model |
| `@kanban` | Kanban flow |

### Technology Stacks
| Shortcut | Description |
|----------|-------------|
| `@dotnet` | .NET 8 / ASP.NET Core |
| `@node` | Node.js 20.x / TypeScript |
| `@python` | Python 3.11+ / FastAPI |
| `@java` | Java 21 / Spring Boot 3.x |
| `@go` | Go 1.22+ / Gin |

### Deployment Strategies
| Shortcut | Description |
|----------|-------------|
| `@deploy:k8s` | Kubernetes / AKS |
| `@deploy:docker` | Docker Compose |
| `@deploy:sls` | Serverless |
| `@deploy:vm` | Virtual Machine |

### Testing Frameworks
| Shortcut | Description |
|----------|-------------|
| `@test:unit` | Unit testing |
| `@test:int` | Integration testing |
| `@test:e2e` | End-to-end testing |
| `@test:bdd` | BDD with SpecFlow/Cucumber |
| `@test:perf` | Performance testing |

## 3. Auto-Detect Project Type
Scan current directory for:
- `*.csproj` → Suggest `@dotnet`
- `package.json` → Suggest `@node`
- `pyproject.toml` → Suggest `@python`
- `pom.xml`/`build.gradle` → Suggest `@java`
- `go.mod` → Suggest `@go`
- `Dockerfile` → Suggest `@deploy:docker`
- `k8s/` or `helm/` → Suggest `@deploy:k8s`

## 4. Show Recommended Configuration
Based on detection, suggest a combined configuration:
```
@arch:ms @dotnet @agile @deploy:k8s @test:unit
```

## Usage
Simply type `/framework` to see the full status and recommendations.
来源:skillsdirectory

评论0

登录后参与评论

还没有评论,来抢沙发吧