# Repo Structure Gitignore Enforcement Root Level Output Artifacts

> Sub-skill of repo-structure: Gitignore Enforcement: Root-Level Output Artifacts.

- Skill: `vamseeachanta/repo-structure-gitignore-enforcement-root-level-output-artif` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/repo-structure-gitignore-enforcement-root-level-output-artif`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/repo-structure-gitignore-enforcement-root-level-output-artif/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/repo-structure-gitignore-enforcement-root-level-output-artif

---


# Gitignore Enforcement: Root-Level Output Artifacts

## Gitignore Enforcement: Root-Level Output Artifacts


**NEVER commit output files to repo root.** These patterns must be gitignored, not tracked:

| Pattern | Wrong location | Correct location |
|---------|---------------|-----------------|
| `report_*.xlsx` | repo root | `results/<domain>/` (and gitignored) |
| `test_export*.json` | repo root | `tests/<domain>/fixtures/` or gitignored |
| `COVERAGE_ANALYSIS.txt` | repo root | `reports/coverage/` (gitignored) |
| `analyze_coverage.py` | repo root | `scripts/analysis/analyze_coverage.py` |
| `*.wrk*.xml` | repo root | gitignored (session artifacts) |
| `verdict.txt` | repo root | gitignored (session artifact) |

If a file of this type is already committed: `git rm --cached <file>` then add to `.gitignore`.

---

