← 返回
开发者工具 中文

Update MD

Create or update project documentation in Markdown. Use when building a new project doc set, updating existing docs after a deploy or feature change, or esta...
创建或更新Markdown格式的项目文档。适用于构建新项目文档集、部署或功能变更后更新现有文档等场景。
tonylnng tonylnng 来源
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 492
下载
💾 5
安装
1
版本
#latest

概述

update-md

Core Principles

  1. Split, don't consolidate — One file per concern. Never dump everything into one doc.
  2. Overview is always the entry point — Every project has a PROJECT-OVERVIEW.md that's lean and links to everything else.
  3. 按需讀取 — Detail files are only read when needed; keep them out of the overview.
  4. Update rules are mandatory — Every doc set must define when each file should be updated.
  5. Deploy = Update docs — Docs update immediately after every deploy. No exceptions.

Standard Doc Set Structure

Every project follows this pattern:

PROJECT-OVERVIEW.md     ← 精簡總覽,每 session 必讀
PROJECT-DEPLOY.md       ← 部署、Docker、Nginx、SSL、環境變數
PROJECT-APPS.md         ← 功能規格(如有多個 app/module)
PROJECT-DB.md           ← 數據庫 schema 及連接設定
PROJECT-HISTORY.md      ← 版本日誌,每次 deploy 後更新

Add or remove files based on project complexity. See references/doc-templates.md for file templates.

OVERVIEW.md Must-Haves

  • Project name, domain/URL, status, VM/hosting info
  • Feature/tool status table (✅ / 🔄 / ⏳ / ❌)
  • Doc map table (file → content)
  • Update rules table (change type → files to update)
  • Current version number

Update Rules (include in every OVERVIEW.md)

改動類型需要更新
--------------------
新功能 / 改功能OVERVIEW(狀態)+ APPS
新版本發布HISTORY + OVERVIEW(版本號)
部署/基礎設施改動DEPLOY
DB schema 改動DB

Status Symbols

Use consistently across all docs:

  • ✅ 完成
  • 🔄 進行中
  • ⏳ 待開始
  • ❌ 取消 / 廢棄

When Updating Docs

  1. Identify which files are affected by the change (use the update rules table)
  2. Update only those files — don't touch unrelated docs
  3. Update version number in OVERVIEW if it's a release
  4. Add entry to HISTORY with date, version, and bullet points

Creating a New Doc Set

  1. Create PROJECT-OVERVIEW.md first — establish the doc map before writing detail files
  2. Add detail files as needed (DEPLOY, APPS, DB, HISTORY)
  3. Add the doc map to the project's AGENTS.md so agents know which files exist
  4. Reference references/doc-templates.md for boilerplate

See references/doc-templates.md for ready-to-use file templates.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 12:37 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 71 📥 181,376
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 194 📥 67,398
ai-agent

Self-Learn

tonylnng
通过从纠正和任务自评中学习实现持续自我改进。使用时机:(1)用户纠正智能体(如“不对,那是错的”,“其实,我……)。
★ 0 📥 982