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

customize-templates

Manage custom template overrides for vault skills

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md6.5 KB

SKILL.md(원문)

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

/customize-templates

Manage custom template overrides for vault skills. Copies default templates to Templates/Custom/ where they can be modified without touching the original.

Usage

/customize-templates                        # List all templates and override status
/customize-templates <skill-name>           # Copy default template to Custom/ for editing
/customize-templates reset <skill-name>     # Remove custom template (revert to default)
/customize-templates diff <skill-name>      # Show differences between custom and default

Examples

/customize-templates                        # Show which skills have templates and which are overridden
/customize-templates adr                    # Copy Templates/ADR.md to Templates/Custom/adr-template.md
/customize-templates meeting                # Copy Templates/Meeting.md to Templates/Custom/meeting-template.md
/customize-templates diff adr              # Show what changed in the custom ADR template
/customize-templates reset meeting         # Delete custom meeting template, revert to default

Skill-to-Template Mapping

SkillDefault TemplateCustom Override Path
/adrTemplates/ADR.mdTemplates/Custom/adr-template.md
/meetingTemplates/Meeting.mdTemplates/Custom/meeting-template.md
/dailyTemplates/Daily.mdTemplates/Custom/daily-template.md
/taskTemplates/Task.mdTemplates/Custom/task-template.md
/personTemplates/Person.mdTemplates/Custom/person-template.md
/systemTemplates/System.mdTemplates/Custom/system-template.md
/emailTemplates/Email.mdTemplates/Custom/email-template.md
/incubatorTemplates/Incubator.mdTemplates/Custom/incubator-template.md
/projectTemplates/Project.mdTemplates/Custom/project-template.md
/tripTemplates/Trip.mdTemplates/Custom/trip-template.md
/dataassetTemplates/DataAsset.mdTemplates/Custom/dataasset-template.md
/bookTemplates/Book.mdTemplates/Custom/book-template.md

Instructions

List Mode: /customize-templates

When invoked without arguments, show the override status of all templates.

  1. Read the skill-to-template mapping table above
  2. For each entry, check whether the custom override file exists at Templates/Custom/<skill>-template.md
  3. Display a status table:
| Skill | Default Template | Custom Override | Status |
|-------|-----------------|----------------|--------|
| adr | Templates/ADR.md | Templates/Custom/adr-template.md | default |
| meeting | Templates/Meeting.md | Templates/Custom/meeting-template.md | customised |
| daily | Templates/Daily.md | Templates/Custom/daily-template.md | default |

Use customised when the custom file exists, default when it does not.

  1. Summarise: "X of Y templates have custom overrides. Use /customize-templates <skill> to create an override."

Customise Mode: /customize-templates <skill-name>

Copy a default template to the custom override location.

  1. Look up <skill-name> in the mapping table
  2. If not found, report the error and list valid skill names
  3. Check if a custom override already exists at Templates/Custom/<skill>-template.md
    • If it exists, inform the user: "Custom template already exists at Templates/Custom/<skill>-template.md. Edit it directly, or use /customize-templates reset <skill> to start fresh."
    • Stop
  4. Read the default template from Templates/<Type>.md
  5. Copy it to Templates/Custom/<skill>-template.md
  6. Confirm to the user:
Copied default template to: Templates/Custom/<skill>-template.md

You can now edit this file to customise the template.
The original at Templates/<Type>.md remains unchanged.

Skills that support template loading will check for custom
templates first. See the "Template Loading" section below
for the pattern other skills should follow.

Reset Mode: /customize-templates reset <skill-name>

Remove a custom template to revert to the default.

  1. Look up <skill-name> in the mapping table
  2. Check if Templates/Custom/<skill>-template.md exists
    • If it does not exist, inform the user: "No custom template found for <skill>. Already using the default."
    • Stop
  3. Confirm with the user: "Remove custom template at Templates/Custom/<skill>-template.md? This will revert to the default template. (Y/n)"
  4. If confirmed, delete the file
  5. Confirm: "Removed custom template. /<skill> will now use the default at Templates/<Type>.md."

Diff Mode: /customize-templates diff <skill-name>

Show differences between the custom and default templates.

  1. Look up <skill-name> in the mapping table
  2. Check if Templates/Custom/<skill>-template.md exists
    • If it does not exist, inform the user: "No custom template for <skill>. Nothing to diff."
    • Stop
  3. Run a diff between the two files:
    diff -u "Templates/<Type>.md" "Templates/Custom/<skill>-template.md"
    
  4. Display the diff output to the user
  5. If the files are identical, report: "Custom template is identical to the default. No changes detected."

Template Loading

This is the pattern that other skills should adopt to support custom templates.

When a skill creates a new note from a template, it should check for a custom override first:

  1. Check for custom template at Templates/Custom/{skill-name}-template.md
  2. If found, use it instead of the default template in Templates/
  3. If not found, use the default template

Example Implementation (for skill authors)

In a skill's SKILL.md instructions, add before the template-reading step:

Check for a custom template override:
- If `Templates/Custom/<skill>-template.md` exists, read and use that template
- Otherwise, use the default `Templates/<Type>.md`

Skills are not required to adopt this pattern immediately. It is opt-in and backwards-compatible -- skills that do not check for custom templates will continue to work with their defaults.

Notes

  • Custom templates live in Templates/Custom/ which is tracked by git, so overrides are version-controlled
  • The naming convention <skill>-template.md avoids conflicts with the default templates
  • Obsidian's Templater plugin will also pick up templates from Templates/Custom/ if the folder is configured
  • Only the templates listed in the mapping table above are supported; other templates in Templates/ can be edited directly

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Batch populate summary fields using content analysis

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

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

auto-tag

무료

Batch auto-tag untagged notes using content analysis

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

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

Generate C4 architecture diagrams from system notes

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

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

canvas

무료

Create and edit Obsidian Canvas files for architecture visualization

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

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

Check Outlook inbox and update daily note with message summary

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

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

commit

무료

Stage and commit vault changes with UK English conventional commit messages

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

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

DavidROliverBA의 스킬 모두 보기

이 스킬의 문제 신고