intent-story

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Intent Story

Intent Story

通过采访式对话,帮助用户分享 IDD (Intent Driven Development) 的采用经验,生成传播 IDD 方法论的博客文章。
Through interview-style conversations, help users share their adoption experiences of IDD (Intent Driven Development) and generate blog posts that promote the IDD methodology.

核心理念

Core Concepts

  • 采访式创作:AI 分析 + 提问 + 用户回答 + AI 按风格整合
  • 真实故事:基于用户真实经验,不编造案例
  • 传播 IDD:每篇文章都自然介绍 IDD 理念和工具
  • Interview-style Creation: AI analysis + questioning + user responses + AI integration in desired style
  • Authentic Stories: Based on users' real experiences, no fabricated cases
  • Promote IDD: Each article naturally introduces IDD concepts and tools

Workflow

Workflow

/intent-story
┌───────────────────────────────────┐
│  Phase 1: 背景分析                │
│  - 检测输入语言                   │
│  - 加载写作风格(如有)           │
│  - 了解用户 IDD 使用背景          │
└─────────────┬─────────────────────┘
┌───────────────────────────────────┐
│  Phase 2: 结构化采访              │
│  - 采用经历                       │
│  - 关键转折/教训                  │
│  - 具体收益/数据                  │
│  - 建议和反思                     │
└─────────────┬─────────────────────┘
┌───────────────────────────────────┐
│  Phase 3: 确认输出需求            │
│  - 文章格式/风格/长度             │
│  - 目标语言版本                   │
└─────────────┬─────────────────────┘
┌───────────────────────────────────┐
│  Phase 4: 生成文章                │
│  - 完整博客 + 社交媒体版          │
│  - 多语言版本(按需)             │
│  - 自然融入 IDD 介绍              │
└───────────────────────────────────┘
/intent-story
┌───────────────────────────────────┐
│  Phase 1: Background Analysis     │
│  - Detect input language          │
│  - Load writing style (if exists) │
│  - Understand user's IDD usage background │
└─────────────┬─────────────────────┘
┌───────────────────────────────────┐
│  Phase 2: Structured Interview    │
│  - Adoption experience            │
│  - Key turning points/lessons     │
│  - Specific benefits/data         │
│  - Suggestions and reflections    │
└─────────────┬─────────────────────┘
┌───────────────────────────────────┐
│  Phase 3: Confirm Output Requirements │
│  - Article format/style/length     │
│  - Target language versions       │
└─────────────┬─────────────────────┘
┌───────────────────────────────────┐
│  Phase 4: Generate Article        │
│  - Complete blog + social media version │
│  - Multi-language versions (as needed) │
│  - Naturally integrate IDD introduction │
└───────────────────────────────────┘

Phase 1: 背景分析

Phase 1: Background Analysis

语言检测

Language Detection

  • 根据用户输入的主要语言确定初始写作语言
  • 后续可询问是否需要其他语言版本
  • Determine initial writing language based on the main language of user input
  • Can later ask if other language versions are needed

写作风格加载

Writing Style Loading

按优先级加载(如存在):
  1. ~/.claude/content-profile/writing-style.md
    (用户自定义)
  2. 使用本技能默认风格
Load in priority order (if exists):
  1. ~/.claude/content-profile/writing-style.md
    (user-defined)
  2. Use this skill's default style

初始问题

Initial Questions

使用 AskUserQuestion 了解背景:
question: "你是在什么类型的项目中使用 IDD 的?"
header: "项目类型"
options:
  - label: "系统软件/框架"
    description: "框架、库、基础设施等"
  - label: "Web 应用"
    description: "前端或全栈 Web 项目"
  - label: "移动应用"
    description: "iOS、Android 或跨平台"
  - label: "其他"
    description: "其他类型项目"
Use AskUserQuestion to understand background:
question: "What type of project did you use IDD in?"
header: "Project Type"
options:
  - label: "System Software/Framework"
    description: "Frameworks, libraries, infrastructure, etc."
  - label: "Web Application"
    description: "Frontend or full-stack Web projects"
  - label: "Mobile Application"
    description: "iOS, Android or cross-platform"
  - label: "Other"
    description: "Other types of projects"

Phase 2: 结构化采访

Phase 2: Structured Interview

采访维度

Interview Dimensions

每轮 2-3 个问题,通常 3-5 轮完成。
2-3 questions per round, usually completed in 3-5 rounds.

1. 采用动机

1. Adoption Motivation

"是什么让你开始尝试 IDD?"
- A) 文档总是过时,想找更好的方法
- B) AI 辅助开发需要更好的上下文管理
- C) 团队协作需要更清晰的设计契约
- D) 其他原因
"What made you start trying IDD?"
- A) Documentation is always outdated, looking for a better method
- B) AI-assisted development needs better context management
- C) Team collaboration needs clearer design contracts
- D) Other reasons

2. 转折时刻

2. Turning Point

"使用 IDD 过程中,有没有一个'啊哈'时刻让你觉得值得?"
[开放式,收集故事]
"During your use of IDD, was there an 'aha' moment that made you think it was worth it?"
[Open-ended, collect stories]

3. 具体收益

3. Specific Benefits

"你观察到的最明显的改变是什么?"
- A) AI 代码质量提升(更少需要修改)
- B) 架构边界更清晰
- C) 文档不再过时
- D) 新人上手更快
- E) 其他
"能否量化一下收益?(可选)"
[开放式,如:"AI 一次生成可用代码的比例从 30% 提升到 70%"]
"What's the most obvious change you observed?"
- A) Improved AI code quality (fewer revisions needed)
- B) Clearer architecture boundaries
- C) Documentation no longer becomes outdated
- D) New team members get up to speed faster
- E) Other
"Can you quantify the benefits? (Optional)"
[Open-ended, e.g., "The proportion of usable code generated by AI in one go increased from 30% to 70%"]

4. 教训和挑战

4. Lessons and Challenges

"遇到过什么挑战或走过的弯路?"
[开放式]
"如果重新开始,你会有什么不同的做法?"
[开放式]
"What challenges or detours have you encountered?"
[Open-ended]
"If you started over, what would you do differently?"
[Open-ended]

5. 给其他人的建议

5. Advice for Others

"对考虑采用 IDD 的人,你有什么建议?"
[开放式]
"What advice do you have for people considering adopting IDD?"
[Open-ended]

采访原则

Interview Principles

  • 少问多推:能从上文推断的不重复问
  • 故事优先:鼓励用户分享具体经历
  • 真实性:不编造案例,用户没有的就不加
  • 深度追问:对有价值的回答继续挖掘
  • Ask less, infer more: Don't repeat questions that can be inferred from previous context
  • Story first: Encourage users to share specific experiences
  • Authenticity: No fabricated cases, don't add content users don't have
  • Deep follow-up: Continue to explore valuable answers

Phase 3: 确认输出需求

Phase 3: Confirm Output Requirements

采访完成后,确认输出格式:
After the interview, confirm the output format:

文章风格

Article Style

question: "这篇文章的风格?"
header: "风格"
options:
  - label: "技术分享"
    description: "peer-to-peer,工程师视角"
  - label: "经验总结"
    description: "回顾反思,Founder/Lead 视角"
  - label: "入门指南"
    description: "帮助新人理解和上手"
  - label: "案例研究"
    description: "详细的项目案例分析"
question: "What style should this article be?"
header: "Style"
options:
  - label: "Technical Sharing"
    description: "peer-to-peer, engineer's perspective"
  - label: "Experience Summary"
    description: "Retrospective reflection, Founder/Lead perspective"
  - label: "Getting Started Guide"
    description: "Help newcomers understand and get started"
  - label: "Case Study"
    description: "Detailed project case analysis"

文章长度

Article Length

question: "目标长度?"
header: "长度"
options:
  - label: "短文 (800-1200字)"
    description: "快速阅读,重点突出"
  - label: "中等 (1500-2500字)"
    description: "有深度的分享"
  - label: "长文 (3000+字)"
    description: "完整详细的案例分析"
question: "Target length?"
header: "Length"
options:
  - label: "Short Article (800-1200 words)"
    description: "Quick read, key points highlighted"
  - label: "Medium Article (1500-2500 words)"
    description: "In-depth sharing"
  - label: "Long Article (3000+ words)"
    description: "Complete and detailed case analysis"

语言版本

Language Versions

question: "需要生成哪些语言版本?"
header: "语言"
multiSelect: true
options:
  - label: "中文"
    description: "简体中文版本"
  - label: "English"
    description: "English version"
  - label: "两者都要"
    description: "中英双语"
question: "Which language versions need to be generated?"
header: "Language"
multiSelect: true
options:
  - label: "Chinese"
    description: "Simplified Chinese version"
  - label: "English"
    description: "English version"
  - label: "Both"
    description: "Bilingual (Chinese and English)"

Phase 4: 生成文章

Phase 4: Generate Article

文章结构

Article Structure

markdown
undefined
markdown
undefined

[标题:吸引人的 IDD 经验标题]

[Title: Engaging IDD Experience Title]

[开头:核心洞察/结论,吸引读者]
[Opening: Core insight/conclusion to attract readers]

背景/起因

Background/Origin

[为什么开始使用 IDD]
[Why you started using IDD]

关键发现/转折

Key Discoveries/Turning Points

[使用过程中的洞察和故事]
[Insights and stories from the usage process]

实际收益

Practical Benefits

[具体的改变和量化数据]
[Specific changes and quantified data]

教训和建议

Lessons and Advice

[给其他人的建议]
[Advice for others]

结语

Conclusion

[总结 + IDD 介绍]

[Summary + IDD introduction]

关于 IDD

About IDD

[IDD 简介和工具链,见下文模板]
undefined
[IDD introduction and toolchain, see template below]
undefined

IDD 介绍模板(必须包含)

IDD Introduction Template (Mandatory)

每篇文章结尾自然融入:
markdown
---
Naturally integrate at the end of each article:
markdown
---

About IDD (Intent Driven Development)

About IDD (Intent Driven Development)

IDD 是一种以 Intent(意图)为核心的开发方法论:
Intent → Test → Code → Sync
核心理念:Intent 是新的源代码。Code review 由 AI 完成,Intent review 由 Human 完成。
工具链
  • /intent-assess
    - 评估项目是否适合 IDD
  • /intent-init
    - 初始化 IDD 结构
  • /intent-interview
    - 从想法创建 Intent
  • /intent-check
    - 验证代码与 Intent 一致性
开始使用
bash
npx add-skill arcblock/idd
undefined
IDD is a development methodology centered around Intent:
Intent → Test → Code → Sync
Core Concept: Intent is the new source code. Code review is done by AI, Intent review is done by humans.
Toolchain:
  • /intent-assess
    - Evaluate if a project is suitable for IDD
  • /intent-init
    - Initialize IDD structure
  • /intent-interview
    - Create Intent from ideas
  • /intent-check
    - Verify consistency between code and Intent
Get Started:
bash
npx add-skill arcblock/idd
undefined

社交媒体版本

Social Media Version

同时生成 Twitter/X 版本:
[核心洞察,1-2句]

[关键数据/收益]

[一句话 CTA]

🔗 [文章链接]

#IntentDrivenDevelopment #IDD #AIEngineering
Also generate a Twitter/X version:
[Core insight, 1-2 sentences]

[Key data/benefits]

[One-sentence CTA]

🔗 [Article link]

#IntentDrivenDevelopment #IDD #AIEngineering

写作风格指南

Writing Style Guide

遵循以下原则(来自用户写作风格):
原则说明
观点鲜明不做骑墙派,有明确立场
真实案例故事来自用户,不编造
段落充实每段 4-8 句,有完整论述
小标题精简2-4 个小标题,内容丰富
内省式表达"我觉得..."而非"你应该..."
避免套话每个观点要有具体洞察支撑
禁用 em dash用 "-" 或 "," 替代 "—"
Follow these principles (from user's writing style):
PrincipleDescription
Clear stanceNo fence-sitting, have a clear position
Authentic casesStories come from users, no fabrication
Substantial paragraphs4-8 sentences per paragraph, complete discussion
Concise subheadings2-4 subheadings, rich content
Introspective expressionUse "I think..." instead of "You should..."
Avoid clichésEach point must be supported by specific insights
Disable em dashUse "-" or "," instead of "—"

输出示例

Output Example

markdown
undefined
markdown
undefined

从「文档总是过时」到「Intent 就是代码」- 我的 IDD 实践

From "Documentation is Always Outdated" to "Intent is Code" - My IDD Practice

半年前,我们团队面临一个经典困境:文档写得再好,三周后就过时...
[正文...]

Half a year ago, our team faced a classic dilemma: no matter how well we wrote documentation, it would be outdated in three weeks...
[Body...]

About IDD

About IDD

IDD (Intent Driven Development) 是一种以意图为核心的开发方法论...
[工具链介绍...]
开始使用: ```bash git clone https://github.com/ArcBlock/idd claude mcp add-plugin ~/path/to/idd ```
undefined
IDD (Intent Driven Development) is an Intent-centered development methodology...
[Toolchain introduction...]
Get Started:
bash
git clone https://github.com/ArcBlock/idd
claude mcp add-plugin ~/path/to/idd
undefined

与其他命令配合

Coordination with Other Commands

[用户使用 IDD 一段时间]
/intent-story             # 分享经验,生成博客
发布博客 / 社交媒体
传播 IDD 方法论
[User has been using IDD for some time]
/intent-story             # Share experiences, generate blog
Publish blog / social media
Promote IDD methodology

注意事项

Notes

  1. 真实性:所有案例和数据必须来自用户,不能编造
  2. 自然融入:IDD 介绍要自然融入结尾,不是生硬广告
  3. 用户语言:主要语言跟随用户输入
  4. 风格一致:如有用户写作风格配置,优先使用
  1. Authenticity: All cases and data must come from users, cannot be fabricated
  2. Natural Integration: IDD introduction must be naturally integrated at the end, not a forced advertisement
  3. User Language: The main language follows user input
  4. Style Consistency: If user has writing style configuration, prioritize using it