project-discovery

project-discovery is a skill for Claude Code, Codex from upex-galaxy/agentic-qa-boilerplate. It costs 59 tokens per session (9,075 once invoked), scanned A, original, MIT.

A guided process for understanding an unfamiliar code project through its rules, architecture, infrastructure, and requirements. It creates project documents such as a product requirements document, software requirements specification, glossary, backlog access, and test planning context.

In plain words
What is it for?
Use it when setting up a project, onboarding a repository, documenting how it works, clarifying its domain, and preparing requirements and testing work.
Why use it?
It turns an unknown codebase into shared reference material before development or testing begins, while marking claims that cannot be verified instead of guessing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it when setting up a project, onboarding a repository, documenting how it works, clarifying its domain, and preparing requirements and testing work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/upex-galaxy/agentic-qa-boilerplate/project-discovery
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add upex-galaxy/agentic-qa-boilerplate --skill project-discovery
Clone the repo
git clone --depth 1 https://github.com/upex-galaxy/agentic-qa-boilerplate

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for project-discovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/upex-galaxy/agentic-qa-boilerplate/project-discovery/github.svg)](https://agentmods.dev/skills/upex-galaxy/agentic-qa-boilerplate/project-discovery)
Your own site
<a href="https://agentmods.dev/skills/upex-galaxy/agentic-qa-boilerplate/project-discovery"><img src="https://agentmods.dev/badge/skills/upex-galaxy/agentic-qa-boilerplate/project-discovery/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for project-discovery

Your own site · 80×15
<a href="https://agentmods.dev/skills/upex-galaxy/agentic-qa-boilerplate/project-discovery"><img src="https://agentmods.dev/badge/skills/upex-galaxy/agentic-qa-boilerplate/project-discovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.09075
Opus 5.5 $0.00024 $0.03630
Sonnet 5.5 $0.00012 $0.01815
Haiku 4.5 $0.00006 $0.00907

Measured 2d ago against content hash b208dd5f8914, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

project-discovery scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/project-discovery/SKILL.md · 445 lines

How it starts

The opening of the file, as written. The whole thing — 445 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Project Discovery: Onboarding Orchestrator

Turn an unknown codebase into a testable project. Four phases, always in order, each gated on the one before. The output is the domain map and the infra map inside their context skills, plus .context/project-config.md: the knowledge the rest of the skills (shift-left-testing, sprint-testing, test-automation, test-documentation, regression-testing) rely on.

The discovery is conversational: you read the code, ask when something is ambiguous, and confirm before writing files. If you cannot verify a claim from the source, mark it as a Discovery Gap and move on.

The grounding methodology is IQL (Integrated Quality Lifecycle): QA is continuous from requirement to release, not a gate at the end. The stage contract every QA skill enforces lives in agentic-qa-core/references/stage-gates.md; the narrative is the official IQL site (https://upexgalaxy.com/metodologia in Spanish, https://upexgalaxy.com/en/methodology in English). Mention it only when the user asks why the discovery is structured this way, and then point to iql-context.


Compact Rules

  • Run the four phases in order (Constitution, Architecture, Infrastructure, Specification), each gated on the previous. Show the output paths and wait for an explicit "Phase N complete" before continuing, because each phase builds on facts the human has just confirmed. Never auto-chain.
  • Discovery is read-only on the target repo. The write targets are .context/project-config.md, .context/ADR/, and the maps of business-domain-context and infra-context (their references/<map>.html), plus the Phase 1 ## Project Assessment (Phase 1) block in .agents/instructions/agent-project.md. Nothing else. Modifying the boilerplate itself is test-framework-adaptation.
  • You are the generator of those two maps, per agentic-qa-core/references/business-context-maps.md (anatomy §2, reading §3, CREATE/UPDATE §4, staleness §5). Map absent or placeholder: CREATE every section. Map generated: UPDATE only the stale sections (§5 staleness check), show a section-level diff and wait for approval. Never regenerate a whole generated map.
  • Read a project's old .context/business/, .context/SRS/ and .context/infrastructure/ markdown files (the legacy list of business-domain-context and infra-context in CONTEXT_MAP_SKILLS, cli/lib/context-maps.ts) as input when present. Cite them in data-migrated-from on the sections they seed, and leave them in place untouched.
  • Before drawing a figure, run the point-of-use check for capability diagrams (agentic-qa-core/references/business-context-maps.md §7). Figures are optional where a table says it better: the glossary is tables, the architecture overview usually earns a figure.
  • Describe what the system does, not what product wants it to do. Discovery is reverse-engineering; a to-be PRD or SRS is out of scope, so point the user at their own product workflow. Do not invent business entities, flows, requirements, or Jira and Xray field IDs and status names: anything you cannot verify goes in the map's discovery-gaps section (or the ## Discovery Gaps block of project-config.md). Field IDs come from bun run jira:sync-fields --force and are referenced as {{jira.<slug>}} through the slug catalog in .agents/jira-required.yaml.
  • Lock the target repo path(s) before Phase 1 and stop on ambiguity. A repo that is not cloned locally cannot be discovered from a URL, so ask for the clone first.
  • Split sibling repos: run the Phase 1 sub-steps once per repo and merge into one project-config.md, never interleaved. Monorepo: Phase 1 once project-wide, Phases 2-3 per package.
  • Do not fill the business-data-context, business-api-context or business-e2e-context maps, and do not write personas, journeys, the feature catalog or the master test plan here. Those are project-context modes, which own their diff and overwrite approval. Exact API types are bun run api:sync.
  • Do not create per-ticket PBI content or copy the backlog. Phase 4 is a connection check and writes no file; the committed README.md and templates/ under .context/PBI/ stay untouched.
  • Do not paste credentials or a detected secret into any discovery output. Reference the .env key or the file path only; a hardcoded-secret hit is recorded as a HIGH risk (path only) in the Phase 1 assessment.
  • When Phase 2 or 3 settles a test-architecture decision that passes the three-gate test of agentic-qa-core/references/adr-doctrine.md (hard to reverse, surprising without context, a real trade-off), record it as an append-only ADR under .context/ADR/, drafted Proposed for the human to accept. In a brownfield repo the decision was discovered, not made here: write it Proposed, mark it discovered (where it was found), and have the human confirm it at that phase's completion checkpoint, which flips it to Accepted.
  • Keep discovery sessions separate from test-framework-adaptation sessions, and do not use this skill for incremental refreshes of the other maps: the write boundaries differ.
  • Do not skip Phase 1 or its domain glossary on a fresh start. Later phases assume the project's values and stack are fixed, and downstream skills load business-domain-context as a precondition for ATP authoring and TC naming.
  • When a DB schema or migrations and ORM models both exist, prefer the schema or migrations: ORM definitions drift from the live schema.
  • Before any step that uses a declared capability (metadata.requires_capabilities: db, api-schema, diagrams), run the point-of-use check in agentic-qa-core/references/preflight-gate.md §8: resolve by tool-name suffix, and when no available tool provides it, stop and name the capability and how to enable it. No silent fallback.

Read the full file on GitHub · 445 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed b208dd5f8914
  2. 15d ago Changed · -9 lines · -102 tokens per session scan B → A 970dbcb0b0fc
  3. 23d ago Changed 9ecf63b47301
  4. 1mo ago Changed 4e2c1b03f83b
  5. 1mo ago Changed b73195929265
  6. 1mo ago Changed 620612580274
  7. 2mo ago Changed · +9 lines · +40 tokens per session 4e61815c8709
  8. 2mo ago Changed de86cf2557d1
  9. 2mo ago Changed · +10 lines 8cc88f43bda6
  10. 2mo ago First seen · 435 lines · 121 tokens per session scan B 6402789c5d91

Subscribe to this mod's changes

project-discovery is a skill published in the GitHub repository upex-galaxy/agentic-qa-boilerplate (27 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 9,075 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

project-discovery compared with skills from other repositories

project-discovery next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
project-discoveryupex-galaxy/agentic-qa-boilerplateSkill27todayMITA59Claude Code, Codex
agentic-raglatestaiagents/agent-skillsSkill627d agoMITA79Claude Code
corrective-raglatestaiagents/agent-skillsSkill627d agoMITA91Claude Code
agent-error-recoverylatestaiagents/agent-skillsSkill627d agoMITA53Claude Code
agent-testing-harnesslatestaiagents/agent-skillsSkill627d agoMITA51Claude Code
chunking-strategieslatestaiagents/agent-skillsSkill627d agoMITA70Claude Code
graphrag-patternslatestaiagents/agent-skillsSkill627d agoMITA83Claude Code