← スキル一覧に戻る

blog-publishing
by canyouseeus
THE LOST+UNFOUNDS - Modern web application
⭐ 0🍴 0📅 2026年1月23日
SKILL.md
name: blog-publishing description: Handles the end-to-end workflow for publishing blog posts on THE LOST+UNFOUNDS. Use this when creating new posts or updating existing ones via SQL scripts.
Blog Publishing & Styling Skill
This skill ensures that every blog post is published correctly and adheres to the strict "Noir" aesthetic and styling rules.
Part 1: The 6-Step Publishing Workflow
- Create SQL File: Create
sql/create-blog-post-[slug].sqlandpublic/sql/create-blog-post-[slug].sql.- Pattern: Must use
DECLARE existing_post_id UUID;and a check-and-insert/update block. - Critical: Never use
ON CONFLICT (slug).
- Pattern: Must use
- Update SQL.tsx: Add fetch code and register in the
allScriptsarray insrc/pages/SQL.tsx. - Update API Endpoint: Add the new SQL file path to
SQL_FILESinapi/sql/latest.ts. - Commit Changes: Stage and commit with a descriptive message.
- Merge to Production: Checkout
main, pull, merge the branch, and push. - Verify Deployment:
- URL:
https://www.thelostandunfounds.com/sql/create-blog-post-[slug].sql - Page:
https://www.thelostandunfounds.com/sql
- URL:
Part 2: Content Styling & Formatting
1. Text Alignment (Critical)
- NEVER use
text-centerortext-justifyfor body content. - ALWAYS use
text-left. Applies to paragraphs, analysis components, and headers.
2. Book Title Formatting
- Bolding: All book titles must be bold.
- Case Preservation: Titles must preserve the author's original case.
- Linking: Max 2 links per book. Linked titles must be underlined.
3. Disclosure & Special Characters
- Disclosure: Author names must be UPPERCASE BOLD. Disclosure text can be justified.
- Remove "⸻": Do not use the long dash character. Use proper paragraph spacing.
SQL Template Pattern
DO $$
DECLARE
existing_post_id UUID;
BEGIN
SELECT id INTO existing_post_id FROM blog_posts WHERE slug = '[slug]' LIMIT 1;
IF existing_post_id IS NOT NULL THEN
UPDATE blog_posts SET ... WHERE id = existing_post_id;
ELSE
INSERT INTO blog_posts (...) VALUES (...);
END IF;
END $$;
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です