tmr-project-impact
Skill19 starsChanged 5 months agoMITView on GitHub
Detect changes in project source files and report which dependent documents are affected, with specific suggestions per document. No changes applied automatically.
In this repository116 other files it gives its agents.
- bmad-advanced-elicitationSkill
- bmad-agent-analystSkill
- bmad-agent-architectSkill
- bmad-agent-devSkill
- bmad-agent-pmSkill
- bmad-agent-tech-writerSkill
- bmad-agent-ux-designerSkill
- bmad-architectureSkill
- bmad-brainstormingSkill
- bmad-check-implementation-readinessSkill
- bmad-checkpoint-previewSkill
- bmad-code-reviewSkill
- bmad-correct-courseSkill
- bmad-create-architectureSkill
- bmad-create-epics-and-storiesSkill
- bmad-create-prdSkill
- bmad-create-storySkill
- bmad-customizeSkill
- bmad-dev-storySkill
- bmad-document-projectSkill
- bmad-domain-researchSkill
- bmad-editorial-review-proseSkill
- bmad-editorial-review-structureSkill
- bmad-edit-prdSkill
- bmad-forge-ideaSkill
- bmad-generate-project-contextSkill
- bmad-helpSkill
- bmad-index-docsSkill
- bmad-investigateSkill
- bmad-market-researchSkill
- bmad-party-modeSkill
- bmad-prdSkill
- bmad-prfaqSkill
- bmad-product-briefSkill
- bmad-qa-generate-e2e-testsSkill
- bmad-quick-devSkill
- bmad-retrospectiveSkill
- bmad-review-adversarial-generalSkill
- bmad-review-edge-case-hunterSkill
- bmad-shard-docSkill
- bmad-specSkill
- bmad-sprint-planningSkill
- bmad-sprint-statusSkill
- bmad-teach-me-testingSkill
- bmad-teaSkill
- bmad-technical-researchSkill
- bmad-testarch-atddSkill
- bmad-testarch-automateSkill
- bmad-testarch-ciSkill
- bmad-testarch-frameworkSkill
- bmad-testarch-nfrSkill
- bmad-testarch-test-designSkill
- bmad-testarch-test-reviewSkill
- bmad-testarch-traceSkill
- bmad-uxSkill
- bmad-v6-story-pipelineSkill
- bmad-validate-prdSkill
- bmad-advanced-elicitationSkill
- bmad-agent-analystSkill
- bmad-agent-architectSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 7 are distinctive, and 15 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
15
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
When invoked, check if the user passed the argument deps (in any position).
- Very specific: line 32
If a <project-path> argument was given, use it as the project root (relative to vault root).
- Distinctive: line 34
If no argument was given:
- Distinctive: line 35
Run git rev-parse --show-toplevel to get the vault root
- Very specific: line 36
Run pwd to get the current working directory
- Very specific: line 38
If the relative path is . or empty (you are at the vault root), ask:
- Distinctive: line 43
Wait for the user's response and use it as the project path.
- Very specific: line 49
Check if <PROJECT_ROOT>/deps.yaml exists.
- Very specific: line 60
Wait for the user's response.
- Very specific: line 63
Read and parse <PROJECT_ROOT>/deps.yaml.
- Very specific: line 80
If not found under PROJECT_ROOT, resolve from vault root (cross-project dependency).
- Very specific: line 81
If neither resolution yields an existing file, store the PROJECT_ROOT-relative form anyway — the file will be flagged as MISSING during …
- Distinctive: line 106
If git diff HEAD --name-only returns no output for the source files, print:
- Very specific: line 140
Read the full content of the dependent file.
- Very specific: line 141
If the file does not exist, note it: MISSING[dependent.file] = true.
- Distinctive: line 157
If the change does not appear to affect the dependent's content (the derived information is unchanged), say: "No update needed — derived …
- Very specific: line 208
Use YYYY-MM-DD = today's date
- Distinctive: line 210
If a dependent file is affected by multiple sources, list it once per source (repeat with different suggestion)
- Distinctive: line 212
If a file was missing (from Step A3), show it with the "File not found" suggestion
- Very specific: line 222
Use Glob to find all files in <PROJECT_ROOT>//* that match any of:
- Very specific: line 246
Wait for the user's response.
- Very specific: line 258
Wait. Store as SOURCE_DESCRIPTION.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- version: 1.0.0 -->tmr-project-impact
Detects changes in declared source-of-truth files within a project and produces a human-readable impact report with per-document suggestions. Nothing is applied automatically — you review and decide.
Usage
/tmr-project-impact— run against the project in the current working directory/tmr-project-impact <project-path>— run against a specific project (path relative to vault root)/tmr-project-impact deps— interactively createdeps.yamlfor the current project/tmr-project-impact <project-path> deps— interactively createdeps.yamlfor a specific project
The vault root is the git repository root. All relative paths in this skill are relative to the vault root unless stated otherwise.
EXECUTION
When invoked, check if the user passed the argument deps (in any position). If so, follow the CREATE-DEPS section. Otherwise, follow these steps in order: LOCATE, DETECT, ANALYZE, REPORT.
LOCATE
Step L1: Resolve the project path
If a <project-path> argument was given, use it as the project root (relative to vault root).
If no argument was given:
- Run
git rev-parse --show-toplevelto get the vault root - Run
pwdto get the current working directory - Compute the relative path from vault root to cwd — this is the project path
- If the relative path is
.or empty (you are at the vault root), ask:
Wait for the user's response and use it as the project path.No project path provided and you are at the vault root. Which project? (e.g., my-company/projects/ai-enablement):
Store as PROJECT_ROOT = <vault-root>/<project-path>.
Step L2: Find and load deps.yaml
Check if <PROJECT_ROOT>/deps.yaml exists.
If it does NOT exist: Print:
No deps.yaml found in <project-path>.
Options:
a) Create deps.yaml interactively → /tmr-project-impact <project-path> deps
b) CancelWait for the user's response. If a, follow the CREATE-DEPS section. If b or anything else, exit.
If it does exist:
Read and parse <PROJECT_ROOT>/deps.yaml.
The format is:
sources:
<relative-path-from-project-root>:
description: "<what this file contains>"
dependents:
- file: <relative-path-from-project-root-or-vault-root>
derives: "<what the dependent takes from this source>"Build a list: SOURCES = all source file paths (absolute, resolved from project root).
Build a map: DEPENDENTS[source] = list of {file: <absolute-path>, derives: <string>}.
To resolve each file path in a dependent entry:
- Attempt to resolve from
PROJECT_ROOTfirst. If the resulting path exists, use it. - If not found under
PROJECT_ROOT, resolve from vault root (cross-project dependency). - If neither resolution yields an existing file, store the
PROJECT_ROOT-relative form anyway — the file will be flagged asMISSINGduring ANALYZE. Store the resolved absolute path.
DETECT
Step D1: Run git diff for all declared sources
From the vault root, run:
git diff HEAD -- <source-file-1> <source-file-2> ...Where each <source-file-N> is the path of a declared source relative to the vault root (i.e., <project-path>/<source-relative-to-project-root>).
Also run:
git diff HEAD --name-only -- <source-file-1> <source-file-2> ...This gives the list of files that actually have changes.
Step D2: Handle no changes
If git diff HEAD --name-only returns no output for the source files, print:
No changes detected in declared sources.
Sources checked:
<source-file-1> (relative to project root)
<source-file-2> (relative to project root)
...
Nothing to report.Stop.
Step D3: Build CHANGED_SOURCES list
CHANGED_SOURCES = the subset of SOURCES that appear in the --name-only output.
For each changed source, store the full diff output (from the first git diff HEAD call).
Print to the user (progress update, not the final report):
Detected changes in N source(s). Analyzing impact...ANALYZE
Step A1: Read all affected dependent files
For each source in CHANGED_SOURCES:
For each dependent in DEPENDENTS[source]:
Read the full content of the dependent file.
If the file does not exist, note it: MISSING[dependent.file] = true.
Step A2: Generate a suggestion per dependent
For each source in CHANGED_SOURCES:
For each dependent in DEPENDENTS[source] (where the file exists):
You have:
- The full diff of the source file (what changed)
- The full content of the dependent file (current state)
- The
derivesfield (what the dependent takes from this source)
Generate a specific, actionable suggestion describing what needs to change in the dependent file:
- Quote or reference the exact section, table, list, or field that is stale
- Describe what the new value should be, based on the diff
- Be concrete: "Line 12 says X, should now say Y" is better than "update participant count"
- If the change does not appear to affect the dependent's content (the derived information is unchanged), say: "No update needed — derived content appears unaffected by this change."
Store as SUGGESTION[source][dependent.file].
Step A3: Handle missing dependent files
For any MISSING file, the suggestion is:
File not found at <path>. Cannot assess impact. Verify the path in deps.yaml is correct.REPORT
Step R1: Count affected documents
AFFECTED_COUNT = total number of distinct dependent files across all changed sources (count each file once even if multiple sources affect it).
Step R2: Print the impact report
Print the report in this exact format:
## Impact Report — YYYY-MM-DD
Project: <project-path>
### Changed sources detected (N)
─── <source-file-relative-to-project-root>
Diff summary: <one sentence describing what changed — e.g., "3 participants removed from BA location", "date for POA session changed from 05/05 to 12/05">
─── <source-file-2> (if applicable)
Diff summary: ...
### Affected documents (AFFECTED_COUNT)
1. <dependent-file-relative-to-project-root>
Derives: <derives field from deps.yaml>
Suggestion: <SUGGESTION[source][dependent.file]>
2. <next-dependent>
Derives: ...
Suggestion: ...
...
─── No changes applied. Review the suggestions above.Rules for the report:
- Use
YYYY-MM-DD= today's date - Order dependent files by source (group all dependents of source 1, then source 2, etc.)
- If a dependent file is affected by multiple sources, list it once per source (repeat with different suggestion)
- For cross-project dependencies, show the path relative to the vault root prefixed with
[cross-project] - If a file was missing (from Step A3), show it with the "File not found" suggestion
CREATE-DEPS
This section runs when the user invokes /tmr-project-impact <project-path> deps or chooses option a when deps.yaml is not found.
Step CD1: Scan for candidate sources
Use Glob to find all files in <PROJECT_ROOT>/**/* that match any of:
*.csv*.json*.yaml/*.yml(excluding deps.yaml itself)*.mdfiles whose content contains a markdown table (scan first 100 lines for| --- |or|---|)
Exclude hidden files (.DS_Store, .obsidian/**, etc.) and binary files.
Step CD2: Present candidate sources
Print:
Creating deps.yaml for <project-path>
Candidate source files found:
[1] <relative-path-from-project-root> (<file-type>)
[2] <relative-path-from-project-root> (<file-type>)
...
Which files are sources of truth that other documents depend on?
Enter numbers separated by commas, or "all":Wait for the user's response. Build SELECTED_SOURCES list.
Step CD3: For each selected source, collect dependents
For each source in SELECTED_SOURCES:
First, ask for a description:
Source: <source-file>
What does this file contain? (one sentence):Wait. Store as SOURCE_DESCRIPTION.
Then, list all markdown files in the project (excluding the source itself):
Which documents depend on <source-file>?
[1] <relative-path-from-project-root>
[2] ...
Enter numbers (comma-separated), paths, or "none":Wait for the user's response. Build SELECTED_DEPENDENTS list.
For each selected dependent, ask:
What does <dependent-file> derive from <source-file>?
(e.g., "participant count by location", "session dates per office"):Wait. Store as DERIVES.
Repeat CD3 for all selected sources.
Step CD4: Write deps.yaml
Assemble the YAML structure and write to <PROJECT_ROOT>/deps.yaml.
Format:
# Dependency manifest for <project-path>
# Generated: YYYY-MM-DD
# Run /tmr-project-impact to detect changes and get impact suggestions.
sources:
<source-relative-path>:
description: "<SOURCE_DESCRIPTION>"
dependents:
- file: <dependent-relative-path>
derives: "<DERIVES>"After writing, print:
deps.yaml created at <project-path>/deps.yaml
Declared sources: N
Total dependencies: M
Run /tmr-project-impact <project-path> to check for changes.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

