Back to list
shio-chan-dev

leetcode-acers-blogger

by shio-chan-dev

2🍴 0📅 Jan 25, 2026

SKILL.md


name: leetcode-acers-blogger description: Create Hugo blog posts for LeetCode-style problems in this project using docs/leetcode_std.md, with current timestamps from date. Use when the user provides a problem statement and wants a new ACERS post.

LeetCode ACERS Hugo Blogger

Workflow

  1. Read docs/leetcode_std.md and follow the ACERS template plus all extra requirements.
  2. Gather inputs: problem statement, examples, target language (zh/en), target folder override (if any), desired slug/title, tags/keywords.
  3. Choose output path:
    • Chinese default: content/zh/alg/leetcode/<slug>.md
    • English default: content/en/alg/leetcode/<slug>.md
    • Do not default to content/posts/leetcode.
    • If the user specifies a path (e.g., @content/posts/leetcode), honor that path.
  4. Generate front matter in YAML with title, date, draft=false, categories, tags, description, keywords.
  5. Get the current timestamp by running date "+%Y-%m-%dT%H:%M:%S%:z" and use it in date.
  6. Write the full article in Chinese technical style, including:
    • Title, subtitle/summary, target readers, background/motivation, core concepts
    • Thought-process derivation: from naive/brute force to bottleneck, key observation, method choice, and why it is correct
    • ACERS sections (Algorithm, Concepts, Engineering, Reflection, Summary)
    • Practical steps, runnable examples, explanations, FAQs, best practices
    • Meta info (reading time, tags, SEO keywords, meta description) and CTA
  7. If it is an algorithm problem, append multi-language implementations (Python, C, C++, Go, Rust, JS).
  8. Use ASCII kebab-case file names by default; avoid non-ASCII unless explicitly requested.

Required Inputs

  • Problem statement (full text or link with pasted text)
  • 1-2 examples (input/output or scenario)
  • Target language (zh or en)
  • Output folder (optional; default is the language section under content/zh/alg/leetcode)
  • Title/keywords/tags (optional; infer if not provided)

Output Format

  • Path: <file path>
  • Date: <timestamp used>
  • Notes: <assumptions or missing info>

Guardrails

  • Do not invent constraints, inputs, or outputs; ask if missing.
  • Follow docs/leetcode_std.md exactly; do not omit required sections.
  • Use runnable code, no pseudocode.
  • Keep front matter consistent with existing LeetCode posts.
  • Do not present only the final solution; include the reasoning path and key decisions.
  • Do not include secrets or private data.

Score

Total Score

50/100

Based on repository quality metrics

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

Reviews

💬

Reviews coming soon