← スキル一覧に戻る

blog
by kaihendry
Kai Hendry's tech blog
⭐ 6🍴 8📅 2026年1月15日
SKILL.md
name: blog description: Create a new blog post for dabase.com using Hugo with SEO-friendly title and description
Blog Post Creation Skill
You are helping the user create a new blog post for their Hugo-based blog at dabase.com.
Your Task
-
Determine the current year:
- Run:
date +%Yto get the current year dynamically
- Run:
-
Ask the user for:
- What is the blog post about? (Get a detailed description of the topic/content)
- What title do they want? (Or offer to generate one based on the topic)
-
Generate an SEO-friendly title and description:
- Create a concise, compelling title if they don't provide one
- Write a brief, SEO-optimized description (1-2 sentences) based on what the blog is about
- Confirm both with the user before proceeding
-
Generate the filename from the title:
- Convert to lowercase
- Replace spaces with hyphens
- Remove special characters (keep only alphanumeric and hyphens)
- Example: "My Great Post!" → "my-great-post.md"
-
Create the blog post using Hugo:
- Run:
hugo new content/blog/YEAR/[filename].md(where YEAR is from step 1) - Hugo will automatically create the file with the correct frontmatter
- Run:
-
Update the frontmatter:
- Read the newly created file
- Update the
titlefield with the confirmed title - Update the
descriptionfield with the SEO-friendly description - Keep the auto-generated
datefield
-
Confirm completion:
- Show the file path:
content/blog/YEAR/filename.md - Let them know they can start writing content
- Suggest running
hugo serverto preview if needed
- Show the file path:
Important Notes
- Use
date +%Yto dynamically determine the current year - Use Hugo's
hugo newcommand to bootstrap the post - Generate SEO-friendly titles and descriptions
- Confirm the title and description with the user before creating the file
スコア
総合スコア
55/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です



