Loading...
Loading...
Merge diagnostic states accumulated from multiple dbs-save operations into a deliverable markdown report. Triggers: /dbs-report, /generate-report, "package this up", "compile a report", "for partners" Generate a deliverable diagnosis report by merging all dbs-save snapshots. Trigger: /dbs-report, "package this up", "make me a report"
npx skill4agent add dontbesilent2025/dbskill dbs-report~/.dbs/sessions/{project-name}/| Command | Behavior |
|---|---|
| Merge all snapshots under the current project into a report |
| Only merge snapshots after the specified date |
| Specify a project |
| Specify both project and date |
| "Generate report", "Package this up", "Compile a report", "For partners" | Equivalent to |
~/.dbs/sessions/{project-name}/*.md{project-name}/dbs-save{project-name}~/.dbs/sessions/{project-name}/{file-name}--sinceYYYYMMDD-HHMMSSslugtimestamptitlesource_skillstatusnext_skill~/.dbs/reports/{project-name}/{YYYYMMDD-HHMMSS}-{project-name}.mdmkdir -p# {Project Name} Business Diagnostic Report
**Generation Time**: {Local current time, YYYY-MM-DD HH:MM}
**Accumulated Snapshots**: {N} snapshots (earliest {date of earliest snapshot}, latest {date of latest snapshot})
**Key Skills Used**: {List all unique source_skill fields}
**Generation Tool**: dbskill / dbs-report
---
## 1. Evolution of User's Main Complaints
List the main complaint from each snapshot in chronological order, one per line:
- `2026-04-15` · {Simplified one-sentence complaint} · From {source_skill}
- `2026-04-22` · {Complaint} · From {source_skill}
- ...
At the end, add a paragraph pointing out "how focus has shifted"—for example, from "what to sell" to "who to sell to" then to "how to acquire customers". **This is one of the few places where you are allowed to summarize**, but only describe the evolution path itself; do not extend, speculate, or add extra content.
---
## 2. Confirmed Conclusions
Merge the "Confirmed conclusions" fields from all snapshots. Remove duplicates (merge semantically similar content) and sort in reverse chronological order (newest conclusions first).
Format:
- {Original conclusion} · From {corresponding snapshot title} · {corresponding date}
If a conclusion is overturned or revised in a later snapshot, **list both**, with the new one first and the old one marked with " (Revised by subsequent diagnosis)".
---
## 3. Rejected Directions
Merge the "Rejected directions by user" fields from all snapshots.
Format:
- {Direction} — Rejection reason: {Reason} · From {snapshot title} · {date}
If there are no rejected directions, write "(None)".
---
## 4. Current Unsolved Problems
Merge two categories:
1. "Hypotheses to verify" fields from snapshots with status `in-progress`
2. Directions proposed in the earliest snapshot that were never addressed in subsequent snapshots
Format:
- {Original problem/hypothesis} · First appeared {date} · Current status: In progress / To be verified
---
## 5. Recommended Next Steps
Summarize the "Recommended next steps" fields + `next_skill` fields from all snapshots.
Sort by priority:
1. Next steps recommended in the latest snapshot (highest priority)
2. Recommendations that repeatedly appeared but have not been acted on
3. Early recommendations that have been replaced by new ones (marked with "Replaced by subsequent recommendations")
Write this in a single paragraph, not as bullet points. Clearly state what to do next, why, and which skill to use.
---
## 6. Appendix: Snapshot Index
List all snapshot files in chronological order:
| Date | Title | Status | source_skill | File |
|---|---|---|---|---|
| 2026-04-15 | Unsure what to sell | In progress | dbs-diagnosis | `~/.dbs/sessions/{project-name}/20260415-...md` |
| ... | ... | ... | ... | ... |
Translate the status field into Chinese for users: 进行中 (In progress) / 已结论 (Resolved) / 已放弃 (Abandoned).
---
This report is automatically generated by dbskill. Original snapshots are located at `~/.dbs/sessions/{project-name}/`. To update the report, run `/dbs-report` again.Report generated: ~/.dbs/reports/{project-name}/{file-name}
Merged {N} snapshots ({start date} → {end date}).If you want to publish to WeChat Official Account or groups, useto convert this markdown into a version that can be pasted into the WeChat backend./03-Format Tool_WeChat Official Account HTML Generation Skill
~/.dbs/sessions/| Trigger Condition | Recommended Message |
|---|---|
| Report generated successfully and dontbesilent is in WeChat Official Account writing scenario | "To publish to WeChat Official Account, use |
| "Current Unsolved Problems" in the report is not empty | "There are {N} unsolved problems in the report. Use |
All snapshots in the report are | "All issues under this project have been diagnosed. If new situations arise later, restart with |