Receber por email
← Voltar para o catálogo

decision-extractor

Verifica notas recentes em busca de linguagem de decisão e oferece-se para atualizar os Registros de Decisão do projeto.

556estrelas
Atualizado há 2 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add majiayu000/claude-skill-registry

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/decision-extractor/svg)](https://www.skillteca.com.br/skills/decision-extractor)

Skills relacionadas

Ver todas de Pesquisa e Web →

Alerta por categoria

Receba novas skills de Pesquisa e Web toda segunda

1 email curto, só com as skills novas de Pesquisa e Web. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Decision Extractor

Scan recent notes (weekly reports, meetings) for decision language and surface decisions that should be logged in project files.

Arguments

  • Time range (optional): "this week", "last 2 weeks", "this month" (default: last 2 weeks)
  • Project filter (optional): Only look for decisions about a specific project
  • --include-slack: Also scan Slack for decision language (default: vault only)

Steps

  1. Find files to scan:
  2. Glob recent weekly reports based on time range
  3. Glob meeting notes in those week folders
  4. If project filter, narrow scope
  1. Scan vault for decision language:

Pattern match for phrases indicating decisions:

  • "decided to", "decision:", "the call is"
  • "agreed on", "agreed to", "we'll go with"
  • "chose to", "choosing", "selected"
  • "approved", "signed off on"
  • "not doing", "won't pursue", "deprioritizing"
  • "the plan is", "moving forward with"
  • "resolved to", "committed to"
  1. Scan Slack for decisions (if --include-slack):
  2. Use mcp__playground-slack-mcp__get_messages with action: my_messages
  3. Time range: Match the vault time range argument
  4. Search sent messages and @mentions for same decision patterns
  5. These are "async decisions" that may not have made it to vault notes
  6. Skip gracefully if Slack MCP unavailable
  1. Extract decision context:
  2. The decision itself
  3. Date (from file or section)
  4. People involved (if mentioned)
  5. Project/topic it relates to
  6. Rationale (if stated)
  7. Source: vault file or Slack (channel + thread link)
  1. Match to projects:
  2. For each decision, identify which project it relates to
  3. Check if project has a Decision Log section
  4. Check if decision is already logged
  1. Present findings:
  2. Show decisions found
  3. Indicate which are already logged vs. new
  4. Group by project
  5. Mark Slack decisions with source channel
  1. Offer to update:
  2. For new decisions, ask if user wants to add to Decision Log
  3. If confirmed, use Edit tool to append to project file

Output Format

## Decisions Found ([time range])

### [[project-1]]

**Already Logged:**
- [Date]: [Decision] ?

**New (not in Decision Log):**
- [Date]: [Decision]
  - Source: `meeting-2025-01-06-person.md`
  - Context: [brief rationale if found]
  - -> Add to Decision Log? [Y/N]

### [[project-2]]

**New:**
- [Date]: [Decision]
  - Source: `weekly-report-w02.md`
  - -> Add to Decision Log? [Y/N]

### Unmatched (no clear project)

- [Date]: [Decision]
  - Source: [file]
  - Possible projects: [[project-a]], [[project-b]]

### From Slack (--include-slack)

- [Date]: [Decision]
  - Source: #[channel] ([thread link])
  - Participants: @person1, @person2
  - -> Add to Decision Log? [Y/N]

Decision Log Format

When adding to project files, use this table format:

## Decision Log

| Date | Decision | Context |
|------|----------|---------|
| 2025-01-06 | Chose Figma over Sketch for prototypes | Team familiarity, better collaboration |
| 2025-01-08 | Scoped out mobile for v1 | #proj-channel (Slack) |

For Slack decisions, include channel name as context. Link to thread if available.

Notes

  • Don't add duplicates. Check existing Decision Log first.
  • If a project doesn't have a Decision Log section, offer to create one
  • For decisions that span multiple projects, log in the primary project and note the connection
  • "Context" should be brief (one sentence). Link to source file for details.
  • Ask before writing. This skill modifies files.
  • Some "decisions" are actually action items. Use judgment. Decisions are choices between options; actions are tasks to do.
Compartilhar X LinkedIn