Skip to content
Back to skills

Repository Improvement

ASecurity

Consumes friction_cluster_agent hotspot reports and synthesizes systemic refactoring proposals for human review, for Tier 3 architecture friction. Trigger with "synthesize a refactoring proposal from the friction hotspots", "what's the systemic fix for this friction cluster", or when os-architect/self-evolution escalates a Tier 3 (Regression / Architecture) friction event per github-issue-logging-policy.md. Migrated from the former repository-improvement-agent (2026-09-05): deterministic repo...

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 20, 2026
ai-agentsbashawsrefactoringgit

Security analysis

A100/100

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

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill repository-improvement --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Repository Improvement?

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

Security grade badge for Repository Improvement
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-repository-improvement/badge)](https://www.skillsdirectory.com/skills/richfrem-repository-improvement)

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: repository-improvement
plugin: agent-agentic-os
description: >
  Consumes friction_cluster_agent hotspot reports and synthesizes systemic refactoring
  proposals for human review, for Tier 3 architecture friction. Trigger with "synthesize
  a refactoring proposal from the friction hotspots", "what's the systemic fix for this
  friction cluster", or when os-architect/self-evolution escalates a Tier 3 (Regression /
  Architecture) friction event per github-issue-logging-policy.md. Migrated from the
  former repository-improvement-agent (2026-09-05): deterministic report-synthesis task,
  no interview, no self-directed git/PR execution — fits the skill archetype, not the
  agent archetype. Never creates branches, commits, or PRs itself — see "Human Gate"
  below.
allowed-tools: Read, Write
---

# Repository Improvement (`repository-improvement`)

Consumes friction hotspot reports and synthesizes systemic refactoring proposals for human review regarding recurring Tier 3 architecture friction.

## Contents

- [Critical Constraints](#critical-constraints)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Critical Constraints

1. **Synthesis Only**: Never autonomously create git branches, write commits, or open pull requests.
2. **One Proposal Per Root Cause**: Group findings by systemic pattern rather than creating omnibus proposals.
3. **Target Tier 3 Specifically**: Focus on systemic architecture debt, recurring multi-component failures, and core design flaws.

## Quick start

Inspect active friction hotspots and unresolved Tier 3 issues:

```bash
cat references/map-debt.md
```

## Workflow

1. **Consume Hotspot Reports**: Inspect friction cluster analysis and identified Tier 3 architectural debt.
2. **Consolidate Root Causes**: Group related failure symptoms under a single root architectural deficiency.
3. **Draft Refactoring Proposal**: Save proposal to `temp/repo-improvement-proposal-<slug>.md` detailing patterns and impact.
4. **Human Review Gate**: Present proposal to the user and request explicit authorization before proceeding.
5. **Delegated Execution**: Upon approval, hand off execution to PR lifecycle agents in isolated worktrees.

## Verification

Confirm refactoring proposal is written with clear systemic rationale:

```bash
test -f "temp/repo-improvement-proposal-*.md" 2>/dev/null && echo "Proposal verified"
```

## References

- [acceptance-criteria.md](references/acceptance-criteria.md) — Acceptance criteria for repository improvement proposals.
- [fallback-tree.md](references/fallback-tree.md) — Remediation pathways when hotspot reports are ambiguous or missing.

Files in this skill

  • SKILL.md3.9 KB
  • evals/evals.json598 B
  • references/acceptance-criteria.md65 B
  • references/fallback-tree.md59 B
  • requirements.txt23 B

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.

Comments

Loading comments…

Newsletter

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