rebuild-guidelines-index
Rebuild navigational index files for coding guidelines.
Skill by Fleron
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fleron-rebuild-guidelines-index
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/rebuild-guidelines-index
What's inside
- Skill name
rebuild-guidelines-index- Description
- Rebuild navigational index files for coding guidelines. Run after adding, removing, or modifying guideline files in reference/coding-guidelines/.
- License
- MIT
- Instructions
- 130 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
> **Pipeline position:** maintenance task; not part of the main pipeline — see [`../../reference/pipeline-flow.md`](../../reference/pipeline-flow.md).
# Rebuild Guidelines Index
Generate navigational index files for `reference/coding-guidelines/` so explorer agents can efficiently locate relevant guidelines without reading every file.
## Process
### Step 1: Discover Structure
Traverse `reference/coding-guidelines/` using Glob or ls. Map:
- All language directories (e.g., `rust/`, `python/`)
- All topic directories within each language (e.g., `rust/general/`, `rust/errors/`)
- All `.md` files in each topic directory, **excluding** any existing `index.md`
Handle empty directories gracefully — they get noted as empty in the index.
### Step 2: Generate Per-Folder Indexes (Leaf Level First)
For each topic folder that contains `.md` files (not `index.md`):
1. **Dispatch one Explore subagent per folder.** The subagent reads all `.md` files in that folder and returns a structured summary per file:
- Filename
- Line count
- 2–4 sentence dense summary listing major topics, sections, and rule identifiers (e.g., P-MOD, F-OUT, M-DESIGN-FOR-AI)
2. **Fallback:** If a folder exceeds ~4000 total lines across all files, dispatch one subagent per file instead.
3. **Write `index.md`** in each folder using this exact format:
```markdown
# {language}/{topic}/ — Guidelines Index
> Auto-generated by rebuild-guidelines-index. Do not edit manually.
> Last rebuilt: YYYY-MM-DD HH:MM
## {filename}.md ({N} lines)
{2-4 sentence dense summary. List major topics, section headings, and rule identifiers
covered. Be specific enough that an agent can decide whether to read the full file
based on this summary alone.}
## {another-file}.md ({N} lines)
{Summary...}
```
### Step 3: Generate Per-Language Indexes
For each language directory:
1. **Read the per-folder indexes** just created in Step 2 (do NOT re-read source files).
2. **Write `{language}/index.md`** using this exact format:
```markdown
# {Language} Guidelines Index
> Auto-generated by rebuild-guidelines-index. Do not edit manually.
> Last rebuilt: YYYY-MM-DD HH:MM
## Topic Folders
### {topic}/ ({N} files)
{2-3 sentence overview of what this topic folder covers, synthesized from the
per-folder index.}
**Key topics by file:**
| File | Covers |
|------|--------|
| {filename}.md | {comma-separated list of major topics and rule identifiers} |
| {filename}.md | {comma-separated list} |
### {another-topic}/ ({N} files)
{Overview...}
| File | Covers |
|------|--------|
| ... | ... |
```
If a topic folder is empty (no `.md` files other than `index.md`), note it:
```
### {topic}/ (empty)
No guideline files yet.
```
### Step 4: Generate Root Index
1. **Read per-language indexes** from Step 3 (do NOT re-read lower-level files).
2. **Write `reference/coding-guidelines/index.md`** using this exact format:
```markdown
# Coding Guidelines Index
> Auto-generated by rebuild-guidelines-index. Do not edit manually.
> Last rebuilt: YYYY-MM-DD HH:MM
## Languages
### {language}/
{2-3 sentence overview of what this language's guidelines cover.}
Topics: {topic1} ({N} files), {topic2} ({N} files), ...
### {language}/
{Overview or note that no content files exist yet, with list of empty topic dirs.}
```
### Step 5: Report
List all index files created or updated:
```
Index files updated:
- reference/coding-guidelines/index.md
- reference/coding-guidelines/rust/index.md
- reference/coding-guidelines/rust/general/index.md
- ...
```From Fleron/Claude-plugins, MIT.
More from Fleron/Claude-plugins
- 0.567score
code-review
Fleron
Use when the user asks for a review of the current diff, branch or pull request, wants a final check before shipping or opening a PR, asks what is wrong with…
SkillAFreshness: A★ 1Claude Code +9 - 0.527score
babysit-pr
Fleron
Use when the user asks to monitor, watch or babysit a pull request, keep an eye on CI, handle incoming review comments, or stay on top of failures and…
SkillBFreshness: B★ 1Claude Code +9 - 0.492score
claude-control-goals
Fleron
Minimal /goal integration for Claude and Codex.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
extensive-build
Fleron
Guided feature development with codebase understanding and architecture focus
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
create-feature
Fleron
Guided feature development with codebase understanding and architecture focus
SkillCFreshness: C★ 1Claude Code +9 - 0.476score
team-build
Fleron
Implement the plan
SkillCFreshness: C★ 1Claude Code +9 - 0.471score
executing-plans
Fleron
Use when you have a written implementation plan to execute in a separate session with review checkpoints
SkillCFreshness: C★ 1Claude Code +9 - 0.471score
plan-writing
Fleron
Use when you have a spec or requirements for a multi-step task, before touching code
SkillCFreshness: C★ 1Claude Code +9 - 0.471score
subagent-driven-development
Fleron
Use when executing implementation plans with independent tasks in the current session
SkillCFreshness: C★ 1Claude Code +9 - 0.471score
subagent-driven-development
Fleron
Use when executing implementation plans with independent tasks in the current session
SkillCFreshness: C★ 1Claude Code +9 - 0.469score
brainstorm
Fleron
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.
SkillCFreshness: C★ 1Claude Code +9 - 0.468score
receiving-code-review
Fleron
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires…
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 10, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Fleron/Claude-plugins
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Fleron
- 0.567score
code-review
Fleron
Use when the user asks for a review of the current diff, branch or pull request, wants a final check before shipping or opening a PR, asks what is wrong with…
SkillAFreshness: A★ 1Claude Code +9 - 0.527score
babysit-pr
Fleron
Use when the user asks to monitor, watch or babysit a pull request, keep an eye on CI, handle incoming review comments, or stay on top of failures and…
SkillBFreshness: B★ 1Claude Code +9 - 0.492score
claude-control-goals
Fleron
Minimal /goal integration for Claude and Codex.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
create-feature
Fleron
Guided feature development with codebase understanding and architecture focus
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
extensive-build
Fleron
Guided feature development with codebase understanding and architecture focus
SkillCFreshness: C★ 1Claude Code +9 - 0.476score
team-build
Fleron
Implement the plan
SkillCFreshness: C★ 1Claude Code +9
Cite this page
rebuild-guidelines-index skill. Agent Mart. https://agentmart.dev/skills/fleron-rebuild-guidelines-index (last updated 2026-10-24)