agentsclimarketplace

Weekly

Skill KKenny0/Tracework/plugins/tracework/skills/weekly

Agentic coding decision replay:记录为什么,把 session signals 逐层收口成可核验的周报、月报和路线图。

Install
npx -y skills add KKenny0/Tracework --skill weekly

Assembled 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.

What its author says it does

Copied from the file, not written here

Generate a management-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.

SKILL.md

21.7 KB, as published. Nobody here has run it

Tracework Weekly

Turn a week of agent work into an objective-anchored feedback loop: what the period was meant to advance, what actually changed, why reality diverged, what management judgment follows, and what commitment comes next. Preserve all 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.

ModeTriggers (examples)OutputWrite filesHeavy slide rules
quick这周做了啥, 周报简版, quick weekly, 本周概要Conversation 5–7 bullets + carried-forwardNoNo
brief写周报, 周报, /tracework:weekly, weekly brief, 本周总结, weekly reportManagement briefYes when vault exists; else conversationNo
slidesweekly PPT, 周报 PPT, weekly slides, 演示大纲; or PPT/slides only after this skill is already selected for a weekly reportStandalone PPT-ready Markdown Deck, max 8 main slidesSame as briefYes

Default is brief when the request is a normal weekly report without PPT or quick wording. Do not treat bare “PPT” or “slides” alone as a reason to start this skill; those words select slides mode only inside an already weekly report request.

Slide mode is a presentation projection over the weekly analysis, not a paginated copy of the Markdown brief. The default slide audience is an individual contributor reporting inside a department to managers and peers.

Progressive References

Always:

  • references/reporting-narrative-contract.md for 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.md for structured analysis. Use the brief analysis path unless mode is slides.
  • references/weekly-brief-template.md for brief output (and as analysis backbone before slides).

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.
  • 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.

First-Run and Local Fallback

Weekly must produce value without prior setup.

Scope resolution

  1. If the user explicitly names all or an exact reporting group such as work or personal, that scope is explicit.
  2. Else if profile.default_reporting_group is configured, that scope is configured.
  3. Else the scope is implicit.

Partition rules

  • Explicit or configured work / personal / named group:

    • Include only matching projects.
    • Exclude unassigned. Never promote unassigned into work.
    • If empty because the current project is unassigned, return a clear excluded/empty result with repair hint: /tracework:cold-start-interview or set profile.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 unassigned or has no project config, enter local first-run:
      • Report only the current repository.
      • Label scope local (unassigned), never work.
      • 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.

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.

Conversation brief shape (no vault or local first-run)

When not writing the weekly file, a compact brief is enough:

## {YYYY-WNN} · {work | personal | all | local}

**目标与判断:** {confirmed goal, inferred goal with boundary, or 目标未记录};…

### 目标推进
- {goal}: {actual change and status}

### 偏差与决策
- {variance, replanning, decision, support, or unplanned material change}

### 下周承诺
- {commitment}: {pass/fail closure criterion}

### 证据边界
- raw / git / limited 各一句

---
可选:配置 knowledge vault 后可跨天累计并写入文件。`/tracework:cold-start-interview`

Workflow

0. Resolve Mode, Range, and Scope

  1. Choose quick, brief, or slides from the mode table.
  2. Resolve week range and scope class (explicit / configured / implicit).
  3. If mode is quick, follow Quick Mode and stop after its quality gate.
  4. Otherwise continue with partition → evidence → goals → analysis → write.

1. Resolve and Partition

  1. Load projects from the prompt, raw/projects.json, or current repo.
  2. Resolve each project's reporting_group from project config, then registry.
  3. Apply First-Run and Local Fallback with the audience-safety rules.
  4. For normal scoped output, filter to the exact requested group. For all, keep groups separate throughout analysis and writing.
  5. Exclude unassigned projects from scoped work / personal output and report the missing classification. Show them separately only in all.
  6. For local first-run, keep a single local lane for the current repo.

2. Gather Evidence

For every in-scope project or the local lane:

  1. Read matching {vault}/raw/weeks/{week}/{slug}.json entries when a vault exists.
  2. 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.
  3. Read explicit goal sources available in the request or project, such as a milestone or current PLAN artifact. Read only sources needed to establish the reporting goal.
  4. Read optional artifact dossiers for navigation and recorded scope.
  5. Run a lightweight git log only to detect uncovered work.
  6. Merge duplicate raw/git signals before analysis.
  7. 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:

  1. an explicit goal in the current request;
  2. a confirmed commitment from the previous Weekly;
  3. an explicit milestone, plan, or project-goal artifact;
  4. a goal inferred from raw motivation, decision, or carry-forward;
  5. unknown.

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, if no reliable goal exists, ask at most one question:

这周原本最重要的是推进什么?

If the user skips it, continue with 目标未记录. 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.

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. Do not force a headline count. Multiple activities may support one change, and one goal may need multiple changes when they carry distinct management 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.

Transform the stable Weekly Analysis and its raw sources into presentation content that is independently readable before applying references/slide-template.md.

  1. State the deck context, overall goal, and management question. Select results for their contribution to that job, not implementation volume.
  2. Group selected results into necessary Stories. State one public Why and Goal at the start of each Story; these belong to the presentation content, not to production notes.
  3. Apply Cognitive Task Decomposition from references/weekly-analysis-contract.md. Internally identify only necessary problem_reframe, design_rationale, mechanism, validation, and decision tasks. Keep their intended_takeaway internal.
  4. Apply Content Materialization from the same contract. Reopen raw sources and build internal Source Grounding Packets, then turn them into actual presentation content: facts, conflicts, comparisons, Mermaid relationships, tables, numbers, paths, branches, fallbacks, invariants, risks, and gates.
  5. Split only when two content blocks are independent cognitive steps serving the same Story Goal and the second depends on the first. Otherwise merge.
  6. Put only compact claim-to-source mapping in the Evidence Appendix. Do not expose source packets, cognitive roles, intended takeaways, layout instructions, visual-style prescriptions, or production constraints.
  7. Delete any page whose removal does not break a Story Goal. Keep at most eight necessary main slides.

Use these visual routes only in slides mode:

Evidence or mechanismVisual route
Comparable algorithm, model, quality, latency, cost, or throughput datacomparison, distribution, trend, timeline, or waterfall chart brief
One reliable numbernumber card
Architecture, process, ownership, or failure-path changeBefore/After diagram
Concurrency, asynchronous stages, or stage collaborationsequence or swimlane diagram
Data processing, aggregation, or materialized rebuilddata-flow diagram
Provider, model, or strategy dispatchdecision tree
Failure handling and fallbackfailure-path diagram
Lifecycle or state transitionstate machine
Component responsibility changearchitecture relationship diagram

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.

7. Write

  • quick: conversation only; see Quick Mode.
  • brief: use weekly-brief-template.md.
  • slides: use slide-template.md; the main deck has no minimum and at most eight slides, excluding appendices.
  • 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 limited explicitly rather than padding with architecture theater.

Quick Mode

Triggers: 这周做了啥, 周报简版, quick weekly, 本周概要, and clear equivalents.

Behavior:

  1. Resolve week range and scope class with First-Run and Local Fallback.
  2. Partition accordingly. Explicit/configured work / personal still exclude unassigned. Implicit unassigned current repo uses local.
  3. Read raw entries for in-scope projects when a vault exists. Optionally glance at git to detect uncovered commits.
  4. Do not read slide-template.md or build slide candidates, diagrams, or implementation narratives.
  5. Output 5–7 bullets in the conversation only. Prefer [archetype] summary-style lines grounded in raw fields; git-only bullets stay bounded and limited.
  6. Append at most three carried-forward lines for open risks or unresolved decisions.
  7. 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.
  8. 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.
  9. 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.
  • work contains no personal or unassigned titles, paths, commits, artifacts, or refs.
  • Local first-run is labeled local / unassigned, never presented as safe work.
  • 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

  • The main deck has no minimum and never exceeds eight slides.
  • The deck states one thesis and audience decision; slides form a cumulative argument rather than mirror Weekly Analysis fields.
  • Every Story starts once with public Why and Goal, then advances through only the content required to complete that Goal.
  • Titles name the current question, object, mechanism, comparison, or decision gate; they do not leak the internal intended takeaway.
  • Slides directly contain supported facts, relations, comparisons, mechanisms, numbers, boundaries, and risks using Markdown, Mermaid, tables, quotes, or concise lists.
  • Complex design/mechanism results form two content pages under one Story only when the second depends on the facts and trade-offs established by the first.
  • Simple results remain one content page when one Before/After, relation, or flow explains root cause, choice, and operation.
  • A fresh reader can understand the Story sequence, Why, Goal, facts, relations, numbers, and risks without a PPT or production instructions.
  • A maker using only the Markdown Deck can perform visual translation without vault research, semantic invention, or a new split decision.
  • Removing any slide breaks its Story Goal or the deck's management question.
  • Charts require comparable evidence; missing or conflicting data stays visible without a fabricated chart.
  • Mechanism completion, effect validation, and production acceptance are stated separately.
  • Main slides omit commit hashes, source locations, SDK line numbers, and raw evidence ids unless the user explicitly requested a technical-review deck.

Anti-Patterns

All modes

  • Flat project or commit list as the overview.
  • Cross-group themes in all mode.
  • 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.
  • 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.
  • A title or body sentence that directly exposes the internal intended takeaway.
  • Repeating Why or Goal on every slide instead of once per Story.
  • 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.
  • Using a solution-logic diagram as proof of effectiveness.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.