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

blog-idea-draft-export

Create or update a Markdown blog draft from recent work and export it with `YYYY-MM-DD_slug.md` naming. Output directory can be set via environment variable or CLI option; if missing, ask the user and pass it explicitly.

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

설치 방법 보기

포함된 파일(3)

  • SKILL.md2.5 KB
  • agents/openai.yaml389 B
  • scripts/export_blog_idea_draft.sh2.3 KB

SKILL.md(원문)

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

Blog Idea Draft Export

Goal

Create a clean Markdown draft from recent work context and save it with consistent naming and linted formatting.

Default export helper script:

  • skills/blog-idea-draft-export/scripts/export_blog_idea_draft.sh

Workflow

  1. Gather source context from the current conversation first.
  2. Supplement context only when needed (for example: changed files, PR title/body, key commands, or outcomes).
  3. Choose a short kebab-case slug.
  4. Draft the Markdown content in the assistant response first.
  5. Export using the helper script (content goes through stdin):
cat <<'EOF' | \
  skills/blog-idea-draft-export/scripts/export_blog_idea_draft.sh \
  --slug "<slug>" --output-dir "<dir>"
# Title
...
EOF
  1. Output directory resolution order:
    1. --output-dir <dir>
    2. BLOG_IDEA_DRAFT_EXPORT_DIR environment variable
    3. If neither is set, ask the user which directory to use, then pass --output-dir explicitly.
    4. The script can show an interactive prompt only when run from a TTY.
  2. The script uses local date (date +%F) to build YYYY-MM-DD_slug.md unless --date is specified.
  3. If the target file already exists, ask before overwriting (or use --force).
  4. Return the output file path and a short summary of the draft structure.

Draft Structure

Use this as the default skeleton, then adapt to the user request.

# <Article title>

## TL;DR

<1-3 lines>

## Background

<Why this work was needed>

## What I Changed

- <Change 1>
- <Change 2>
- <Change 3>

## Key Implementation Notes

- <Design choice or tradeoff>
- <Operational detail>

## Pitfalls and Fixes

- <Issue>
- <How it was resolved>

## Result

<What improved, what became easier>

## Next

<Optional follow-up>

Writing Rules

  • Match the language and tone requested by the user.
  • Keep technical details concrete (file paths, commands, settings).
  • Prefer practical lessons over long background theory.
  • Avoid adding claims that are not present in the source context.

Script Notes

  • Required: --slug <kebab-case>
  • Optional: --output-dir <dir>, --date <YYYY-MM-DD>, --force
  • Input: Markdown via stdin
  • Output: prints final file path

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Convert Claude markdown subagent files to Codex CLI TOML format. Parses YAML frontmatter and body, applies model/permission/tool mappings, and outputs to agents/codex/<name>.toml.

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

hodanov/my-pde32026년 10월 20일 업데이트

変更をコミットしてドラフトPRを作成する一連のGit/ghワークフロー。ユーザーが「コミットして」「PR作って」「draft PR」等を求めたときに使用し、status/diff確認・命令形コミット・push・gh pr create --draft(--assignee hodanov)まで実行する。ユーザーの明示リクエストが無くても、実装完了後にcommitやPRが必要になった場面(dev-workflowのcommitフェーズ等)では必ずこれを使う。`git commit` や `gh pr create` を単体でBash直接実行しない。

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

hodanov/my-pde32026년 10월 20일 업데이트

1 つの作業ツリーに混ざった差分を、変更理由ごとの意味単位のコミットへ分割する。ユーザーが「コミットを分割して」「意味単位で分けて」「commit-split」等を求めたとき、または機能追加・付随リファクタ・設定/ドキュメント修正が 1 コミットに混在していると気づいたときに使用する。分割案を提示して承認を得てからステージし、コミットごとに単独で成立することを確認する。メッセージ規約・push・PR の作成は commit-and-draft-pr へ委譲する。

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

hodanov/my-pde32026년 10월 20일 업데이트

gitleaks + pre-commit を使ってローカルコミット時のクレデンシャル混入を機械的にブロックする。「クレデンシャル漏洩防止」「シークレット混入対策」「gitleaks」「pre-commit シークレット」「credential leak prevention」に言及した場合に使用する。

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

hodanov/my-pde32026년 10월 20일 업데이트

依存パッケージ(Go modules / npm / Terraform provider / GitHub Actions / pre-commit 等)の アップグレードを、outdated 検出 → CHANGELOG・破壊的変更の確認 → 更新 → lint/test 検証 → コミットまで一連の手順で安全に適用する。「依存更新」「パッケージを上げて」「dependency update」 「go get -u」「npm update」「provider を上げる」等に言及されたときに使用する。

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

hodanov/my-pde32026년 10월 20일 업데이트

ai-agents/ と dotfiles/ の編集内容を各 AI CLI(~/.claude, ~/.codex)と ~/.config へ反映するデプロイ手順。「設定を反映」「デプロイ」「~/.claude に配って」「スキル/エージェント/設定を更新したから配布」等を求められたときに使用する。

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

hodanov/my-pde32026년 10월 20일 업데이트

hodanov의 스킬 모두 보기

이 스킬의 문제 신고