Weekly
Generate a workplace-facing weekly report from Tracework raw entries, using git only as limited fallback coverage. Supports work, personal, and private all-project scopes. Three modes: quick conversation review ("这周做了啥", "周报简版", "quick weekly", "本周概要"), default Markdown brief ("写周报", "周报", "/tracework:weekly", "weekly brief", "本周总结", "weekly report"), and PPT-ready Markdown Deck only when weekly PPT is explicit ("weekly PPT", "周报 PPT", "weekly slides", "演示大纲"). Do not use for daily notes, generic slide decks, or single-commit analysis.From its SKILL.md
npx -y skills add KKenny0/Tracework --skill weeklyAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
22.1 KB, as published. Nobody here has run it
Tracework Weekly
Turn a week of agent work into an objective-anchored feedback loop: direction, actual change, variance, workplace judgment, and next commitment. Preserve meaningful work without inventing a retrospective goal.
Modes
Resolve mode before gathering evidence. Prefer the strongest explicit cue.
Priority when cues conflict: slides > quick > brief.
| Mode | Triggers (examples) | Output | Write files | Heavy slide rules |
|---|---|---|---|---|
quick | 这周做了啥, 周报简版, quick weekly, 本周概要 | Conversation 5–7 bullets + carried-forward | No | No |
brief | 写周报, 周报, /tracework:weekly, weekly brief, 本周总结, weekly report | Management brief | Yes when vault exists; else conversation | No |
slides | weekly PPT, 周报 PPT, weekly slides, 演示大纲; or PPT/slides only after this skill is already selected for a weekly report | Audience-framed PPT-ready Markdown Deck; optional editable template-native PPTX when explicitly requested and supported | Same as brief; PPTX is a versioned copy | Yes |
Default to brief for a normal weekly report. Bare “PPT” or “slides” selects
slides only inside an already weekly-report request.
Slide mode selects for one audience, occasion, and communication job. Do not paginate a Brief or force source-independent lanes under a shared goal. Default to a same-department weekly meeting: colleagues know the project's basic context, need this week's progress and implementation update, and need a final next-week plan. Duration is optional and never supplies a default page count. Explicit manager, leadership, async-read, or technical-review wording overrides this default. Do not combine distinct audiences in one deck.
Progressive References
Always:
references/reporting-narrative-contract.mdfor scope partition, selection, closure, evidence, and audience safety.
For Weekly, the goal-loop rules below replace the shared contract's default headline and next-target counts. Scope, evidence, closure, and audience-safety rules remain unchanged.
For brief and slides only:
references/weekly-analysis-contract.mdfor structured analysis. Use the brief analysis path unless mode isslides.references/weekly-brief-template.mdfor brief output only.
For slides only:
- Full slide sections in
references/weekly-analysis-contract.md references/slide-template.md
Do not read slide-template.md for quick or brief.
Inputs and Output
Resolve {vault} from project then global .tracework/config.yaml.
Defaults:
- Date range: current Monday through today.
- Scope: resolve with First-Run and Local Fallback below. Do not silently force
unassigned projects into
work. - Mode: as above; default
brief. - Slides framing: user-supplied audience, occasion, optional duration, required understanding/action, and optional PPTX template path; otherwise use the same-department weekly-meeting default. No persistent template registry or style config.
- Brief/slides file output:
{vault}/Work Diary/Weekly/{YYYY-WNN}.md, unless the user or config provides another path. Write that file only for normal scoped group output. Quick mode, no-vault runs, and local first-run stay in conversation so unassigned content is not written into workplace weekly files.
If the target brief/slides file exists, ask before overwriting unless the user requested update, rewrite, or overwrite. If no vault exists, return brief or slides content in conversation. Quick mode always stays in conversation. Cold-start is optional upgrade copy, never a hard gate.
For an explicitly requested editable PPTX, preserve the template and write a versioned copy. Without presentation-editing capability, deliver Markdown and state the boundary; never imitate editability with flattened slide images.
First-Run and Local Fallback
Weekly must produce value without prior setup.
Scope resolution
- If the user explicitly names
allor an exact reporting group such asworkorpersonal, that scope is explicit. - Else if
profile.default_reporting_groupis configured, that scope is configured. - Else the scope is implicit.
Partition rules
-
Explicit or configured
work/personal/ named group:- Include only matching projects.
- Exclude
unassigned. Never promote unassigned intowork. - If empty because the current project is unassigned, return a clear
excluded/empty result with repair hint:
/tracework:cold-start-interviewor setprofile.reporting_group. - Do not fail the skill.
-
Implicit scope (no explicit group, no configured default):
- If the current project has a
reporting_group, use that group. - If the current project is
unassignedor has no project config, enter local first-run:- Report only the current repository.
- Label scope
local(unassigned), neverwork. - Use git plus any raw entries for that repo.
- Mark git-only material
limited. - Hint that workplace-scoped reports need
reporting_group.
- Do not mix unrelated assigned vault projects into a local first-run.
- If the current project has a
No vault
-
Always allowed for quick, brief, and slides.
-
Write nothing to disk.
-
Keep the narrative short; use conversation output.
-
End brief/slides with at most one upgrade line:
可选:配置 knowledge vault 后可跨天累计并写入文件。
/tracework:cold-start-interview -
Do not imply the run failed because setup is missing.
Empty signal
If local first-run has no raw entries and no meaningful git activity, return a short empty-state and suggest capture or waiting for more work signal.
Workflow
0. Resolve Mode, Range, and Scope
- Choose
quick,brief, orslidesfrom the mode table. - Resolve week range and scope class (explicit / configured / implicit).
- If mode is
quick, follow Quick Mode and stop after its quality gate. - Otherwise continue with partition → evidence → goals → analysis → write.
1. Resolve and Partition
- Load projects from the prompt,
raw/projects.json, or current repo. - Resolve each project's
reporting_groupfrom project config, then registry. - Apply First-Run and Local Fallback with the audience-safety rules.
- For normal scoped output, filter to the exact requested group. For
all, keep groups separate throughout analysis and writing. - Exclude unassigned projects from scoped
work/personaloutput and report the missing classification. Show them separately only inall. - For local first-run, keep a single
locallane for the current repo.
2. Gather Evidence
For every in-scope project or the local lane:
- Read matching
{vault}/raw/weeks/{week}/{slug}.jsonentries when a vault exists. - Read the previous Weekly's next-period items as editorial context when it exists. Preserve whether each item was a confirmed commitment or only a report proposal; never silently promote a proposal.
- Read explicit goal sources available in the request or project, such as a
milestone or current
PLANartifact. Read only sources needed to establish the reporting goal. - Read optional artifact dossiers for navigation and recorded scope.
- Run a lightweight git log only to detect uncovered work.
- Merge duplicate raw/git signals before analysis.
- Without a vault, use git coverage and conversation context only.
Raw entries are the semantic source. Git-only work remains limited and cannot
substantiate a completed outcome or invented trade-off.
3. Resolve Goals and Prior Commitments
Resolve each goal lane from the strongest available source:
- an explicit goal in the current request;
- a confirmed commitment or goal from the previous Weekly;
- an explicit milestone, plan, or project-goal artifact;
- a raw entry's recorded local objective or constraint;
- a bounded inference from raw motivation;
unknown.
Actions, commits, modules, and effort volume are not goal sources. A previous report proposal remains proposed rather than becoming a confirmed goal.
Record the goal statement, source, confidence, closure criterion, status, and
commitment state. Confidence is confirmed, inferred, or unknown; status is
met, advanced, blocked, replanned, or not_started; commitment state is
confirmed or proposed.
For brief and slides, ask at most one question only when goal ambiguity would
materially change selection, grouping, the overall judgment, or next priority:
这周原本最重要的是推进什么?
If the user skips it, continue with 目标未记录. The Weekly may report bounded
facts but must not claim that an unknown goal advanced. Never backfill a
confirmed Why from completed activities. Quick mode does not ask this question.
reporting_group is an audience and privacy boundary, not proof that its
projects share one objective. Keep separate goal lanes when no common goal is
recorded.
4. Analyze Change and Variance (brief and slides)
Apply references/weekly-analysis-contract.md in the main dialog. For brief,
do not build slide candidates, diagrams, or chart briefs unless the user later
upgrades to slides.
For every prior commitment, record whether it was met, advanced, blocked, replanned, or not started. No prior commitment may disappear.
Connect every material weekly change to a goal lane. When no honest link exists,
label it unplanned but material or keep it in the portfolio. Preserve the old
goal, evidence trigger, reason, and new direction for replanned work.
For brief, rank goal-linked and unplanned material changes inside each
reporting group by:
- observable end-state significance;
- management relevance;
- evidence strength;
- effect on the next planning decision.
Write one weekly judgment per group. For slides, stop before this
manager-oriented ranking and perform audience-specific Result Selection in step
6; do not create a complete Brief first. In both modes, do not force a headline
count. Multiple activities may support one change, and one goal may need
multiple changes when they carry distinct meaning. Put every remaining
meaningful stream in the portfolio table. Do not allocate prose by entry count.
5. Project the Brief When Requested
Skip for quick and slides. For brief, apply Brief Projection in
references/weekly-analysis-contract.md: keep only blocks whose removal would
change judgment, action, or confidence in the body; route accountability,
coverage, and provenance to the appendix. Use one expanded home per fact and no
fixed length or item count.
6. Build the PPT-ready Markdown Deck
Skip this entire step for quick and brief. Run it only for slides.
Coverage
→ Result Selection
→ Selected-source Reopen
→ Source Grounding Recovery when a necessary page remains unsupported
→ Final Deck
Apply the complete slides path in weekly-analysis-contract.md. In short:
- Resolve framing before ranking; default to the same-department weekly meeting.
- Build one local narrative per selected lane. A single lane starts directly; multiple lanes use one grounded goal map and contiguous lane pages.
- Reopen sources only for selected results and state each evidence item's proof responsibility. Start from the selected raw locators, then open only the commit, snapshot, code, eval, or document needed by the retained claim. Complementary proof objects may share one page.
- If a necessary page still lacks exact architecture, design mechanics, or a decision-changing fact, ask once for all material missing sources. State the affected claim, what is missing, what source forms would resolve it, and how the page will degrade if the user skips. Do not ask for appendix-only detail.
- Use Cognitive Task Decomposition only to diagnose a complex split. Keep full alternatives local unless the audience must choose now.
- Form semantic compositions before template-native pagination. Delete or merge pages that do not change understanding, action, or confidence; review unusual length semantically rather than enforce a numeric cap.
- End with confirmed/proposed next-week closure, grouped by selected goal lane.
If data is missing, incomparable, or contradictory, do not invent a chart. Use a mechanism or state-change diagram, lower the evidence boundary, expose the measurement gap, and name its closure criterion.
If one bounded repair still cannot preserve material goal lanes or produce
audience-facing semantic compositions, do not emit numbered slides. Return
PPT Mode 未通过, classify the failure as evidence insufficient, contract validation failed, or model capability insufficient, and preserve a compact
recovery pack of candidate lanes, usable facts, boundaries, and next options.
Do not silently switch models or modes.
For an explicitly requested template-native PPTX, follow the optional contract in both slide references. Reuse runtime capability; do not build a renderer.
7. Write
quick: conversation only; see Quick Mode.brief: useweekly-brief-template.md.slides: useslide-template.md; emit only necessary slides, or return an evidence-insufficient empty state without a deck file.- Keep claim-level evidence in the appendix. Main prose must be readable without report-local ids.
- Preserve risks, unresolved decisions, and evidence gaps.
- Preserve confirmed versus proposed commitments and inferred versus confirmed goals.
- Keep tables, full commitment accounting, portfolio coverage, and provenance in the brief appendix. The brief body uses prose and bullets only.
- Keep
limited, conflicting, and expected-only boundaries beside the body claim they qualify. Verified provenance can remain in the appendix. - When evidence is thin or git-only, keep the main narrative short and mark
limitedexplicitly rather than padding with architecture theater.
Quick Mode
Triggers: 这周做了啥, 周报简版, quick weekly, 本周概要, and clear
equivalents.
Behavior:
- Resolve week range and scope class with First-Run and Local Fallback.
- Partition accordingly. Explicit/configured
work/personalstill exclude unassigned. Implicit unassigned current repo useslocal. - Read raw entries for in-scope projects when a vault exists. Optionally glance at git to detect uncovered commits.
- Do not read
slide-template.mdor build slide candidates, diagrams, or implementation narratives. - Output 5–7 bullets in the conversation only. Prefer
[archetype] summary-style lines grounded in raw fields; git-only bullets stay bounded andlimited. - Append at most three carried-forward lines for open risks or unresolved decisions.
- If no raw entries but meaningful git exists: say evidence is
limited, list at most a few commit-derived bullets without inventing intent, and offer a full brief. - If no raw and no usable git: empty-state with a short hint to capture or run a full brief after more work signal exists.
- If explicit scope excluded the current unassigned project, say so and point to reporting_group setup instead of returning a silent empty list.
Suggested shape:
## {YYYY-WNN} 快速回顾({scope})
- [decision] …
- [build] …
- [repair] …
**结转**:… · …
Do not write vault files in quick mode. A single optional upgrade line is allowed; do not block on cold-start.
Coverage
Calculate project coverage as raw entries versus uncovered commits, but put coverage badges in the appendix or portfolio—not in the headline narrative.
- High: raw explains intent and status.
- Moderate: mixed raw and git-only gaps.
- Low: mostly git-only; narrative is limited.
- None: no usable work signal.
Coverage measures source completeness, not value. Quick mode may mention coverage in one line; it does not need badges.
Quality Gate
Shared (all modes that emit scoped narrative)
- Scope class (explicit / configured / implicit-local) was resolved before ranking or bullet selection.
workcontains no personal or unassigned titles, paths, commits, artifacts, or refs.- Local first-run is labeled
local/ unassigned, never presented as safework. - Explicit scoped emptiness explains exclusion and repair without leaking
unassigned content into
work. - No-vault runs return conversation output without blocking on cold-start.
- Evidence grades and uncertainty are preserved; git-only material stays
limited. - Activity volume is never promoted into outcomes.
Quick only
- Conversation output only; no weekly file write.
- 5–7 bullets, plus at most three carried-forward lines.
- No slide structure, solution-logic diagrams, or implementation narratives.
Brief only
- Every group has exactly one weekly judgment.
- Every goal states its source, confidence, status, and closure criterion.
- Inferred or unknown goals never use confirmed-goal language.
- Every prior commitment is accounted for; proposals remain proposals.
- Every material change is goal-linked, explicitly unplanned, or in the portfolio.
- Replanned work preserves the prior direction, evidence trigger, reason, and new direction.
- Every meaningful remaining stream appears in the portfolio.
- Every unresolved risk or next commitment has a concrete closure criterion.
- The body alone reconstructs goal state, actual change, material variance, decision or support, next commitment, and confidence boundary.
- Every body block survives counterfactual deletion; full prior-item, portfolio, and evidence coverage stays in the appendix.
- The body contains no tables, source paths, commit lists, or evidence index.
- Appendix ledgers and mappings do not repeat body narrative.
- Brief mode does not require diagrams, implementation narratives, or charts.
Slides only
- Resolve one audience and outcome before selection. Absent framing defaults to same-department colleagues, no invented duration, and next-week closure.
- State each selected goal and bounded conclusion; unrelated goals stay independent.
- No single-goal overview; a multi-goal Slide 1 maps Why, result, status, and boundary.
- Keep cognitive roles internal and on demand. Split complex results only for independent evidence and prerequisite claims; keep simple results merged.
- Give every diagram, number, test, trace, or design artifact a distinct proof responsibility; never use implementation structure as effect evidence.
- Emit only necessary slides. Zero candidates produce an empty state; unusual length receives deletion/compression review rather than a numeric cap.
- A target reader and a PPT maker can use the Markdown without vault research, semantic invention, or production instructions.
- Keep charts comparable, truth states separate, and ordinary main slides free of provenance detail unless technical review explicitly needs it.
- Template-native PPTX remains editable, rendered, versioned, and revision-safe.
Anti-Patterns
All modes
- Flat project or commit list as the overview.
- Cross-group themes in
allmode. - Activity volume promoted into outcomes.
- Retrofitting a confirmed Why from completed actions.
- Treating a report proposal as a prior commitment.
- Hiding a prior goal when evidence caused a replan.
- Forcing unrelated projects in one reporting group under a shared goal.
- Keeping a body block whose removal changes neither judgment, action, nor confidence.
- Repeating the same narrative in the body and appendix.
- Hiding a blocked/replanned material item, decision request, or evidence conflict only in the appendix.
- Hiding work because it did not qualify as a headline (brief/slides) or omitting material risks from carried-forward (quick).
- Treating expected impact as an observed result.
- Treating code completion as production acceptance.
- Applying slides-only diagram or implementation-narrative gates to brief or quick output.
Brief and slides
- Evidence ids dominating the spoken narrative.
Slides only
- One slide per stream by default.
- Fixed “design slide + implementation slide” pairs.
- One proof-object type per page when complementary evidence is needed to prove one claim.
- A full candidate, constraint, or rejected-alternative inventory when the audience only needs the final choice and its shortest rationale.
- A public Storyboard or Production Brief beside the public Markdown Deck.
Audience takeaway,Recommended visual form,Page composition,On-slide copy,Production constraints, or page-level Source Grounding Packet sections in the public deck.- Public Story, Why/Goal field, or cognitive-role scaffolding that the audience would not expect to see in the actual presentation.
- Topic, question, process, or object-only titles that hide the supported claim.
- A design slide that only supplies background, history, or option inventory.
- A mechanism slide that is only a module, field, code, or step list.
- Two slides that do not perform independent cognitive work.
- Content that makes the reader or PPT maker reopen the vault to discover the actual claim, node, relationship, number, or risk.
- Layout, typography, color, card, or diagram-production instructions.
- A detail slide whose removal changes neither thesis nor audience decision.
- Topic-only slide titles such as
结果弧线一,方案怎么跑通, or工作组合状态. - Charts without comparable evidence, units, or sample context.
- Decorative architecture diagrams with only component names and arrows.
- Ungrounded, wrong-cutoff, target-as-current, or prose-reformatting diagrams.
- Using a solution-logic diagram as proof of effectiveness.
- Bundled style galleries, flattened slides, or a custom version database when a user-owned template and versioned files already solve the need.
What ships with it: 5 files
34.3 KB alongside SKILL.md
agents/
- openai.yaml394 B
references/
- reporting-narrative-contract.md4.7 KB
- slide-template.md5.8 KB
- weekly-analysis-contract.md19.7 KB
- weekly-brief-template.md3.7 KB