Skip to content
Back to skills

Adr

ASecurity

Every lifecycle skill needs the same repo-specific facts — commit identity, build and test commands, the label taxonomy, the CI gates, the conflict hot-spots — and hardcoding them made each skill wrong in a second repository. The obvious home in a Claude Code plugin is another skill, since skills are what the loader already knows how to find. (Context lifted from `skills/profile-repo/SKILL.md`, "The profile is data, not a skill"; the committed-file half is #157.)

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
ai-agentsgo

Works with

  • claude code

Security analysis

A100/100

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

Scanned November 9, 2026

npx -y skills add phmatray/ai-migration-kit --skill adr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Adr?

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

Security grade badge for Adr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/phmatray-adr/badge)](https://www.skillsdirectory.com/skills/phmatray-adr)

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
---
id: 1
title: The repo profile is committed data, not a skill
status: accepted
date: 2026-08-31
tags:
- repo-profile
- lifecycle
code_refs:
- path: skills/init/SKILL.md
- path: skills/init/scripts/repo-profile.sh
parent: Architectural Decision Records
nav_order: 1
---

# The repo profile is committed data, not a skill

## Context and Problem Statement

Every lifecycle skill needs the same repo-specific facts — commit identity, build and test commands,
the label taxonomy, the CI gates, the conflict hot-spots — and hardcoding them made each skill wrong
in a second repository. The obvious home in a Claude Code plugin is another skill, since skills are
what the loader already knows how to find. (Context lifted from `skills/profile-repo/SKILL.md`,
"The profile is data, not a skill"; the committed-file half is #157.)

## Considered Options

- A skill that answers the questions on demand, invoked by every lifecycle skill at its Step 1.
- A plain committed markdown file the lifecycle skills read directly, with a skill that only
  *generates* it.
- Per-skill hardcoded defaults with per-repo overrides.

## Decision Outcome

The profile is plain markdown at `.claude/skills/repo-profile.md` with no `SKILL.md` beside it, so
the loader ignores it and it costs no context until something reads it; it is **committed**, so it
travels with the repo and a linked worktree sees the same file the main checkout does; and the
lifecycle skills read it through `skills/init/scripts/repo-profile.sh show`, falling back
to the `profile-repo` skill only when the file is genuinely absent — which means the generating
skill is usually never loaded at all.

## Consequences

The profile can go stale without anything noticing, so `profile-repo --refresh` exists and the
file says at the top when to re-run it. Reading it needs a helper rather than a `cat`, because a bare
`cat` of a missing profile is indistinguishable from a silent one and the skills then infer the
identity and gates from the repository instead — invisible in the successful case, which is what made
it worth a named condition (#157).

Files in this skill

  • 0001-the-repo-profile-is-committed-data-not-a-skill.md2.1 KB
  • 0002-the-roseline-gate-fails-open-always.md2.5 KB
  • 0003-one-plugin-version-no-per-skill-version.md1.6 KB
  • 0004-squash-only-merges-the-pr-title-is-the-release-commit.md1.8 KB
  • 0005-the-lifecycle-skills-run-hands-off-triage-backlog-does-not.md1.8 KB
  • 0006-the-kit-targets-claude-code-only.md1.6 KB
  • 0007-workers-are-in-process-sub-agents-never-claude-p.md2 KB
  • 0008-idea-tree-search.md2.9 KB
  • 0009-interaction-modes.md2.6 KB
  • 0010-novelty-search.md2.5 KB
  • 0011-hook-gates-are-recorded-rather-than-registered-decisions.md3.7 KB
  • 0012-two-skill-naming-rules-verb-object-and-family-role.md5.4 KB
  • 0013-profile-repo-and-setup-repo-stay-a-reader-and-a-writer.md2.4 KB
  • README.md3 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.