discover-repository-state SKILL.md skillA

discover-repository-state from gtrabanco/agentic-workflow is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add gtrabanco/agentic-workflow/discover-repository-state@v1.2.2

Pins v1.2.2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
gtrabanco/agentic-workflow
Path
skills/discover-repository-state/SKILL.md
Versions recorded
6
Latest version
v1.2.2, committed Sep 24, 2026
First version recorded
Jul 31, 2026
Size
3,243 bytes
Repository stars
22
License
MIT

Discover repository evidence and write a frozen Normalized Repository State. Produces verified repository evidence and keeps facts, decisions, planned work, documentation, and inference separate. It does not make recommendations or infer implementation from documentation. Triggers: "discover repository state", "normalize repository state", "freeze repository facts".

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

# Discover Repository State

Create a reviewable evidence snapshot before planning or implementation.

## Turn contract

```
✓ Repository evidence was read or commands were run for every fact
✓ Facts, documentation, planned work, decisions, and inference are separated
✓ Snapshot status is frozen unless a contradiction was recorded
✓ No accepted decision or existing frozen fact was silently changed
✓ The closing → Next: block is printed last
```

## Step 0 — Discover the project (always first)

Read the agent guide, documentation map, and any existing repository-state
ledger before collecting evidence.

## Process

1. Read the project guide, documentation map, and any existing
   `docs/workflow/REPOSITORY_STATE.md`.
2. Inspect repository files, tests, git state, and declared tooling. Record only
   directly observed statements in **Repository Facts**, each with file:line or
   command evidence.
3. Record design records under **Accepted Decisions**, roadmap entries under
   **Planned work**, and document-only claims under **Documentation**. Do not
   copy them into facts without separate implementation evidence.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add gtrabanco/agentic-workflow/discover-repository-state@sha256:879443535fcf1e42

The line at the top of this page pins the label v1.2.2, 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_s4ajzuzsntumi4rk.svg)](https://markdownregistry.com/a/art_s4ajzuzsntumi4rk)

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

Versions

The registry has recorded 6 versions of this file, between Jul 31, 2026 and Sep 24, 2026, about one every 11 days.

versioncommittedcommitsizeaudit
v1.2.2 latest2026-09-24 b7b74e0 3,243 BA view · diff
v1.2.12026-08-31 0651d3f 3,320 BA view · diff
v1.2.02026-08-09 a7502c8 3,235 BA view · diff
v1.1.22026-07-31 ef37967 3,238 BA view · diff
v1.1.22026-07-31 c281e79 3,014 BA view · diff
v1.1.12026-07-31 8dc246a 2,859 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 (3243 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

gtrabanco/agentic-workflow · 22 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_s4ajzuzsntumi4rk
GET https://markdownregistry.com/api/v1/resolve?ref=gtrabanco/agentic-workflow/discover-repository-state
GET https://markdownregistry.com/api/v1/blob/879443535fcf1e42f018b740c699e8f20ca5761f7b9fa839a162ef6c1a37a2a0

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 gtrabanco/agentic-workflow

AGENTS.md AGENTS.md file
gtrabanco/agentic-workflow · AGENTS.md
git:20261019.656af76 · audit B · 22 stars
undisclosed SKILL.md skill
gtrabanco/agentic-workflow · scripts/fixtures/promise-coherence/skills/undisclosed/SKILL.md · Frozen-failure fixture · issue #305 · replay of unit 258 findings F45 and F53: a Turn-contract box that runs the…
v1.0.0 · audit A · 22 stars
phase-lint SKILL.md skill
gtrabanco/agentic-workflow · scripts/fixtures/unit-route/skills/phase-lint/SKILL.md
git:20260915.8cdf954 · audit C · 22 stars
audit-docs SKILL.md skill
gtrabanco/agentic-workflow · skills/audit-docs/SKILL.md · Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the…
v2.2.0 · audit A · 22 stars
audit-pr SKILL.md skill
gtrabanco/agentic-workflow · skills/audit-pr/SKILL.md · Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes…
v5.6.2 · audit A · 22 stars
bump-skill SKILL.md skill
gtrabanco/agentic-workflow · skills/bump-skill/SKILL.md · Internal agentic-workflow maintenance: after SKILL.md edits, bump semver, lint authoring rules, and synchronize…
v2.3.6 · audit A · 22 stars
execute-phase SKILL.md skill
gtrabanco/agentic-workflow · skills/execute-phase/SKILL.md · Step executor for units whose triage (unit-lane) decided which steps the unit needs. Implements one triaged step (or…
v6.1.0 · audit A · 22 stars
fold-findings SKILL.md skill
gtrabanco/agentic-workflow · skills/fold-findings/SKILL.md · Repair persisted fix-now findings in compatible atomic batches: root-cause fixes, green gate, commit/push, and per-row…
v1.9.0 · audit A · 22 stars
init-workspace SKILL.md skill
gtrabanco/agentic-workflow · skills/init-workspace/SKILL.md · Adapt the workflow scaffold to a new repository or add only missing substrate blocks to an existing install. Every…
v4.0.3 · audit A · 22 stars
log-session SKILL.md skill
gtrabanco/agentic-workflow · skills/log-session/SKILL.md · Append a structured entry to the project's session log (`docs/LOGS.md`): what was done this session, files touched…
v2.3.0 · audit A · 22 stars
orchestration-envelope SKILL.md skill
gtrabanco/agentic-workflow · skills/orchestration-envelope/SKILL.md · Internal machine-result contract for headless agentic-workflow drivers. The executable source is…
v2.4.0 · audit A · 22 stars
phase-contract SKILL.md skill
gtrabanco/agentic-workflow · skills/phase-contract/SKILL.md · Internal contract: the single owner of the eight phase-lint rules, the two accepted phase grammars, the fixed…
v1.1.0 · audit A · 22 stars

Every file in gtrabanco/agentic-workflow

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