Skip to content
Back to skills

Affected

ASecurity

Run or report Nx affected projects for lint, test, build, all checks, or the dependency graph. Use for "$affected" workflow requests.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added December 1, 2026
tools

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add hbrancalhao/_base --skill affected --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Affected?

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

Security grade badge for Affected
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hbrancalhao-affected/badge)](https://www.skillsdirectory.com/skills/hbrancalhao-affected)

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
---
name: affected
description: Run or report Nx affected projects for lint, test, build, all checks, or the dependency graph. Use for "$affected" workflow requests.
---

# Nx affected workflow

Interpret the text after `$affected` as one of `lint`, `test`, `build`, `all`, or `graph`; default to listing affected projects from `HEAD~1`.

1. Use `npx nx affected --base=HEAD~1` to list projects when no action is given.
2. For one check, run `npx nx affected:<action> --base=HEAD~1`.
3. For `all`, run lint, test, then build, stopping after a failure only when subsequent output would add no value.
4. For `graph`, run `npx nx graph --affected`.
5. Report the command, projects, status, and concise failure locations. Do not fix code unless explicitly asked.

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 tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.