my_pm_tools
CLAUDE.md1 starsChanged 8 months agoMITView on GitHub
Maintain and extend the my_pm_tools skill. PM assistant for GitHub Projects V2 with 3 modes: Before writing or modifying any code in this project, MUST read: This prevents structural drift, as cast regression, circular imports, and pattern-breaking changes. Skip this gate only for documentation-only edits.
In this repository7 other files it gives its agents.
- my_pm_toolsSkill
- ci-cd-pipelineSkill
- code-qualitySkill
- git-workflowSkill
- project-setup-automationSkill
- typescript-best-practicesSkill
- workspace-bridgeSkill
The file
We split this CLAUDE.md into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Before writing or modifying any code in this project, MUST read:
- Distinctive: line 78
When modifying labels, statuses, views, or fields, always update simultaneously:
- Distinctive: line 119
Before proposing new features or direction changes:
- Very specific: line 121
Read memory/north-star.md — does this serve the Mission?
- Very specific: line 122
Check memory/DECISION-LOG.md — was this already decided or rejected?
- Distinctive: line 123
Verify against Non-Goals — does this conflict with what we explicitly don't do?
- Distinctive: line 127
When the user abandons a decision, direction, or feature:
- Very specific: line 133
If replaced: create new ADR, set old ADR's superseded_by field
- Distinctive: line 134
Verify: no stale references remain in Hot Memory layer
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md 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
CLAUDE.md
Purpose
Maintain and extend the my_pm_tools skill.
PM assistant for GitHub Projects V2 with 3 modes:
- Mode A: Environment setup (14 statuses, 6 views, 13 labels, templates, workflows;
--liteoption: 8/3/5) - Mode B: Daily operations (Issue/PR creation, status changes, backlog management)
- Mode C: Analytics (Sprint reports, velocity tracking)
Pre-Coding Gate (MANDATORY)
Before writing or modifying any code in this project, MUST read:
.claude/rules/codebase-integrity.md— Architecture patterns, type safety rules, shell conventions, test patterns, naming conventions, change checklist- This file (CLAUDE.md) — Project structure, Five-File Sync Rule, key commands
docs/new-tool-onboarding.md— New external API tool onboarding process (bloodline connectivity gate)
This prevents structural drift, as cast regression, circular imports, and pattern-breaking changes. Skip this gate only for documentation-only edits.
Language Rules
- Documentation, UI, communication: Japanese (default)
- Code (variables, comments, commits, PR): English
- Shell scripts: English comments preferred, Japanese output strings OK
Project Structure
my_pm_tools/
├── SKILL.md # Skill definition (3-mode architecture)
├── README.md / README.en.md # User-facing documentation
├── CLAUDE.md # Project instructions (this file)
├── CONTRIBUTING.md # Contribution guidelines
├── scripts/
│ ├── setup-all.sh # Mode A: Full environment setup
│ ├── setup-labels.sh # Mode A: 13 labels
│ ├── setup-fields.sh # Mode A: Custom fields
│ ├── setup-status.sh # Mode A: 14 status options
│ ├── setup-views.sh # Mode A: 5 views
│ ├── setup-templates.sh # Mode A: Template auto-deploy
│ ├── project-ops.sh # Mode B: Issue/PR/status operations
│ ├── migrate-import.sh # CSV import (Jira/Linear/Notion)
│ └── sprint-report.sh # Mode C: Sprint analytics
├── src/ # MCP Server (TypeScript)
│ ├── index.ts # Entry point (stdio transport)
│ ├── server.ts # Server factory
│ ├── graphql/ # GraphQL client, queries, mutations
│ ├── tools/ # 31 MCP tools
│ │ ├── issue-sync/ # Issue Sync tools (3: scan-zombies, scan-todos, backlog-report)
│ │ ├── notion/ # Notion API tools (7: search, get-page, query-db, create-page, append-blocks, update-page, archive-page)
│ │ ├── workspace/ # Google Workspace tools (9: drive, docs, sheets, slides, calendar, gmail, update-sheet, append-sheet, create-event)
│ │ └── *.ts # GitHub Project tools (12: list-fields, list-items, add-item, create-issue, etc.)
│ ├── schemas/ # Zod input schemas
│ └── types/ # TypeScript type definitions
├── templates/ # Files to copy into TARGET repos
├── skills/ # 8 reusable sub-skills
├── docs/ # Detailed documentation
├── tests/ # 502 Playwright regression tests
│ ├── skill/ # Skill validation (3 files: structure, content, validation)
│ ├── mcp/ # MCP tool/schema/server tests (72+ workspace tests)
│ └── scenarios/ # Scenario tests (47+ tests, incl. PM + cross-service workflows)
└── .github/ # CI/CD for THIS repoTech Stack
- Skill definition: Markdown (SKILL.md, 3-mode architecture)
- MCP Server: TypeScript + @modelcontextprotocol/sdk + @octokit/graphql + Zod
- Automation: Shell scripts (bash, gh CLI, GraphQL) — 9 scripts, 1,498 lines
- Tests: Playwright + TypeScript (strict mode) — 502 tests
- Code quality: ESLint + Prettier + Husky + lint-staged
- CI: GitHub Actions (lint, typecheck, format:check, shellcheck, test)
Five-File Sync Rule (CRITICAL)
When modifying labels, statuses, views, or fields, always update simultaneously:
- SKILL.md — mode sections and command references
- README.md — overview tables and script list
- scripts/*.sh — automation scripts
- docs/*.md — detailed documentation
- tests/skill-structure.spec.ts — regression tests
Verify before commit:
npm run quality && npm testKey Distinction: templates/ vs .github/
templates/— files to copy into target repos that users set up with this skill.github/— CI/CD and templates for this repo's own development
Key Commands
npm test # Run 502 regression tests
npm run quality # lint + typecheck + format:check
npm run build # Build MCP server to dist/
npm run format # Auto-format all files
shellcheck scripts/*.sh # Validate shell scriptsMemory Architecture (3-Layer)
This project uses a structured knowledge management system to maintain strategic alignment across sessions.
| Layer | Location | Purpose | Size Limit |
| Hot | CLAUDE.md + MEMORY.md | Always loaded. Mission, active rules, current state | 200 lines each |
| Warm | memory/decisions/, memory/*.md | Task-linked. ADRs, preferences, learnings | No limit |
| Cold | HANDOFF.md, docs/, Sprint history | On-demand archive. Past sessions, detailed docs | No limit |
Strategic Alignment Check
Before proposing new features or direction changes:
- Read
memory/north-star.md— does this serve the Mission? - Check
memory/DECISION-LOG.md— was this already decided or rejected? - Verify against Non-Goals — does this conflict with what we explicitly don't do?
Deprecation Protocol (CRITICAL)
When the user abandons a decision, direction, or feature:
- Never delete the ADR — mark status as
abandonedorsuperseded - Record the reason in 1-2 sentences (why it was stopped)
- Update
memory/DECISION-LOG.mdsummary table - Remove related content from this CLAUDE.md file
- If replaced: create new ADR, set old ADR's
superseded_byfield - Verify no stale references remain in Hot Memory layer
This prevents "memory pollution" where outdated decisions mislead future sessions.
Decision Classification (Bezos Framework)
- Type 1 (one-way door): Irreversible. Require careful deliberation and new ADR to reverse.
- Type 2 (two-way door): Reversible. Can be changed cheaply. Decide fast with ~70% information.
GitHub
- Remote:
git@github.com:fideguch/my_pm_tools.git - Default branch: main
- Default account: fideguch
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.

