@franshjy/dbrief 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -15
- package/dist/index.cjs +720 -259
- package/dist/index.js +703 -242
- package/package.json +9 -9
- package/skills/dbrief-note/SKILL.md +24 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@franshjy/dbrief",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Extract Codex session activity into daily artifacts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"test": "vitest",
|
|
18
18
|
"typecheck": "tsc --noEmit"
|
|
19
19
|
},
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/franshjy/Dbrief.git"
|
|
23
|
-
},
|
|
24
|
-
"publishConfig": {
|
|
25
|
-
"access": "public"
|
|
26
|
-
},
|
|
27
|
-
"keywords": [],
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/franshjy/Dbrief.git"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [],
|
|
28
28
|
"author": "",
|
|
29
29
|
"license": "AGPL-3.0",
|
|
30
30
|
"bugs": {
|
|
@@ -3,21 +3,21 @@ name: dbrief-note
|
|
|
3
3
|
description: Generate a polished daily note from a Dbrief JSON artifact. Use when the user asks to create, write, or generate a daily note, daily summary, or project log.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Daily Note Generator
|
|
7
|
-
|
|
8
|
-
Read the Dbrief JSON artifact and generate one portable Markdown daily note.
|
|
9
|
-
Infer note conventions from the target location, existing file, nearby templates, and project instructions, but always produce Markdown.
|
|
10
|
-
|
|
11
|
-
## Required Workflow
|
|
12
|
-
|
|
13
|
-
When the user asks for a daily note, first generate or refresh the artifact with the Dbrief CLI before writing the note.
|
|
14
|
-
|
|
15
|
-
1. Run `dbrief extract` for the requested date or range.
|
|
16
|
-
2. Use `--date`, `--from`, `--to`, or `--out` when the user request needs them.
|
|
17
|
-
3. Read the generated JSON artifact.
|
|
18
|
-
4. Write the final Markdown note from that artifact.
|
|
19
|
-
|
|
20
|
-
Default artifact names are `./dbrief_YYYY-MM-DD.json` in the current directory unless `--out` is provided.
|
|
6
|
+
# Daily Note Generator
|
|
7
|
+
|
|
8
|
+
Read the Dbrief JSON artifact and generate one portable Markdown daily note.
|
|
9
|
+
Infer note conventions from the target location, existing file, nearby templates, and project instructions, but always produce Markdown.
|
|
10
|
+
|
|
11
|
+
## Required Workflow
|
|
12
|
+
|
|
13
|
+
When the user asks for a daily note, first generate or refresh the artifact with the Dbrief CLI before writing the note.
|
|
14
|
+
|
|
15
|
+
1. Run `dbrief extract` for the requested date or range.
|
|
16
|
+
2. Use `--date`, `--from`, `--to`, or `--out` when the user request needs them.
|
|
17
|
+
3. Read the generated JSON artifact.
|
|
18
|
+
4. Write the final Markdown note from that artifact.
|
|
19
|
+
|
|
20
|
+
Default artifact names are `./dbrief_YYYY-MM-DD.json` in the current directory unless `--out` is provided.
|
|
21
21
|
|
|
22
22
|
## Output Format
|
|
23
23
|
|
|
@@ -48,15 +48,15 @@ If no stronger existing convention is detected, use this base structure:
|
|
|
48
48
|
|
|
49
49
|
## Instructions
|
|
50
50
|
|
|
51
|
-
1. If the artifact does not already exist for the requested date, run `dbrief extract` first.
|
|
52
|
-
2. Read the JSON artifact (user provides the path, or use `./dbrief_YYYY-MM-DD.json` from the current directory by default)
|
|
53
|
-
3. For each project, analyze the conversation threads to identify:
|
|
54
|
-
- Concrete changes (features, fixes, decisions made)
|
|
55
|
-
- Unresolved items (questions raised, blockers, incomplete work)
|
|
56
|
-
- Notable context (architectural decisions, trade-offs discussed)
|
|
57
|
-
4. Write a concise summary that ties everything together
|
|
58
|
-
5. Keep the tone retrospective and factual
|
|
59
|
-
6. Use the project directory name as the project heading
|
|
51
|
+
1. If the artifact does not already exist for the requested date, run `dbrief extract` first.
|
|
52
|
+
2. Read the JSON artifact (user provides the path, or use `./dbrief_YYYY-MM-DD.json` from the current directory by default)
|
|
53
|
+
3. For each project, analyze the conversation threads to identify:
|
|
54
|
+
- Concrete changes (features, fixes, decisions made)
|
|
55
|
+
- Unresolved items (questions raised, blockers, incomplete work)
|
|
56
|
+
- Notable context (architectural decisions, trade-offs discussed)
|
|
57
|
+
4. Write a concise summary that ties everything together
|
|
58
|
+
5. Keep the tone retrospective and factual
|
|
59
|
+
6. Use the project directory name as the project heading
|
|
60
60
|
|
|
61
61
|
## Writer Rules
|
|
62
62
|
|