AgentSkillsCN

skill-content-strategy

CORE: L3内容策略——读者真正需要什么?双语、技术性强、简约而不失深度。

SKILL.md
--- frontmatter
name: skill-content-strategy
description: "CORE: L3 content strategy - what does the reader need? Bilingual, technical, minimalist."
type: core
layer: L3

Content Strategy (L3: Why)

Core Question

What does the reader need?

Constraints

ConstraintImplication
Bilingual (en/zh)Paired pages, language switcher, separate RSS
Technical contentMath (KaTeX), diagrams (Mermaid)
MinimalistNo unnecessary features, fast loading

Thinking Prompt

Before planning features:

  1. Who is the reader? (Technical, bilingual)
  2. Does this align with minimalist philosophy?
  3. Does it work in both languages?

Trace DOWN ↓ (Feature → Implementation)

Content DecisionArchitecture (L2)Implementation (L1)
Bilingual postsRoute: /:lang/posts/:slug/extractLang function
Math supportCompiler: KaTeX transformcachedKaTeX subprocess
RSS per languageRoute: /:lang/feed.xmlFilter by lang field

Content Types

TypeURL PatternFeatures
Post/:lang/posts/:slug/Date, tags, math, diagrams
Page/:lang/:slug/Simple content
Feed/:lang/feed.xmlLatest posts

Anti-Patterns

Don'tWhy
Client-side renderingJS dependency, slow
Skip translation fallbackBroken links
Hardcoded language stringsNot bilingual-ready