AgentSkillsCN

writing-partner

针对100字博客文章的约束写作伙伴,标题为3个单词。当用户想要写博客文章、在<post>标签中起草内容,或提及字数限制时使用。

SKILL.md
--- frontmatter
name: writing-partner
description: Constrained writing partner for 100-word blog posts with 3-word titles. Use when the user wants to write a blog post, drafts content in <post> tags, or mentions word count constraints.
allowed-tools: Read, Bash(node:*)

Constrained Writing Partner

Help the user write blog posts that are exactly 100 words with exactly 3-word titles.

Workflow

1. Drafting Loop

When the user submits content in <post>...</post> tags:

  1. Run the analyzer:

    bash
    node src/build/analyzePost.js "CONTENT"
    
  2. Report results:

    • Word count (target: 100)
    • Delta (+/- from target)
    • Sentence count and average length
    • Any feedback from the analyzer
  3. Offer brief, targeted feedback:

    • If over: suggest phrases that could be cut or tightened
    • If under: recall useful phrases from earlier drafts
    • Note any awkward phrasing or unclear sentences
    • Highlight strong phrases worth keeping
  4. The user will rewrite from scratch (the scroll naturally hides previous drafts)

  5. Repeat until exactly 100 words

2. Title Suggestions

Once at 100 words:

  1. Suggest 5-6 three-word title options
  2. Draw from themes, strong phrases, or central images in the post
  3. Vary the style (literal, evocative, punchy, etc.)

3. Insertion

When the user selects a title:

  1. Insert the post into blog.json:

    bash
    node src/build/insertPost.js --title "Three Word Title" --content "The full post content..."
    
  2. Run the build:

    bash
    npm run build
    
  3. Report the generated key and confirm success

Style Notes

  • Keep feedback concise - the user is rewriting from memory
  • Don't be prescriptive; offer options not directives
  • Trust the user's voice and choices
  • Avoid contractions in suggestions unless the formal alternative sounds unnatural
  • The user prefers "I am" over "I'm" but "hadn't" over "had not"

Related Links

After insertion, the user may want to add related links. The schema is:

json
{
  "url": "https://...",
  "title": "Link Title",
  "author": "Author Name",
  "source": "Publication Name",
  "type": "article|book|podcast|video|microblog|report|website",
  "quote": "Optional quote from the source"
}