본문으로 건너뛰기
cccskills
무료GitHub에 공개

skills:write

Create or edit skills with proper structure, task tracking, and naming conventions

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl스타 303(GitHub 303 + cccskills 0)
연동 도구AWSKubernetes

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md8.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Write / Edit Skill

Create new skills or edit existing ones. Both follow the same checklist and conventions.

Worktree Gate

All skill work MUST happen in a worktree. Before proceeding, verify you are in a worktree:

git worktree list

If not in a worktree, create one first:

git fetch upstream main
git worktree add .worktrees/skills-<topic> -b docs/skills-<topic> upstream/main

Table of Contents

New vs Edit

ActionSteps
New skillCreate directory + SKILL.md from template, fill in content, validate
Edit skillRead existing file first, apply changes, re-validate, ensure diagram still matches text

For edits: always read the skill FIRST, then edit. Never overwrite without reading.

Skill Structure

.claude/skills/<category>:<skill-name>/
└── SKILL.md

IMPORTANT: Use colon notation in directory names (e.g., auth:my-skill/). Required for Claude Code skill discovery.

Categories: auth, ci, genai, git, hypershift, istio, k8s, rossoctl, kind, local, openshift, rca, skills, tdd, testing

Frontmatter

---
name: category:skill-name
description: One-line description (what it does, not how)
---

Use colon notation in name: field. Directory name must match.

Content Guidelines

  1. Title: # Skill Name
  2. TOC: Include for skills over 50 lines
  3. Length: Target 80-200 lines (300 max). Split longer skills.
  4. Sections:
    • When to Use
    • Steps/Workflow
    • Workflow Diagram (required for workflow/router skills)
    • Task Tracking (required for workflow skills)
    • Troubleshooting
    • Related Skills
  5. Style:
    • Imperative voice ("Run X", not "You should run X")
    • Real, copy-pasteable commands
    • Include expected output where helpful

Command Format and Auto-Approve

Skills must classify as sandbox or management to determine command format:

TypeTargetAuto-approve?
SandboxKind cluster, custom HyperShift hosted clusterYES
ManagementManagement cluster, AWS resources, git push, destructive opsNO

Sandbox skills: One command per code block

Claude Code auto-approves commands by matching the first token against .claude/settings.json patterns. Chained commands (&&), multiline scripts, heredocs, and for loops break pattern matching.

IMPORTANT: Write each command as a separate code block:

Check pod status:
```bash
kubectl get pods -n rossoctl-system

Check logs:

kubectl logs -n rossoctl-system deployment/mlflow

Do NOT chain: `kubectl get pods && kubectl logs ...`

For HyperShift, prefix each command individually:

```markdown
```bash
KUBECONFIG=~/clusters/hcp/rossoctl-hypershift-custom-$CLUSTER/auth/kubeconfig kubectl get pods -n rossoctl-system

### Management skills: Any format

Commands targeting management clusters or AWS need user approval anyway, so multiline/chained format is acceptable.

### Temporary Files

Skills that download logs, artifacts, or save analysis output should use `/tmp/rossoctl/<skill-category>/` as the working directory:

```bash
mkdir -p /tmp/rossoctl/rca

This path is auto-approved for read/write in .claude/settings.json.

Update settings.json

After writing a skill, verify all sandbox commands are covered by .claude/settings.json patterns. If a new command prefix is used, add it:

{
  "permissions": {
    "allow": [
      "Bash(new-command:*)"
    ]
  }
}

See skills:validate for the full pattern reference table.

Workflow Diagrams

Workflow skills (skills with phases, decision trees, or routing logic) MUST include:

  1. Embedded mermaid diagram in the SKILL.md
  2. Companion .mmd template file in the skill directory (for debug mode, TDD skills only)
  3. Diagram MUST match textual flow exactly
  4. Use README color scheme:
CategoryclassDef
TDDclassDef tdd fill:#4CAF50,stroke:#333,color:white
RCAclassDef rca fill:#FF5722,stroke:#333,color:white
CIclassDef ci fill:#2196F3,stroke:#333,color:white
TestclassDef test fill:#9C27B0,stroke:#333,color:white
GitclassDef git fill:#FF9800,stroke:#333,color:white
K8sclassDef k8s fill:#00BCD4,stroke:#333,color:white
DeployclassDef deploy fill:#795548,stroke:#333,color:white
SkillsclassDef skills fill:#607D8B,stroke:#333,color:white
GitHubclassDef github fill:#E91E63,stroke:#333,color:white
HyperShiftclassDef hypershift fill:#3F51B5,stroke:#333,color:white
PlaywrightclassDef pw fill:#8BC34A,stroke:#333,color:white

Exempt from diagram requirement: pure index parents that only list sub-skills with no routing logic (e.g., git/, k8s/, auth/)

Task Tracking Standard

Every workflow skill (tdd, rca, ci, etc.) MUST include a Task Tracking section. This is the canonical reference for how Claude Code task lists work across all skills.

Task Naming Convention

<worktree> | <PR> | <plan-doc> | <topic> | <phase> | <task description>
  • worktree: git worktree name (e.g., mlflow-ci) or rossoctl for main repo
  • PR: PR reference (e.g., PR#569) or none
  • plan-doc: plan filename (e.g., calm-toast.md) or ad-hoc if no plan
  • topic: area of work (e.g., Kind CI, MLflow init, CodeQL)
  • phase: from planning doc section/step, or blank if ad-hoc
  • task: brief description

Examples:

  • mlflow-ci | PR#569 | calm-toast.md | MLflow init | Phase 2: Fix | Use parameterized SQL
  • mlflow-ci | PR#569 | ad-hoc | Kind CI | | Bind Ollama to 0.0.0.0
  • rossoctl | none | calm-toast.md | skills | Step 1 | Create ci:status skill

Task Lifecycle

1. On skill invocation:
   - TaskList → check existing tasks for this worktree/PR
   - Update completed items
   - Create new items for discovered work

2. Task metadata:
   - plan: path to plan doc or "ad-hoc" if none
   - runner: main-session | subagent | background

3. Dependencies:
   - Use addBlockedBy for sequential tasks
   - Parallel tasks have no blockers

4. Status reporting - always show plan doc in task name:
   | # | Status | Task (includes plan doc) |
   |---|--------|-------------------------|
   | #26 | in_progress | rossoctl \| none \| calm-toast.md \| skills \| Create \| ci:status |
   | #32 | completed | mlflow-ci \| PR#569 \| ad-hoc \| Kind CI \| Fix \| Ollama bind |

Plan Doc Reference

Every task should reference its parent planning document:

  • Tasks from a plan: metadata.plan = "<plan-file-path>"
  • Ad-hoc tasks: metadata.plan = "ad-hoc"
  • Tasks without a plan doc indicate work that needs retroactive documentation

Checklist

Before committing a new skill:

  • Frontmatter has name and description
  • Directory uses colon notation
  • Name in frontmatter matches directory name
  • TOC included if over 50 lines
  • Commands are copy-pasteable
  • Task Tracking section present (for workflow skills)
  • Troubleshooting section exists
  • Related Skills section exists
  • Mermaid diagram present (for workflow/router skills)
  • Diagram matches textual workflow exactly
  • Diagram uses classDef colors from README color legend
  • Parent category SKILL.md updated with reference

Template

---
name: category:skill-name
description: Brief description of what this skill does
---

# Skill Name

## When to Use

- Condition 1
- Condition 2

## Workflow

1. Step one
2. Step two

## Workflow Diagram

```mermaid
flowchart TD
    START(["/category:skill"]) --> STEP1["Step 1"]:::category
    STEP1 --> STEP2["Step 2"]:::category

    classDef category fill:#COLOR,stroke:#333,color:white

Task Tracking

On invocation:

  1. TaskList - check existing tasks
  2. TaskCreate with naming: <worktree> | <PR> | <topic> | <phase> | <task>
  3. TaskUpdate as work progresses

Troubleshooting

Problem: Description

Symptom: What you see Fix: How to resolve

Related Skills

  • category:related-skill

## Related Skills

- `skills:validate` - Check skill format compliance
- `skills:retrospective` - Identify skill gaps and improvements
- `meta:write-docs` - Documentation formatting guidelines

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

auth

무료

Authentication and authorization patterns for Rossoctl services

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl3032026년 10월 25일 업데이트

Create confidential OAuth2 clients in Keycloak for server-to-service authentication

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl3032026년 10월 25일 업데이트

Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl3032026년 10월 25일 업데이트

Configure OpenTelemetry Collector with OAuth2 authentication for trace export

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl3032026년 10월 25일 업데이트

ci

무료

CI pipeline monitoring, status checks, and PR validation workflows

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl3032026년 10월 25일 업데이트

Monitor running CI jobs, wait for completion, create tasks for results

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

rossoctl/rossoctl3032026년 10월 25일 업데이트

rossoctl의 스킬 모두 보기

이 스킬의 문제 신고