Skip to content
Back to skills

Refresh

ASecurity

Maintain the repo's knowledge. The index mode rebuilds the ticket catalog (INDEX.md) and the context mode rebuilds the domain knowledge pack (documentation/). Day to day, hooks keep both fresh automatically.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsdocumentation

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add kyle-chalmers/ticketwright --skill refresh --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Refresh?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Refresh
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kyle-chalmers-refresh/badge)](https://www.skillsdirectory.com/skills/kyle-chalmers-refresh)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: refresh
description: Maintain the repo's knowledge. The index mode rebuilds the ticket catalog (INDEX.md) and the context mode rebuilds the domain knowledge pack (documentation/). Day to day, hooks keep both fresh automatically.
argument-hint: "[index | context | all]"
allowed-tools: [Read, Write, Glob, Grep]
---

# /refresh

One maintenance skill for the two knowledge stores the other skills read:

- **`/refresh index`** — the ticket catalog: `tickets/INDEX.md` (every ticket, status, one-line
  summary, tags, cross-refs) + `tickets/OBJECTS.md` (object → tickets reverse map). This is what
  `/ticket`'s recall mines. Details: [index.md](index.md).
- **`/refresh context`** — the domain knowledge pack in `documentation/`: data catalog, DDL, ERD,
  dependency graph, business glossary. This is what `/ticket`'s domain + warehouse priming reads.
  With no warehouse seam, the pack is the glossary + domain notes built from tickets and repo docs
  (the introspection phases skip cleanly). Details: [context-pack.md](context-pack.md).
- **`/refresh all`** — both.

## You rarely need this
Day-to-day the index maintains itself: the PostToolUse hook re-renders `INDEX.md` on every ticket
folder change, the SessionStart hook surfaces the catalog, and `/ship` curates each ticket's
summary at close. Invoke `/refresh` to:
- **bootstrap** an existing backlog (`/refresh index --all` — render every ticket, then enrich);
- **re-enrich** a batch after bulk edits (`/refresh index ID1 ID2 …`);
- **build or update the knowledge pack** (`/refresh context`, scoped to a schema if given;
  `--refresh` updates in place — overwrite, don't sprawl).

## Mode: `index`
Follow [index.md](index.md): render deterministically (`tools/build_ticket_index.py` — stdlib, no
model), enrich the un-enriched/stale set (the model writes one curated record per ticket, ingested
via `tools/ingest_index_records.py`), re-render, then verify with `--check` and commit the whole index
together — `INDEX.md`, `OBJECTS.md`, `index_data.json`, and the graph layer (`tickets/graph/` +
`tickets/objects/`) when `project.graph_notes` is on (the default).

## Mode: `context`
Follow [context-pack.md](context-pack.md): verify each configured warehouse target, introspect via its adapter
(inventory → DDL → dependencies → usage ranking), generate `data_catalog.md` / `erd.md` /
`glossary.md` into `documentation/` with freshness stamps, and update
`documentation/AI_LAYER_INDEX.md`. Don't invent business meaning — flag glossary gaps for a human
(`reduce_assumptions`).

Files in this skill

  • SKILL.md2.5 KB
  • context-pack.md2.4 KB
  • index.md7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.