Loading...
Loading...
Use when the user asks to investigate, audit, trace, or explain how a feature, issue, module, workflow, API, config, or behavior works across one or more codebase projects.
npx skill4agent add devarfeen/agent-skills-kit feature-discoveryProjects Affected: [Project Code], [Project Code]
What:
[FEATURE / ISSUE / BEHAVIOR / MODULE / WORKFLOW]rggitgit grepfindgit fetchgit pullProjects AffectedWhatWhatrg -n "exact topic|likely alias|route|config_key" .
find . -maxdepth 4 \( -name package.json -o -name README.md -o -name .git \)
git grep -n "term"
git log --since="2 months ago" --oneline --all -- <relevant-path># Feature Discovery: [Topic]
## 1. Summary
- [Short answer: what this is and where it lives.]
- [Main finding or current behavior.]
- [Important caveat, if any.]
## 2. What It Does
- [Describe the behavior in product/domain terms.]
- [Mention inputs, outputs, side effects, or user-visible result.]
- [Mention relevant project(s).]
## 3. How It Works
- [Step-by-step flow.]
- [Key files, functions, classes, routes, configs, jobs, services, or data models.]
- [Important conditions, flags, dependencies, or error paths.]
## 4. Where It Is Used
- [Usage site 1 with file reference.]
- [Usage site 2 with file reference.]
- [Tests/docs/configs that confirm usage.]
## 5. Why It Was Needed / Memory
- [Use conversation memory, local docs, comments, issues, or recent commits if available.]
- [If not found: "No reliable rationale found in available memory, docs, comments, or recent git history."]
## 6. Risks, Gaps, And Recommended Next Checks
- [Risk, ambiguity, dead code, missing test, or unclear owner.]
- [Recommended next check.]
- [State what could not be verified.]- `apps/admin/src/routes/users.ts`: defines the route.
- `packages/auth/src/session.ts`: validates the session before the route runs.
- `apps/admin/src/routes/users.test.ts`: covers the disabled-user case.
- Commit `abc1234` from 2026-04-12: introduced the feature flag.