engineering-refactor SKILL.md skillA

engineering-refactor from collectiveai-team/botica is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add collectiveai-team/botica/engineering-refactor@git:20261020.7ea4422

Pins git:20261020.7ea4422 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
collectiveai-team/botica
Path
skills/engineering/engineering-refactor/SKILL.md
Versions recorded
5
Latest version
git:20261020.7ea4422, committed Oct 20, 2026
First version recorded
Oct 13, 2026
Size
2,791 bytes
Repository stars
9
License
a license file GitHub does not identify

Refactor an existing codebase in small, tested slices while keeping its local conventions, using botica for the rules and the upstream codebase-design skill for the architecture vocabulary. Use when the user asks to refactor, restructure, reorganize, clean up architecture, tidy up code, modernize a project, or adapt a repo to these practices.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Engineering Refactor

Move an existing codebase toward a better structure without overriding the deliberate choices of
the repository. This skill is a workflow and states no rule of its own: the rules are in botica,
and the architecture vocabulary is the one of the upstream `codebase-design` skill.

## 1. Baseline

Read the judgment rules of `AGENTS.md` (between `<!-- botica:rules -->` and
`<!-- /botica:rules -->`), `GLOSSARY.md` and the ADRs under `docs/adr/`. Then read the local
contracts and write down, with the file that shows each:

- package manager, lockfile and build backend;
- lint, format and type-check tools, and where they run (prek, CI);
- language versions, package layout, test layout and entry points.

Keep that toolchain unless the user asked to migrate it (`botica explain respect-local-repo`). Run `botica lint` once and keep its output as the baseline.

## 2. Targets

If the user named a module or a pain point, start there. Otherwise ask the user whether to run the
upstream `improve-codebase-architecture` skill, which scans the codebase for deepening candidates;
an agent cannot invoke it on its own.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add collectiveai-team/botica/engineering-refactor@sha256:e9c826d6cff70a67

The line at the top of this page pins the label git:20261020.7ea4422, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_dnoglg7rhlemlptz.svg)](https://markdownregistry.com/a/art_dnoglg7rhlemlptz)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Oct 13, 2026 and Oct 20, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261020.7ea4422 latest2026-10-20 7ea4422 2,791 BA view · diff
git:20261020.a1578582026-10-20 a157858 2,856 BA view · diff
git:20261018.e05a5c32026-10-18 e05a5c3 4,646 BA view · diff
git:20261013.40726842026-10-13 4072684 4,548 BA view · diff
git:20261013.ae762a82026-10-13 ae762a8 4,543 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2791 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

collectiveai-team/botica · 9 stars · license a license file GitHub does not identify · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_dnoglg7rhlemlptz
GET https://markdownregistry.com/api/v1/resolve?ref=collectiveai-team/botica/engineering-refactor
GET https://markdownregistry.com/api/v1/blob/e9c826d6cff70a677a0b46bcdfa50fff5faf9562d118fe5dadbf995b3243da21

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from collectiveai-team/botica

AGENTS.md AGENTS.md file
collectiveai-team/botica · AGENTS.md
git:20261028.be26064 · audit A · 9 stars
AGENTS.md@catalog/rules/writing/agents-md-refs-exist/fixtures/invalid AGENTS.md file
collectiveai-team/botica · catalog/rules/writing/agents-md-refs-exist/fixtures/invalid/AGENTS.md
git:20261027.853ff8a · audit B · 9 stars
CLAUDE.md@catalog/rules/writing/agents-md-refs-exist/fixtures/invalid/pkg CLAUDE.md file
collectiveai-team/botica · catalog/rules/writing/agents-md-refs-exist/fixtures/invalid/pkg/CLAUDE.md
git:20261027.853ff8a · audit B · 9 stars
AGENTS.md@catalog/rules/writing/agents-md-refs-exist/fixtures/valid AGENTS.md file
collectiveai-team/botica · catalog/rules/writing/agents-md-refs-exist/fixtures/valid/AGENTS.md
git:20261027.853ff8a · audit A · 9 stars
AGENTS.md@catalog/rules/writing/agents-md-refs-exist/fixtures/valid/pkg AGENTS.md file
collectiveai-team/botica · catalog/rules/writing/agents-md-refs-exist/fixtures/valid/pkg/AGENTS.md
git:20261027.853ff8a · audit B · 9 stars
botica-rule-author SKILL.md skill
collectiveai-team/botica · skills/engineering/botica-rule-author/SKILL.md · Write a new botica lint rule, either in the built-in catalog (catalog/rules) or in a catalog of a project…
git:20261020.31feb13 · audit A · 9 stars
engineering-pr-review SKILL.md skill
collectiveai-team/botica · skills/engineering/engineering-pr-review/SKILL.md · PR gate that runs botica, reviews the diff with the upstream code-review skill and writes the body with the pr skill…
git:20261020.7ea4422 · audit A · 9 stars
pr SKILL.md skill
collectiveai-team/botica · skills/engineering/pr/SKILL.md · Use when writing a PR body. Follow the repository's .github/pull_request_template.md.
git:20261020.43b8a7e · audit A · 9 stars
ask-user SKILL.md skill
collectiveai-team/botica · skills/productivity/ask-user/SKILL.md · Ask which installed skill or workflow fits the user's situation.
git:20261020.43b8a7e · audit A · 9 stars
handoff SKILL.md skill
collectiveai-team/botica · skills/productivity/handoff/SKILL.md · Compact the current conversation and workspace state into a handoff document for a fresh agent session.
git:20261018.e05a5c3 · audit A · 9 stars
journalist SKILL.md skill
collectiveai-team/botica · skills/productivity/journalist/SKILL.md · Write short daily journal entries for the current session under .journals, maintain a metadata-driven index, and query…
git:20260614.c283430 · audit A · 9 stars
test-smell-review SKILL.md skill
collectiveai-team/botica · skills/quality/test-smell-review/SKILL.md · Review pytest/unittest, Jest/Vitest/Mocha, or any other language's tests for false-green smells — tests that pass…
git:20261020.13637bb · audit A · 9 stars

Every file in collectiveai-team/botica

Browse by kind, by grade A, or by owner.