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

collection

Choose which SkillNote skill collection is active for this project. Use when user says "change collection", "switch skills", "use frontend skills", "show collections", or at first session in a new project when recommended.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.6 KB

SKILL.md(원문)

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

SkillNote Collection Manager

Help the user choose which skill collection to sync for the current project.

Step 1: Fetch collections

Run this in Bash to get available collections:

curl -sf "http://${CLAUDE_PLUGIN_OPTION_HOST:-localhost}:8082/v1/collections" 2>/dev/null || echo "[]"

Step 2: Show picker — MUST use AskUserQuestion

You MUST call the AskUserQuestion tool. Do NOT print a table or ask a text question.

Call AskUserQuestion with these EXACT parameters:

  • header: "SkillNote"
  • question: "Pick a collection for this project:"
  • Build options in this order:
    1. Recommended first: if basename(cwd) (lowercase, non-alphanumeric replaced with -) matches an existing collection name, put that option first and append · Recommended to its description. Example description: "12 skills · Recommended".
    2. All other existing collections, each with label = name, description = "{count} skills".
    3. If .skillnote.json exists, add "(current)" to the currently-active collection's label.
    4. {"label": "Create new collection…", "description": "type a name next"}
    5. {"label": "Skip (use no collections)", "description": "no skills synced"}

Example AskUserQuestion call:

{
  "header": "SkillNote",
  "question": "Pick a collection for this project:",
  "options": [
    {"label": "frontend (current)", "description": "12 skills · Recommended"},
    {"label": "backend", "description": "8 skills"},
    {"label": "devops", "description": "3 skills"},
    {"label": "Create new collection…", "description": "type a name next"},
    {"label": "Skip (use no collections)", "description": "no skills synced"}
  ]
}

Step 3: Apply selection

Branch based on what the user picked:

3a. Existing collection or "(current)" option

Strip any (current) suffix. Then run:

echo '{"collections": ["<SELECTED_NAME>"]}' > .skillnote.json
skillnote-sync --force 2>/dev/null || true

Tell the user: "Switched to {name}. Skills will refresh."

3b. "Create new collection…"

Ask the user for a name in a plain text turn:

What should the new collection be called? (lowercase letters, numbers, hyphens, underscores — example: my-project)

Wait for their reply. Validate: name must match ^[a-z0-9_-]+$, be 1–128 chars, and not contain anthropic or claude. If invalid, explain and re-prompt once.

Create the collection:

curl -sf -X POST "http://${CLAUDE_PLUGIN_OPTION_HOST:-localhost}:8082/v1/collections" \
  -H "Content-Type: application/json" \
  -d '{"name": "<NAME>", "description": ""}'

If curl returns a 409 conflict, the collection already exists — tell the user and offer to activate it instead (one-question AskUserQuestion: Yes, activate / No, pick a different name).

On success, write the name to .skillnote.json and run sync the same way as 3a.

3c. "Skip (use no collections)"

Write an empty collections list:

echo '{"collections": []}' > .skillnote.json
skillnote-sync --force 2>/dev/null || true

Tell the user: "Skipped. No skills will be synced to this project."

Rules

  • ALWAYS use AskUserQuestion — never print a table or numbered list
  • Keep 12-15 skills per collection for best Claude Code performance
  • User can change collections anytime by saying "change collection"

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Choose which SkillNote skill collection is active for this Codex project. Use when the user says "change collection", "switch skills", "use frontend skills", or "show collections".

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

luna-prompts/skillnote662026년 9월 12일 업데이트

Rate a SkillNote skill after using it. Called after applying a skill to provide 1-5 rating and outcome.

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

luna-prompts/skillnote662026년 9월 12일 업데이트

Rate a SkillNote skill after using it in Codex. Called after applying a skill to record a 1-5 rating and outcome.

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

luna-prompts/skillnote662026년 9월 12일 업데이트

Create and push reusable skills to SkillNote when repeated instructions are detected or user says "create a skill", "save this pattern", "push a skill". Guides drafting, review, collection selection, and publishing.

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

luna-prompts/skillnote662026년 9월 12일 업데이트

Create and push reusable skills to SkillNote from Codex when repeated instructions are detected or the user says "create a skill", "save this pattern", "push a skill". Guides drafting, review, collection selection, and publishing.

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

luna-prompts/skillnote662026년 9월 12일 업데이트

skillnote

무료

Show the active SkillNote collection and the skills synced into this project for Codex. Use when the user says "skillnote", "what skills do I have", "show my collection", or wants a SkillNote status/dashboard.

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

luna-prompts/skillnote662026년 9월 12일 업데이트

luna-prompts의 스킬 모두 보기

이 스킬의 문제 신고