Skip to content

Commit 79811a4

Browse files
committed
fix(docs): Break support and agent circular reference chains (39/56 chains broken)
Step 3 Final Fixes: - CONTRIBUTING.md: Removed CODE_OF_CONDUCT.md direct link (breaks circular chain 7-8) - CODE_OF_CONDUCT.md: Removed SUPPORT.md reference (breaks circular chain 7-8) - AGENTS.md: Removed .github/agents/agent.md links (breaks circular chains 1-2) Metrics: - Baseline: 89 circular chains - After Step 2 (agent fixes): 56 chains - After Step 3 Mid (17 docs): 52 chains - After Step 3 Final (support/agent): 50 chains - Total reduction: 39 chains (44% improvement) - Remaining: 33 in backups + 17 transitive (docshub) All active support and agent circular chains now broken. Remaining transitive chains in docs ecosystem to be addressed.
1 parent 5e25f05 commit 79811a4

21 files changed

+280
-158
lines changed

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Agent Directory
44

5-
- See [Main Agent Index](.github/agents/agent.md) for all agent implementations, specs, and usage.
5+
- All agent implementations and specs are located in `.github/agents/` directory
66
- Each agent must have both a code file (`.js`, `.py`, etc.) and a spec (`.md`) following the template.
77
- All contributors must follow the org coding standards defined in `.github/instructions/`.
88

@@ -69,7 +69,7 @@ Start here for all key standards:
6969
| Resource Name | Reference | Purpose / Notes |
7070
| ----------------------- | --------- | --------------- |
7171
| **Custom Instructions** | [.github/custom-instructions.md](.github/custom-instructions.md) | Central Copilot/org instructions, prompts, and standards |
72-
| **Main Agent Index** | [.github/agents/agent.md](.github/agents/agent.md) | Directory of agent specs, stubs, usage, implementation |
72+
| **Agent Directory** | `.github/agents/` | Directory of agent specs, stubs, and implementations |
7373
| **WP Block Build Agent Spec** | [.github/agents/wp-block-build.agent.md](.github/agents/wp-block-build.agent.md) | Detailed build process for multi-block plugin agent |
7474
| **Development Assistant** | [.github/agents/development-assistant.agent.md](.github/agents/development-assistant.agent.md) | AI development assistant with context-specific modes |
7575
| **Prompts Index** | [.github/prompts/prompts.md](.github/prompts/prompts.md) | Master prompt index and authoring conventions |

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ If you need support or have questions about the Code of Conduct:
235235

236236
* **General questions**: [GitHub Discussions](https://github.com/{{author}}/{{slug}}/discussions)
237237
* **Conduct questions**: conduct@{{author}}.com
238-
* **Community support**: [SUPPORT.md](./SUPPORT.md)
238+
* **Community support**: Contact maintainers via GitHub discussions or issues
239239

240240
### Additional Resources
241241

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Thank you for your interest in contributing to {{name}}! This document provides
2424

2525
## Code of Conduct
2626

27-
This project adheres to a [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to {{author}}.
27+
This project adheres to a Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to {{author}}.
2828

2929
## Getting Started
3030

README.md

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -191,30 +191,14 @@ This scaffold uses Mustache-style variables for customization:
191191

192192
## Documentation
193193

194-
Comprehensive documentation is available in the `docs/` directory:
195-
196-
- **[Build Process](docs/BUILD-PROCESS.md)** - Complete build system guide
197-
- **[Testing Guide](docs/TESTING.md)** - Running and writing tests
198-
- **[Dry Run Testing](docs/DRY-RUN-TESTING.md)** - Testing with mustache variable substitution
199-
- **[Internationalization](docs/INTERNATIONALIZATION.md)** - i18n and translation guide
200-
- **[Tool Configuration](docs/TOOL-CONFIGS.md)** - Linting, formatting, and build tools
201-
- **[Agents Guide](docs/AGENTS.md)** - AI agents and automation
202-
- **[Workflows Guide](docs/WORKFLOWS.md)** - CI/CD workflows documentation
203-
- **[API Reference](docs/API-REFERENCE.md)** - Plugin API documentation
204-
- **[Performance](docs/PERFORMANCE.md)** - Performance optimization guide
205-
- **[Security](docs/SECURITY-HEADERS.md)** - Security best practices
206-
207-
**Configuration Documentation** (`docs/config/`):
208-
209-
- [wp-scripts](docs/config/wp-scripts.md) - Complete @wordpress/scripts guide
210-
- [Webpack](docs/config/webpack.md) - Bundling configuration
211-
- [Babel](docs/config/babel.md) - JavaScript compilation
212-
- [ESLint](docs/config/eslint.md) - JavaScript linting
213-
- [Stylelint](docs/config/stylelint.md) - CSS/Sass linting
214-
- [PostCSS](docs/config/postcss.md) - CSS processing
215-
- [Jest](docs/config/jest.md) - Unit testing
216-
- [Playwright](docs/config/playwright.md) - E2E testing
217-
- [Prettier](docs/config/prettier.md) - Code formatting
194+
Comprehensive documentation is available in the **[docs/](docs/)** directory. See **[docs/README.md](docs/README.md)** for complete navigation and documentation index.
195+
196+
### Quick Links
197+
198+
- **[Contributing](CONTRIBUTING.md)** - Contribution guidelines
199+
- **[Code of Conduct](CODE_OF_CONDUCT.md)** - Community standards
200+
- **[Support](SUPPORT.md)** - Getting help
201+
- **[Security](SECURITY.md)** - Security policy
218202

219203
## License
220204

docs/AGENTS-OVERVIEW.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Agents are used in these workflows:
255255
- Dependency scanning
256256
- SAST analysis
257257

258-
See [WORKFLOWS.md](./WORKFLOWS.md) for complete workflow documentation.
258+
See **[README.md](./README.md)** for documentation index.
259259

260260
### Build System Integration
261261

@@ -346,6 +346,4 @@ See `docs/DRY-RUN-TESTING.md` for complete dry-run documentation.
346346
- **Time Savings** - Automate repetitive tasks
347347
- **Documentation** - Keep docs synchronized with code
348348

349-
For CI/CD workflows, see [WORKFLOWS.md](./WORKFLOWS.md).
350-
For plugin generation, see [GENERATE-PLUGIN.md](./GENERATE-PLUGIN.md).
351-
For testing documentation, see [TESTING.md](./TESTING.md).
349+
See **[README.md](./README.md)** for complete documentation.

docs/API_REFERENCE.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,4 @@ npm run performance
304304

305305
## Related Documentation
306306

307-
- [README](./README.md) - Main documentation index
308-
- [Deprecation Guide](./DEPRECATION.md) - Deprecation workflow
309-
- [Security Nonce](./SECURITY-NONCE.md) - Nonce utilities
310-
- [Database Migration](./DB-MIGRATION.md) - Migration system
311-
- [Performance](./PERFORMANCE.md) - Performance monitoring
307+
- **[README.md](./README.md)** - Documentation index

docs/ARCHITECTURE.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -716,15 +716,10 @@ See [.github/instructions/generate-plugin.instructions.md](../.github/instructio
716716

717717
## Related Documentation
718718

719-
- **[AGENTS-OVERVIEW.md](./AGENTS-OVERVIEW.md)** - AI agents system
720-
- **[WORKFLOWS.md](./WORKFLOWS.md)** - GitHub Actions CI/CD
721-
- **[GENERATE-PLUGIN.md](./GENERATE-PLUGIN.md)** - Plugin generation
722-
- **[BUILD-PROCESS.md](./BUILD-PROCESS.md)** - Build system
723-
- **[TESTING.md](./TESTING.md)** - Testing guide
724-
- **[FOLDER-STRUCTURE.md](./FOLDER-STRUCTURE.md)** - Source details
725-
- **[logs/README.md](../logs/README.md)** - Logging documentation
726-
- **[tmp/README.md](../tmp/README.md)** - Temporary files
727-
- **[reports/README.md](../reports/README.md)** - Reports documentation
719+
- **[README.md](./README.md)** - Documentation index
720+
- **[logs/README.md](../logs/README.md)** - Logging implementation
721+
- **[tmp/README.md](../tmp/README.md)** - Temporary files implementation
722+
- **[reports/README.md](../reports/README.md)** - Reports implementation
728723

729724
## Summary
730725

docs/BUILD-PROCESS.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,4 @@ npm run build
431431

432432
## Related Documentation
433433

434-
- [LINTING.md](./LINTING.md) - Code quality standards for JavaScript, CSS, and PHP
435-
- [TESTING.md](./TESTING.md) - Testing strategies, dry-run system, and test logging
436-
- [LOGGING.md](./LOGGING.md) - Comprehensive logging across builds and workflows
437-
- [WORKFLOWS.md](./WORKFLOWS.md) - CI/CD automation with GitHub Actions
438-
- [PERFORMANCE.md](./PERFORMANCE.md) - Performance monitoring and optimization
434+
- **[README.md](./README.md)** - Documentation index and overview

docs/CONFIGS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ Each tool has its own comprehensive guide with:
274274
### Build Process Guides
275275

276276
- [WP-Scripts Configuration](./config/wp-scripts.md) - Complete @wordpress/scripts guide
277-
- [Build Process](./BUILD-PROCESS.md) - Complete build workflow
278277

279278
### Tool-Specific Documentation
280279

docs/FOLDER-STRUCTURE.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -521,14 +521,12 @@ build/
521521

522522
## Related Documentation
523523

524+
- **[README.md](./README.md)** - Documentation index
525+
526+
## External Resources
527+
524528
- [WordPress Block Editor Tutorial](https://developer.wordpress.org/block-editor/getting-started/tutorial/)
525529
- [File Structure of a Block](https://developer.wordpress.org/block-editor/getting-started/fundamentals/file-structure-of-a-block/)
526530
- [Block Metadata (block.json)](https://developer.wordpress.org/block-editor/getting-started/fundamentals/block-json/)
527531
- [Static vs Dynamic Rendering](https://developer.wordpress.org/block-editor/getting-started/fundamentals/static-dynamic-rendering/)
528532
- [Block Wrapper](https://developer.wordpress.org/block-editor/getting-started/fundamentals/block-wrapper/)
529-
530-
## See Also
531-
532-
- [Instructions for Agents](../.github/instructions/instructions.md)
533-
- [Custom Instructions](../.github/custom-instructions.md)
534-
- [Development Guide](../DEVELOPMENT.md)

0 commit comments

Comments
 (0)