← 返回
未分类

decision-recorder

Record, review, search, and analyze decisions from technical work, product work, team discussions, and personal planning. Use when the user wants to capture why a decision was made, compare options, store rationale, track outcomes, or revisit past decisions by keyword, date, or tag.
决策记录器 - 记录、追溯和分析决策过程
yjkj999999
未分类 community v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 18
下载
💾 0
安装
1
版本
#latest

概述

Decision Recorder

Record decisions in a structured format so they can be searched, reviewed, and improved over time.

Core capabilities

  • Detect decision-oriented text
  • Create structured decision records
  • Search and filter past decisions
  • Review decision details
  • Analyze decision patterns
  • Update or delete stored decisions

Commands

Record a decision

decision-recorder record
decision-recorder r

List decisions

decision-recorder list
decision-recorder ls

Search decisions

decision-recorder search <keyword>
decision-recorder s <keyword>

Analyze patterns

decision-recorder analyze
decision-recorder a

View a specific decision

decision-recorder view <id>
decision-recorder v <id>

Update or delete a decision

decision-recorder update <id>
decision-recorder u <id>

decision-recorder delete <id>
decision-recorder d <id>

Detect decision keywords

decision-recorder detect "We decided to use Node.js"
decision-recorder keywords

Common filters

# Filter by tag
decision-recorder list --tag=important

# Filter by date range
decision-recorder list --from=2024-01-01 --to=2024-12-31

Programmatic usage

const dr = require('decision-recorder');

const record = dr.createDecision({
  question: 'Which backend stack should we use?',
  options: ['Node.js', 'Python', 'Go'],
  reasoning: 'Node.js has the best fit for fast iteration and ecosystem support.',
  result: 'Node.js',
  context: 'New product launch',
  tags: ['architecture', 'backend']
});

const matches = dr.searchDecisions('architecture');
const analysis = dr.analyzeDecisions();

Decision record format

{
  "id": "unique-id",
  "timestamp": "ISO-8601 timestamp",
  "question": "Decision question",
  "options": ["Option A", "Option B"],
  "reasoning": "Why this choice was made",
  "result": "Final choice",
  "context": "Background",
  "tags": ["tag-a", "tag-b"]
}

Data location

Decision records are stored under:

~/.decision-recorder/

Each decision is stored as a JSON file.

Recommended use cases

  • Architecture and technology choices
  • Product tradeoff decisions
  • Team decisions after discussion
  • Operational decisions and retrospectives
  • Personal planning and career decisions

Good practice

  1. Record decisions soon after they are made.
  2. Capture reasoning, not just outcomes.
  3. Use tags consistently.
  4. Review decisions periodically.
  5. Compare similar decisions over time.

Notes

  • Requires Node.js 14 or later.
  • Uses local JSON files for storage.
  • Works best when reasoning and context are written clearly.

License

MIT

版本历史

共 1 个版本

  • v1.0.0 从ClawHub迁移发布 当前
    2026-06-07 11:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

Summarize

paudyyin
智能摘要工具,自动为长文本、文档、网页生成摘要,提取要点与关键词,支持自定义摘要长度。
★ 966 📥 522,906
knowledge-management

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 450 📥 105,868
design-media

agnes-image-gen

user_15292d5a
使用 Agnes AI 的图片生成模型生成图片,支持文生图(agnes-image-2.1-flash)和图生图(agnes-image-2.0-flash)。支持自定义 API Key,用户可使用自己的 Agnes Key。优化重点:降低
★ 1 📥 227