backfill

Rebuild an OKF package through event sourcing based on repository history, including git logs and Claude session records. Use it to generate a `.okf/` package for existing repositories created before this skill, or to resume an interrupted backfill session. Trigger phrases include “rebuild the OKF package,” “backfill the knowledge package,” and “event-source the history.”

Last repository push
Stars
456
Forks
43
Issues / PRs
6

Installation

Review the source and dependencies with a prompt.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "backfill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-09e90e6f1cda2074862087f0b958dc5dd1b30e2959f82cb2c396f0790a7398f9. Verify the upstream source and version against https://github.com/scaccogatto/okf-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

A complete, approved package is not available yet.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Rebuild an OKF package through event sourcing based on repository history, including git logs and Claude session records. Use it to generate a `.okf/` package for existing repositories created before this skill, or to resume an interrupted backfill session. Trigger phrases include “rebuild the OKF package,” “backfill the knowledge package,” and “event-source the history.”

0 Downloads 0 Share clicks

Introduction source: third_party · scaccogatto · 0.0.1 Reference

SkillPi interpretation

Tasks
Not specified in the source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

A verified file list is not available on Skillπ yet.

Browse files at the source ↗

Original SKILL.md

Open original ↗

Skillπ does not display the original SKILL.md on this page. View the original source ↗ The source site governs the file contents, license, and use terms.

Version history

  1. okf--v0.12.0 GitHub ↗
    Original release notes

    ### Added - **The enforced-upkeep Stop hook can watch nested git repos.** A bundle that documents separate repos checked out inside the project (say `repos/app-fe/` and `repos/app-be/`, gitignored by the outer repo) never saw their changes, so `upkeep: enforced` stayed quiet on real code edits. Add `recursive: true` (or a depth, `recursive: 3`: how many directory levels below the project root a repo's directory may sit, so `repos/app` is 2; `true` means 6) to the root `index.md` frontmatter and the hook finds nested repos by itself (no list to maintain): uncommitted changes to tracked files in them now count, and the block message names them. Discovery skips worktrees of the outer repo, submodules, linked worktrees of repos inside the project, repos with their own `.okf/` bundle, and heavy directories (`node_modules`, `.venv`, `target`, `dist`, ...), so it stays within the hook timeout. Bundles without the key behave as before, and the validator accepts the key in the root index. ## What's Changed * feat(hooks): let enforced upkeep watch nested repos via upkeep_repos by @JacopoVendramin in https://github.com/scaccogatto/okf-skills/pull/67 ## New Contributors * @JacopoVendramin made their first contribution in https://github.com/scaccogatto/okf-skills/pull/67 **Full Changelog**: https://github.com/scaccogatto/okf-skills/compare/okf--v0.11.0...okf--v0.12.0

  2. okf--v0.11.0 GitHub ↗
    Original release notes

    ### Added - **The visualizer's detail panel is resizable.** Drag the bar between the graph and the panel; double-click it to restore the default 400px. The width is remembered per browser (`localStorage`). The graph re-runs the selected layout when a drag ends and when the window resizes, so it fills the new space. ## What's Changed * feat(visualize): resizable detail panel, controls stay inside the graph area by @Aksigera in https://github.com/scaccogatto/okf-skills/pull/69 ## New Contributors * @Aksigera made their first contribution in https://github.com/scaccogatto/okf-skills/pull/69 **Full Changelog**: https://github.com/scaccogatto/okf-skills/compare/okf--v0.10.3...okf--v0.11.0

  3. okf--v0.10.3 GitHub ↗
    Original release notes

    ### Added - **Codex displays the `okf` skill as `OKF`.** `skills/okf/agents/openai.yaml` supplies the OpenAI-specific display name and short description while the portable skill name remains lowercase. ## What's Changed * feat: add Codex display metadata to the OKF skill by @austintraver in https://github.com/scaccogatto/okf-skills/pull/57 ## New Contributors * @austintraver made their first contribution in https://github.com/scaccogatto/okf-skills/pull/57 **Full Changelog**: https://github.com/scaccogatto/okf-skills/compare/okf--v0.10.2...okf--v0.10.3

  4. okf--v0.10.2 GitHub ↗
    Original release notes

    ### Security - **The visualizer loads every CDN script with Subresource Integrity.** `marked` was loaded as `marked@14`, a floating range, and neither it nor Cytoscape carried an `integrity` attribute, so a compromised CDN file or a bad 14.x release would have run in every generated `viz.html` and on the GitHub Pages demos. DOMPurify sanitizes marked's output and cannot guard against marked itself. `marked` is now pinned to 14.1.4, and Cytoscape 3.30.2 and marked carry `integrity` and `crossorigin="anonymous"`, like DOMPurify. - **Shipped scripts cap their dependencies' major version.** `mcp>=2,<3` and `pyyaml>=6,<7`. `uv run` resolves afresh on every machine with no lockfile, so an `mcp` 3.0 would have broken the MCP server for every install on release day. ### Changed - **Release notes come from this changelog.** A release's body is now its `## [<version>]` section here, followed by the generated PR list. It used to be the PR list alone. - **`okf_backfill_events.py` catches only the errors it expects** (a missing `git`, a failing git command, an unreadable or non-JSON transcript line). An unexpected error now surfaces with a traceback instead of being skipped silently. ### Added - **`CONTRIBUTING.md`** lists the three PR gates (version bump, changelog entry, `.okf/` upkeep) and the local commands that mirror CI. **`SECURITY.md`** describes private vulnerability reporting. - **CI lints every Python script with a pinned `ruff`** (`make lint` locally), and tests that CDN scripts carry SRI and that shipped dependencies are capped. ### Fixed - **Dependabot updates of the `action.yml` pin no longer stall on the `version-bump` check.** Dependabot cannot bump the plugin version, so such a PR could never pass. A Dependabot PR whose only shipped change is `action.yml` is now exempt, and the pin ships with the next release. ## What's Changed * chore: hardening pass, ships 0.10.2 by @scaccogatto in https://github.com/scaccogatto/okf-skills/pull/60 **Full Changelog**: https://github.com/scaccogatto/okf-skills/compare/okf--v0.10.1...okf--v0.10.2

  5. okf--v0.10.1 GitHub ↗
    Original release notes

    ## What's Changed * chore: 0.10.1, fix #56 and #58, bump Actions, add Dependabot by @scaccogatto in https://github.com/scaccogatto/okf-skills/pull/59 **Full Changelog**: https://github.com/scaccogatto/okf-skills/compare/okf--v0.10.0...okf--v0.10.1

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 解决了为早于技能创建的现有仓库生成或恢复 `.okf/` 包的具体痛点
  • 适用于事件溯源重构,具有明确的实用价值
  • 详细说明了回填会话中断时的恢复机制
Trigger Precision90/100

Highlights

  • 触发词精准且完整,覆盖了主要的使用场景
  • 提供了多种变体表达,边界清晰
Structure and Standards85/100

Areas to improve

  • 缺少显式的 'When to Use' 章节 Reported severity: Minor

    文档结构良好,但未明确划分出 'When to Use' 章节,而是将其内容融入描述中。

    Recommendation: 建议添加一个显式的 'When to Use' 章节,以更清晰地指导用户在何种情况下使用此技能。

Highlights

  • 协议流程清晰,分为 Preflight、Extract、Bootstrap、Replay、Finalize 等阶段
  • 提供了详细的事件模式和跳過规则
  • 包含了端到端的示例和验证步骤
Execution Reliability80/100

Areas to improve

  • 依赖外部脚本和代理 Reported severity: Minor

    执行流程依赖于 `${CLAUDE_SKILL_DIR}/scripts/okf_backfill_events.py` 等外部脚本和 `okf:event-analyzer` 代理,这可能引入依赖风险。

    Recommendation: 建议明确说明这些外部依赖的可用性,或提供备用方案以确保执行可靠性。

Highlights

  • 工具来源明确(Bash, Read, Write, Edit, uv run)
  • 参数详细且合理,覆盖了主要异常情况(如恢复中断会话)
  • 包含完整的验证和清理步骤,确保最终结果的正确性
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

No text check results available.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

The main document is unavailable or exceeds this check’s scope; permissions are unknown.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

risk · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.