跳到正文
cccskills
免费在 GitHub 公开

chronicle

Maintain and update the persistent project chronicle (docs/chronicle.md). Trigger when: - The human requests a history summary or chronicle update. - Starting work on a new codebase and needing context on its evolution. - Prompt contains keywords: /chronicle, chronicle, project history, git log summary, history summary.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md3.4 KB
  • scripts/update_chronicle.py7.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Chronicle Workflow

A structured approach to maintaining a high-level, conceptual project chronicle (docs/chronicle.md). This chronicle serves as a persistent decision record, mapping the evolution of the codebase's architecture, workflows, and conventions to optimize agent context and human understanding.


Purpose

Standard git logs are either too detailed or too fragmented to provide deep architectural context. The Chronicle Workflow maintains an incremental, high-level chronicle file in the repository. Because it uses a commit cutoff marker in its frontmatter, it can be updated cheaply and incrementally over time, serving as a durable project history journal.


Execution Protocol

To update or initialize the chronicle, follow these steps:

1. Prepare Pending Logs

Run the helper script in prepare mode:

python3 skills/chronicle/scripts/update_chronicle.py --prepare

If the chronicle is already up to date, the script will output: Chronicle is already up to date with HEAD. and you may exit.

Otherwise, it will output a batch of up to 50 commits (from oldest to newest) along with changed files. Note the TARGET_END_SHA printed at the end of the output — you pass it back to the write step so the recorded range is bound to exactly the commits you summarized (immune to HEAD moving in between).

2. Group and Summarize

Using your LLM reasoning, analyze the batch output. Group the commits into conceptual themes rather than listing them raw. Focus on why changes were made, what design decisions were reached, and major milestones.

Organize the summary into the following categories where relevant:

  • Architectural Shift / Design Decisions: Major structural changes, folder reorganizations, and key trade-offs.
  • Workflow & Rulesets: Updates to workflows, rulesets, and agent configurations.
  • Features & Implementation: Core user-facing features and implementations.
  • Infrastructure & Quality: CI, tooling, linting, and test configurations.
  • Documentation: Significant documentation changes (beyond minor typos).

3. Commit the Update

Run the helper script in write mode, passing the TARGET_END_SHA from Step 1 and your structured Markdown summary:

python3 skills/chronicle/scripts/update_chronicle.py --write --end-sha <TARGET_END_SHA> --summary "<Markdown formatted summary>"

4. Repeat

If the write command output indicates remaining pending commits (e.g., Remaining pending commits: N), repeat from Step 1 until the prepare command reports that it is fully up to date.


Output Format Guidelines

The chronicle summaries should be written in clean, concise Markdown. Avoid listing individual commit SHAs in the summary text (the headers already track the ranges). Example format:

- **Architectural Shift**: Distilled global ruleset to align with axiom/persona conventions.
- **Workflow & Rulesets**: Formalized planning workflows by adding `SKETCH` and `PLAN` protocols.
- **Quality & Infrastructure**: Ignore cache files and standardize tooling in the root configuration.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

ai-audit

免费

SOP for auditing AI-generated code. Trigger when: - Reviewing, refactoring, or cleaning up AI-generated code to prevent regressions or hallucinated APIs. - Prompt contains: /ai-audit, code audit, AI cleanup, common flaws.

中文简介正在准备中。当前显示原文说明。

nrdxp/predicate102026年9月1日 更新

api-audit

免费

Protocol for auditing API surface coherence and type safety. Trigger when: - Evaluating API designs, interface type safety, or design elegance. - Prompt contains: /api-audit, API surface, API coherence, type safety.

中文简介正在准备中。当前显示原文说明。

nrdxp/predicate102026年9月1日 更新

boundary

免费

Normative sufficiency conditions for Initial Boundary Conditions (IBCs) and the SOP for the cheap-tier boundary refinement loop (/boundary). Trigger when: - Crafting, auditing, or refining a prompt/IBC destined for an expensive (architect-class) model or an autonomous worker dispatch. - Evaluating whether a task frame is sufficient to bound an agent walk. - Prompt contains: /boundary, IBC, initial boundary condition, boundary contract, sufficiency conditions, worker prompt, prompt refinement.

中文简介正在准备中。当前显示原文说明。

nrdxp/predicate102026年9月1日 更新

campaign

免费

SOP for the architect-tier campaign workflow (/campaign): exhaustive survey, mitigation planning, tiered orchestration, and reconciliation. Trigger when: - Running a multi-workstream initiative where an expensive architect-tier council surveys, plans, emits worker prompts, and judges landed work. - Conducting production-readiness assessments that fan out into autonomous mitigation dispatches across model tiers. - Prompt contains: /campaign, campaign workflow, survey, orchestrate, reconcile, premise freshness, tier routing, worker IBC, scratch.

中文简介正在准备中。当前显示原文说明。

nrdxp/predicate102026年9月1日 更新

Rules, conventions, and constraints for formatting git commit messages and committing at logical boundaries. Trigger when: - Drafting, revising, or validating git commit messages. - Pausing at commit boundaries under the CORE or CONTINUE workflows. - Evaluating whether a changeset should be split into multiple commits. - Prompt contains keywords: commit message, git commit, conventional commits, commit hygiene, commit guidelines, logical boundary, spaghetti diff, atomic commit, commit boundary.

中文简介正在准备中。当前显示原文说明。

nrdxp/predicate102026年9月1日 更新

Foundational ethics, authority hierarchy, and structural principles for the Predicate agent. Always-on law (composable system-prompt core): Truth>Harmony, Evidence>Authority, Halt>Assumption, Outcomes>Process — four ordered principles that govern every walk. Reference (by-moment): conflict resolution, ethics adjudication, novel situations, precedence walkthrough, entropy diagnostics, principled resistance. Trigger (reference depth): resolving rule conflicts, ethics calls, novel situations. Prompt contains: constitution, principles, precedence, truth over harmony, outcomes over process, evidence over authority, principled resistance.

中文简介正在准备中。当前显示原文说明。

nrdxp/predicate102026年9月1日 更新

查看 nrdxp 的全部技能

报告此技能的问题