Skip to content

Consolidate rules into CLAUDE.md and fix broken agent paths#85

Merged
RenanGBarreto merged 2 commits into
mainfrom
fix-agentic-coding
Jul 7, 2026
Merged

Consolidate rules into CLAUDE.md and fix broken agent paths#85
RenanGBarreto merged 2 commits into
mainfrom
fix-agentic-coding

Conversation

@RenanGBarreto

@RenanGBarreto RenanGBarreto commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Consolidate rules into CLAUDE.md and fix broken agent paths

🤔 Why?

  • The project carried a separate .claude/rules/ folder with four small markdown files plus stale .agents/... path references in CLAUDE.md that pointed to folders/symlinks that no longer exist (.agents/, AGENTS.md, MEMORY.md).
  • Skills had drifted: the HTML report template path was wrong, and several skills duplicated checklists and templates that bloat agent context without adding signal.

🔧 What changed

  • Migrated .agents/.claude/ as the single home for skills and rules; removed the old .agents/ tree, AGENTS.md, and .pi symlink.
  • Folded the four rule files into CLAUDE.md as compact sections (Writing Style, PyPI Packaging, Worktree Map) and deleted the .claude/rules/ folder — simpler project, smaller context footprint.
  • Fixed every broken path: all .agents/... pointers now read .claude/...; removed references to non-existent AGENTS.md and MEMORY.md.
  • Updated the worktree map to reflect the gui.pygui/ package split (from Split the monolith gui.py into a focused package #84) and added the Token efficiency section that previously lived only in AGENTS.md.
  • Fixed the HTML report template path to its real location under .claude/skills/html-report-builder/assets/.
  • Trimmed every skill SKILL.md: dropped duplicated checklists, inlined redundant HTML templates, and collapsed overlapping guidance sections.
  • Net reduction of ~234 lines while keeping all the substance.

🧪 How to test

  • No code or behavior changes; docs/config only.
  • Verify paths resolve: cat .claude/skills/html-report-builder/assets/report-template.html and grep CLAUDE.md for .agents (should be empty).

💬 Notes for non-technical readers

  • This is a cleanup of the files AI coding agents read when working in this repo. Nothing the user sees or runs changes — the same guidance is just shorter, in one place, and no longer points at folders that don't exist.

Migrate from .agents/ to .claude/ as the single skills/rules home:
- Fold the four .claude/rules/*.md files into CLAUDE.md as compact
  sections (Writing Style, PyPI Packaging, Worktree Map) and delete
  the rules/ folder to simplify the project.
- Fix every stale .agents/... path in CLAUDE.md to .claude/...
- Remove references to non-existent AGENTS.md symlink and MEMORY.md.
- Add missing modules (gui.py, gui/) to the worktree map.
- Fix the html-report-builder template path to its real location
  under .claude/skills/html-report-builder/assets/.
- Trim and tighten all skill SKILL.md files: drop duplicated
  checklists, inline HTML templates, and redundant guidance.
- Net reduction of ~234 lines while keeping all substance.
Copilot AI review requested due to automatic review settings July 7, 2026 04:51
Resolve modify/delete conflict on AGENTS.md by keeping the deletion
(CLAUDE.md is the canonical home). Fold main's new Token efficiency
section into CLAUDE.md. Update worktree map to reflect the gui.py ->
gui/ package split from PR #84.
@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: Python

Python / code-coverage/pytest

The overall coverage remains at 74%, unchanged from the branch.


Code Coverage is in Public Preview. Learn more and provide us with your feedback.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Consolidates agent-facing repo guidance by removing legacy .agents/ / AGENTS.md content, standardizing on .claude/ as canonical home for skills, and expanding/refreshing the Related Projects reference corpus used for PKG/PFS/exFAT research.

Changes:

  • Remove legacy AGENTS.md + old .agents/rules/* and .agents/skills/* trees.
  • Add/refresh .claude/skills/*/SKILL.md skills (tests, PR writing, report builder, related-project add/index).
  • Add multiple .claude/skills/related-projects-index/references/*.md reference notes and update the index formatting.

Reviewed changes

Copilot reviewed 17 out of 33 changed files in this pull request and generated no comments.

Show a summary per file
File Description
AGENTS.md Removes legacy duplicated development-guideline content.
.claude/skills/running-unit-tests/SKILL.md Adds canonical test/format/lint workflow guidance under .claude/.
.claude/skills/related-projects-index/SKILL.md Cleans up index phrasing/format and points to references/.
.claude/skills/related-projects-index/references/wololo-fpkg-flatz.md Adds upstream reference note.
.claude/skills/related-projects-index/references/tlou-psarc-tool.md Adds upstream reference note (contains local-path mention to fix).
.claude/skills/related-projects-index/references/shadpkg-howworks.md Adds upstream reference note.
.claude/skills/related-projects-index/references/shadowmountplus.md Adds upstream reference note.
.claude/skills/related-projects-index/references/psdevwiki-pkg-files.md Adds upstream reference note.
.claude/skills/related-projects-index/references/psdevwiki-pfs.md Adds upstream reference note.
.claude/skills/related-projects-index/references/ps5-game-compressor.md Adds upstream reference note.
.claude/skills/related-projects-index/references/pkgtool.md Adds upstream reference note.
.claude/skills/related-projects-index/references/pkg-passcode-finder.md Adds upstream reference note (contains local-path mention to fix).
.claude/skills/related-projects-index/references/oodle-kraken-tools.md Adds upstream reference note.
.claude/skills/related-projects-index/references/liborbispkg.md Adds upstream reference note.
.claude/skills/related-projects-index/references/liborbispkg-wiki.md Adds upstream reference note.
.claude/skills/related-projects-index/references/kstuff-lite.md Adds upstream reference note.
.claude/skills/related-projects-index/references/goodle.md Adds upstream reference note (contains local-path mention to fix).
.claude/skills/related-project-add/SKILL.md Adds canonical workflow for adding related-project entries.
.claude/skills/pr-and-commit-writing/SKILL.md Adds canonical public-text guidance for commits/PRs/comments.
.claude/skills/html-report-builder/SKILL.md Adds canonical HTML-report workflow guidance.
.claude/skills/html-report-builder/assets/report-template.html Adds report template at new canonical path.
.agents/skills/running-unit-tests/SKILL.md Removes legacy skill copy under .agents/.
.agents/skills/related-project-add/SKILL.md Removes legacy skill copy under .agents/.
.agents/skills/pr-and-commit-writing/SKILL.md Removes legacy skill copy under .agents/.
.agents/skills/html-report-builder/SKILL.md Removes legacy skill copy under .agents/.
.agents/rules/writing-style.md Removes legacy rule file under .agents/.
.agents/rules/worktree.md Removes legacy rule file under .agents/.
.agents/rules/tmp-usage.md Removes legacy rule file under .agents/.
.agents/rules/pypi-project-guidelines.md Removes legacy rule file under .agents/.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@RenanGBarreto RenanGBarreto merged commit f4a64b3 into main Jul 7, 2026
12 checks passed
@RenanGBarreto RenanGBarreto deleted the fix-agentic-coding branch July 7, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants