Index of every page on this site: llms.txt
All skills
amirtaherkhani avatar

/nestjs-feature-audit

@8272374
Run it yourself

Audits one NestJS feature against its documented roadmap on a specific Git branch and returns an evidence-backed implementation, gap, legacy, bug, and blocker report. Use when asked to audit a feature, validate feature completeness, compare code with a roadmap or acceptance plan, run a feature gap analysis, review migration status, or invoke /audit_feature with a feature name and optional branch. It stops when no clear roadmap is available and does not implement fixes. When other skills also apply, reconcile ownership before mutation.

Use this Skill: https://skilld.dev/gh/amirtaherkhani/nestjs-skills/nestjs-feature-audit

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesroadmap-discovery.md

≈677 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Feature Roadmap Discovery

Use this reference to decide whether Step 3 may begin. The gate protects the audit from comparing code with an invented target.

Search sequence

  1. List documentation before searching content:

    rg --files docs
  2. Search the exact feature name and repository-observed aliases in Markdown, MDX, YAML, and JSON documentation.

  3. Search likely target-language terms: roadmap, plan, milestone, phase, acceptance, definition of done, migration, cutover, and rollout.

  4. Follow direct links from matching docs/ pages to adjacent repository documentation. Do not treat a ticket or external URL as read unless its contents are actually available.

  5. Record every candidate path, why it matches, and whether it contains actionable target items.

Escape user-provided search text or use fixed-string search. Do not interpolate untrusted feature text into a shell expression.

Clear-roadmap test

A repository document passes the gate only when the answer to all applicable questions is yes:

  • Does it identify the requested feature or an evidence-backed alias?
  • Does it define concrete outcomes, phases, deliverables, acceptance conditions, or migration targets?
  • Can at least one target item be compared with observable repository or runtime evidence?
  • Is it authoritative enough to distinguish a requirement from an idea, example, historical note, or rejected proposal?
  • When multiple documents conflict, is the active one identifiable by status, revision, repository instruction, or explicit user decision?

Issue checklists and ADRs may supplement a roadmap. They do not replace the docs/ gate unless the user explicitly supplies or designates them as the roadmap.

Hard-stop response

When the gate fails, do not classify implementation state. Return:

Roadmap required for `<feature>` before the audit can continue.

- Target revision: `<branch>@<sha>`
- Searched: `<paths>`
- Terms: `<feature name, aliases, roadmap terms>`
- Candidates found: `<none or paths with rejection reason>`
- Needed from you: a roadmap file/path or the roadmap contents

Do not create a roadmap from the code. Current implementation cannot define its own expected completeness.

User-provided roadmap

If the user supplies roadmap text or points to a readable non-docs/ artifact after the hard stop:

  1. Label the source and revision as user-provided.
  2. Confirm the feature identity and target branch still match.
  3. Extract concrete items without adding requirements.
  4. Resume at the traceability matrix.

If the supplied text is still aspirational or ambiguous, ask only for the missing acceptance boundary; do not guess.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts4d3 checks · Risk SAFE
  • Gen Agent Trust Hub4d

    This skill provides a structured and secure workflow for auditing NestJS features against documentation. It includes robust security practices such as preventing shell command injection and ensuring safe Git operations.

  • Socket4d

    No alerts

  • Snyk4d

    Risk: LOW · No issues

Signed by skilld at 8272374. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 5 days ago
metadata
{
  "author": "amirtaherkhani",
  "version": "1.0.2"
}
Other metadata
compatibility
Requires Git, a NestJS repository, and a clear feature roadmap in docs/ or supplied by the user. Updating from a remote requires network access.

README badge

README badge for amirtaherkhani/nestjs-skills/nestjs-feature-audit