Skip to main content

doc-new-note

Use when asked to create a "new note", "daily summary", "worklog entry", "weekly summary", or similar, in a project that has a worklog system (`.notes-config.yml` at root). Calls the project's new-note.sh script, which enforces naming and layout.

소스 정보

저장소
blakesims/task-workflow-plugin
최근 소스 활동
2026년 8월 29일 08:13
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
doc-new-note
description
Use when asked to create a "new note", "daily summary", "worklog entry", "weekly summary", or similar, in a project that has a worklog system (`.notes-config.yml` at root). Calls the project's new-note.sh script, which enforces naming and layout.
user-invocable
true
disable-model-invocation
true
# New Worklog Note Create a worklog note via the project's `new-note.sh` script. Never create notes manually — the script enforces naming, sequence numbers, and directory layout based on `.notes-config.yml`. ## Process 1. **Locate the script.** Find `.notes-config.yml` at project root (or any parent). Read `worklog_dir` from it. The script is at `<worklog_dir>/new-note.sh`. If no `.notes-config.yml` exists, tell the user: *"This project isn't set up with the worklog system yet. Run `/task-workflow:doc-init` first."* Then stop. 2. **Run the script** with the appropriate mode: | Command | When | |---------|------| | `./<worklog_dir>/new-note.sh <slug>` | Detailed note (auto-increments sequence) | | `./<worklog_dir>/new-note.sh --summary` | Today's daily summary | | `./<worklog_dir>/new-note.sh --tomorrow` | Pre-create tomorrow's summary | | `./<worklog_dir>/new-note.sh --weekly` | This week's weekly summary | Slugs must be kebab-case (lowercase letters, numbers, hyphens). Examples: `auth-bug-investigation`, `caching-decision`, `api-refactor-plan`. 3. **Read the returned path.** The script prints the file path and a reminder. You **must** call the Read tool on that path before calling Edit. Claude Code's tool contract requires it. 4. **Edit sections** of the note using the Edit tool. Do not use Write to rewrite the whole file — it clobbers any existing content (the summary in particular may already have entries from earlier in the day). ## Rules - Never create worklog files manually. Always the script. - Always Read before Edit. - Use Edit for section updates; Write only if the file is genuinely empty and you're authoring from scratch. - Don't invent filenames — let the script number them. - **Convergent idempotency.** If a summary already has content (from `/task-workflow:doc-sweep` or an earlier note-dump), don't clobber it — Edit additively into the right section. The summary's tables and lists are the ledger of what's been captured.
GitHub에서 보기