Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

debriefdebrief 搜索

Agent Skill

debrief 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

198

周安装

8

GitHub Stars

公开资料未说明

下载量

62
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:debrief(debrief 搜索)
来源仓库:https://github.com/codihaus/claude-skills
仓库路径:skills/debrief
安装命令:
npx skills add https://github.com/codihaus/claude-skills --skill debrief
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/codihaus/claude-skills --skill debrief

简介

debrief 创建与维护项目业务需求文档(BRD),支持功能迭代更新。

  • 适用于新项目启动或现有特性变更时的需求对齐。
  • 可与 diagram/docs-graph 等技能联动构建完整文档体系。
  • 变更请求需单独追踪,不与常规 BRD 更新混同处理。
  • debrief 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

/debrief - Business Requirements Document (BRD)

Skill Awareness: See skills/_registry.md for all available skills. - Before: Use /dev-scout if existing codebase - After: Use /dev-specs for implementation plans - Related: /diagram for architecture, /docs-graph for relationships

Create and maintain the unified BRD for a project. Handles initial requirements and feature additions.

When to Use

  • Start a new project (creates initial BRD)
  • Add new feature to existing project (updates BRD)
  • Process change requests (tracked separately)

Usage

/debrief "Customer wants a SaaS platform"     # New project
/debrief "Add billing and subscriptions"      # Add feature
/debrief requirements.pdf                      # From document
/debrief                                       # Interactive
/debrief --answers questionnaire.xlsx         # Process customer answers

Output Structure

All output goes to unified plans/ structure:

plans/
├── brd/                         # This skill manages this folder
│   ├── README.md                # Project overview, feature index
│   ├── context.md               # Stakeholders, constraints
│   ├── use-cases/               # ALL use cases, grouped by feature
│   │   ├── auth/                # Auth feature UCs
│   │   │   ├── UC-AUTH-001-login.md
│   │   │   ├── UC-AUTH-002-signup.md
│   │   │   └── UC-AUTH-003-forgot.md
│   │   ├── billing/             # Billing feature UCs
│   │   │   ├── UC-PAY-001-checkout.md
│   │   │   └── UC-PAY-002-refund.md
│   │   └── ...
│   ├── changes/                 # Change requests
│   │   └── CR-001-add-sso.md
│   ├── references.md
│   └── changelog.md
│
├── features/                    # Created per feature
│   ├── auth/                    # /dev-scout and /dev-specs work here
│   ├── billing/
│   └── ...
│
└── scout/                       # /dev-scout project level

Workflow

Mode Detection

On start, detect current mode:

  1. New Project: plans/brd/ doesn't exist
  2. Add Feature: plans/brd/ exists, adding new use cases
  3. Change Request: Modifying existing use cases
  4. Process Answers: --answers flag with questionnaire file

Phase 0: Check Documentation Graph

For Add Feature and Change Request modes, read plans/docs-graph.json:

1. Read plans/docs-graph.json (if exists)
2. List existing use cases and features
3. Check for potential duplicates or overlaps
4. Identify related nodes for impact analysis

How docs-graph helps debrief:

ModeGraph Provides
Add FeatureExisting UCs to avoid duplicates
Change RequestNodes affected by the change
New ProjectSkip (no graph yet)

Duplicate Detection:

Before creating new UCs, check if similar ones exist:

// User requests: "Add login functionality"
// Graph shows:
{
  "existing": [
    {"id": "uc-auth-001", "label": "Login", "type": "use-case"},
    {"id": "uc-auth-002", "label": "Signup", "type": "use-case"}
  ]
}
// → Warn: "Login already exists as UC-AUTH-001. Create CR instead?"

Impact Analysis for Changes:

For Change Requests, find what links to the affected UC:

// Modifying: uc-auth-001 (Login)
// Graph edges show:
{
  "incoming": ["uc-auth-002", "uc-auth-003", "spec-auth-001"],
  "outgoing": ["feature-auth"]
}
// → Impact: 3 other nodes reference Login, need to update

This prevents:

  • Duplicate use cases
  • Orphaned specs (spec without UC)
  • Missing impact analysis on changes

Phase 1: Context Gathering

Ask using AskUserQuestion:

For New Project:

Q1: Project Type & Source Code

  • New project (no existing code)
  • Existing codebase (current folder)
  • Existing codebase (different folder)

Q2: Industry/Niche

  • SaaS B2B / SaaS B2C / E-commerce / Marketplace / Enterprise / Other

Q3: Target Users

  • Business users (B2B) / Consumers (B2C) / Internal / Mixed

Q4: Known Constraints (multi-select)

  • Timeline / Budget / Compliance / Integration / None

Q5: Scope Tier

  • Core (3-5 use cases) / Standard (8-12) / Full (15+)

For Add Feature:

Q1: Feature Name

  • What to call this feature (e.g., "billing", "notifications")

Q2: Scope for this feature

  • Core / Standard / Full

Phase 1.5: Codebase Discovery (if existing codebase)

See references/file-patterns.md for scan patterns.

  1. Check for docs (README, CLAUDE.md)
  2. Scan frontend files (.vue,.tsx,.jsx)
  3. Infer existing features
  4. Summarize in context.md

Phase 2: Market Research

Search for references (not prescriptions):

  1. Industry patterns
  2. User flows
  3. Compliance requirements
  4. Documentation links

Output to references.md.

Phase 3: Use Case Generation

Determine feature folder from context (e.g., billing, auth, notifications).

Determine group code from feature (e.g., billing → PAY, auth → AUTH).

Create feature subfolder in use-cases if not exists:

plans/brd/use-cases/{feature}/

For each use case, create file in the feature subfolder:

Path: plans/brd/use-cases/{feature}/UC-{GROUP}-{NNN}-{slug}.md

# UC-{GROUP}-{NNN}: {Title}

> **Feature**: [[feature-{feature}]]
> **Related**: [[uc-xxx-nnn]]
> **Status**: Draft

## User Story
As a {role}, I want {goal}, so that {benefit}.

## Acceptance Criteria
- [ ] Given {context}, when {action}, then {result}

## Business Rules
- {Rule}

## Integration Notes
{How this connects to existing features}

## Open Questions
- {Question}

## References
- [{Link}]({url})

Phase 4: Generate/Update BRD Files

For New Project:

Create plans/brd/ structure:

README.md:

# {Project Name}

> **Created**: {date}
> **Status**: Active
> **Codebase**: New | Existing

## Overview
{Project description}

## Overview Flow

flowchart LR A[User] --> B{Action} B --> C[Feature 1] B --> D[Feature 2]


## Features

| Feature | Use Cases | Technical | Status |
| --- | --- | --- | --- |
| Auth | UC-AUTH-001 to 003 | [→](https://github.com/codihaus/claude-skills/blob/HEAD/.claude/skills/debrief/../features/auth/) | Planning |
| Billing | UC-PAY-001 to 005 | [→](https://github.com/codihaus/claude-skills/blob/HEAD/.claude/skills/debrief/../features/billing/) | Planning |

## Use Cases

### Authentication ([→ use-cases/auth/](https://github.com/codihaus/claude-skills/blob/HEAD/.claude/skills/debrief/./use-cases/auth/))

| ID | Title | Priority | Status |
| --- | --- | --- | --- |
| [UC-AUTH-001](https://github.com/codihaus/claude-skills/blob/HEAD/.claude/skills/debrief/./use-cases/auth/UC-AUTH-001-login.md) | Login | Must | Draft |
| [UC-AUTH-002](https://github.com/codihaus/claude-skills/blob/HEAD/.claude/skills/debrief/./use-cases/auth/UC-AUTH-002-signup.md) | Signup | Must | Draft |

### Billing ([→ use-cases/billing/](https://github.com/codihaus/claude-skills/blob/HEAD/.claude/skills/debrief/./use-cases/billing/))

| ID | Title | Priority | Status |
| --- | --- | --- | --- |
| [UC-PAY-001](https://github.com/codihaus/claude-skills/blob/HEAD/.claude/skills/debrief/./use-cases/billing/UC-PAY-001-checkout.md) | Checkout | Must | Draft |

## Change History

*No changes yet*

## Quick Links

- [Context](https://github.com/codihaus/claude-skills/blob/HEAD/.claude/skills/debrief/./context.md)
- [References](https://github.com/codihaus/claude-skills/blob/HEAD/.claude/skills/debrief/./references.md)
- [Changelog](https://github.com/codihaus/claude-skills/blob/HEAD/.claude/skills/debrief/./changelog.md)

context.md:

# Context

## Stakeholders
| Role | Responsibility |
|------|----------------|

## Users / Personas
| Persona | Description | Key Needs |
|---------|-------------|-----------|

## Current State
{How things work today}

## Existing Features
{From codebase discovery, if applicable}

| Feature | Evidence | Status |
|---------|----------|--------|

## Constraints
| Type | Description | Impact |
|------|-------------|--------|

## Assumptions
-

## Dependencies
-

For Add Feature:

  1. Read existing plans/brd/README.md
  2. Check BRD status:

- If any use cases are "Confirmed" → Create CR first (see Phase 6) - If all use cases are "Draft" → Add directly

  1. Add new feature to Features table
  2. Add new use case group
  3. Create feature folder: plans/features/{feature}/
  4. Update changelog
  5. Link CR to feature if created

Why CR for confirmed BRDs: Once stakeholders have approved use cases, any addition is a scope change that needs tracking.

changelog.md addition:

## {date} - Added {Feature}
- Added {X} use cases: UC-{GROUP}-001 to {NNN}
- Created feature folder: features/{feature}/

Phase 5: Create Feature Folder

For each feature mentioned, create:

plans/features/{feature}/
├── README.md       # Feature overview, links to use cases
└── .gitkeep        # Placeholder for scout/specs

Feature README.md:

# {Feature Name}

> **Use Cases**: UC-{GROUP}-001 to {NNN}
> **Status**: Planning

## Related Use Cases
| ID | Title |
|----|-------|
| [UC-XXX-001](../../brd/use-cases/UC-XXX-001-slug.md) | Title |

## Technical (pending)
- [ ] Scout: Run `/dev-scout {feature}`
- [ ] Impact: Analyze integration points
- [ ] Specs: Run `/dev-specs {feature}`

Phase 6: Handle Change Requests

If modifying existing use cases:

  1. Create plans/brd/changes/CR-{NNN}-{slug}.md
  2. Update README.md Change History
  3. Update affected use cases with reference

CR-{NNN}-{slug}.md:

# CR-{NNN}: {Title}

> **Date**: {date}
> **Status**: Draft | Approved | Implemented
> **Requestor**: {who requested}

## Request
{What is being requested}

## Reason
{Why this change is needed}

## Impact

### New Use Cases
| ID | Title |
|----|-------|

### Modified Use Cases
| ID | Change |
|----|--------|
| UC-XXX-001 | {What changes} |

### Affected Features
- {feature}: {how affected}

## Notes
{Additional context}

Phase 7: Collect Open Questions

Gather all open questions from:

  1. Use case files (## Open Questions section)
  2. Context gaps (unknowns from Phase 1)
  3. Integration uncertainties
  4. Business rules needing clarification

Build questions list:

{
    "project_name": "{Project Name}",
    "date": "{YYYY-MM-DD}",
    "questions": [
        {
            "category": "Requirements",
            "question": "What is the expected concurrent user load?",
            "priority": "Required",
            "context": "Needed for capacity planning",
            "source": "UC-PAY-003"
        },
        {
            "category": "Business",
            "question": "What payment methods should be supported?",
            "priority": "Required",
            "context": "Affects integration scope",
            "source": "UC-PAY-001"
        }
    ]
}

Categories:

  • Business - Business model, stakeholders, priorities
  • Requirements - Feature details, user needs
  • Constraints - Timeline, budget, compliance
  • Integration - Third-party systems, APIs
  • Technical - Only if blocking business decisions

Priority:

  • Required - Blocks use case completion
  • Optional - Nice to clarify, not blocking

Phase 8: Generate Questionnaire

If open questions exist, generate customer questionnaire:

python scripts/generate_questionnaire.py {output_path} questions.json

Output location (contextual, with date for revision tracking):

  • New feature: plans/features/{feature}/questionnaire-{YYYY-MM-DD}.xlsx
  • Change request: plans/brd/changes/CR-{NNN}-questionnaire-{YYYY-MM-DD}.xlsx

Note: No questionnaire at BRD root level. New project questions are associated with specific features or tracked via initial CR.

Creates Excel file with:

  • Summary sheet (project info, question counts)
  • Questions sheet (categorized, with context/source)
  • Answer column for customer to fill

Phase 9: Summary

Output summary:

  • Use cases created/updated
  • Features created
  • Change requests (if any)
  • Open questions count
  • Questionnaire generated (if applicable)
  • Next steps

Next steps suggestions:

  • Send questionnaire to customer (if generated)
  • Run /dev-scout for codebase analysis
  • Run /dev-scout {feature} for targeted analysis
  • Review use cases with stakeholders
  • Run /dev-specs {feature} when ready

Process Answers Workflow

When customer returns filled questionnaire, run:

/debrief --answers plans/features/billing/questionnaire-2024-01-20.xlsx

Step 1: Read Questionnaire

Read the Excel file and extract answers:

  • Parse "Answer" column
  • Match to source use cases via "Context/Source" column
  • Flag unanswered required questions

Step 2: Update Related Files

For each answered question:

  1. Find source use case file
  2. Update use case:

- Remove question from ## Open Questions - Add answer to relevant section (Acceptance Criteria, Business Rules, etc.)

  1. Update feature README with new information
  2. Update CR file if questionnaire is CR-related

Step 3: Handle Questionnaire File

Keep the file for revision history:

  • File stays at original location with date
  • Add "Processed: {date}" to Summary sheet
  • If follow-up needed → new questionnaire with new date

Example revision history:

plans/features/billing/
├── questionnaire-2024-01-15.xlsx  # Initial, processed
├── questionnaire-2024-01-22.xlsx  # Follow-up, processed
└── questionnaire-2024-01-28.xlsx  # Final clarifications

Step 4: Check Completeness

After processing:

  • Count remaining open questions across related use cases
  • If still gaps → generate new questionnaire with new date
  • If complete → update use case status to "Confirmed"

Step 5: Update References

Add questionnaire to relevant files for traceability:

In feature README.md:

## Questionnaire History
| Date | Status | Questions |
|------|--------|-----------|
| 2024-01-15 | Processed | 8 answered |
| 2024-01-22 | Processed | 3 answered |

In CR file (if applicable):

## Clarifications
- [Questionnaire 2024-01-20](./CR-001-questionnaire-2024-01-20.xlsx)

Step 6: Summary

Output:

  • Questions answered: X/Y
  • Use cases updated: [list]
  • Files modified: [list]
  • Remaining gaps: [if any]
  • Next questionnaire: [path if generated]
  • Status: Complete | Needs follow-up

Tools Used

ToolPurpose
AskUserQuestionContext gathering
GlobFind existing files, codebase scan
ReadRead existing BRD, docs
WriteCreate/update BRD files
WebSearchMarket research

Scripts

Customer Questionnaire

Generate dynamic questionnaire based on open questions identified during debrief:

python scripts/generate_questionnaire.py output.xlsx questions.json

Input: JSON file with collected open questions (see Phase 7)

Output: Excel file with:

  • Summary sheet (project info, priority breakdown, category counts)
  • Questions sheet (categorized questions with context/source)
  • Answer column for customer to fill
  • Required vs Optional priority indicators

Example:

# After debrief creates questions.json
python scripts/generate_questionnaire.py plans/brd/questionnaire.xlsx /tmp/questions.json

The questionnaire only contains questions we couldn't answer from:

  • Customer brief
  • Existing codebase (if any)
  • Market research

References

  • references/research-queries.md - Search templates
  • references/use-case-template.md - UC file template
  • references/group-codes.md - Standard group codes
  • references/file-patterns.md - Codebase scan patterns
  • references/change-request-template.md - CR template

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.13%
按下载量换算24

Claude

31.95%
按下载量换算20

Cursor

16.75%
按下载量换算10

Gemini CLI

8.82%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills