docs: Update AI.md to use docs/ subdirectories#21
Conversation
Updates the AI assistant instructions to use new standardized documentation directories: - docs/roadmaps/ - docs/plans/ - docs/specs/ - docs/research/ This ensures that when the 'idk' tool is used, the AI assistants will create documentation in the correct location within the user's project. Also removes direct references to CLAUDE.md and GEMINI.md from the file structure and cross-references sections to generalize the instructions.
🔒 Security Scan Results✅ npm audit - Dependency SecurityNo vulnerable dependencies found.
|
🤖 AI ReviewOf course. Here is a review of the pull request based on your provided information. Pull Request ReviewRepo: Summary of ChangesThis pull request modifies the central AI instruction file, Additionally, it removes explicit, hardcoded references to model-specific files like Strengths of the Implementation
Issues or Concerns
Suggestions for ImprovementTo address the ambiguity concern, I recommend making the instructions slightly more explicit. This will guide the AI more effectively without being overly rigid. Suggestion: Add example filenames in the descriptions to hint at the expected behavior. Update the --- a/AI.md
+++ b/AI.md
@@ -53,10 +53,10 @@
* `information-dense-keywords.md` - The core dictionary content
* `README.md` - Project documentation and usage guide
-* `docs/roadmaps/ROADMAP.md` - Development priorities and future plans
+* `docs/roadmaps/` - Directory for roadmap documents (e.g., `q4-roadmap.md`)
+* `docs/plans/` - Directory for planning documents (e.g., `new-feature-plan.md`)
+* `docs/specs/` - Directory for specifications (e.g., `api-spec-v2.md`)
+* `docs/research/` - Directory for research notes (e.g., `competitor-analysis.md`)
* `examples/` - Usage examples and guides
* `adrs/` - Architecture decision records
* `AI.md` - This shared AI instruction file
@@ -65,10 +65,10 @@
* [information-dense-keywords.md](information-dense-keywords.md) - The core command dictionary
* [README.md](README.md) - Main project documentation
-* [docs/roadmaps/ROADMAP.md](docs/roadmaps/ROADMAP.md) - Development roadmap and priorities
+* [docs/roadmaps/](docs/roadmaps/) - Directory for roadmap documents
+* [docs/plans/](docs/plans/) - Directory for planning documents
+* [docs/specs/](docs/specs/) - Directory for specifications
+* [docs/research/](docs/research/) - Directory for research notes
* [examples/ai-usage-guide.md](examples/ai-usage-guide.md) - AI usage examples
This small change provides a clear hint to the AI about its task: "Create a new file with a descriptive name inside this directory." Review Checklist
Overall RecommendationRequest Changes This is a valuable improvement that enhances the project's structure and scalability for AI collaboration. The proposed changes are minor but will significantly improve the clarity of the instructions for the AI assistant, reducing the risk of errors or ambiguous behavior. Once the suggested improvements for clarity are incorporated, I would be happy to approve this PR. This review was automatically generated by |
This reverts commit 3ce6015.
Updates the documentation to reference conceptual 'docs/' subdirectories for roadmaps, plans, specs, and research. This provides a clear structure for AI assistants to follow when creating these documents in a user's project. - Updates 'AI.md' with the new conceptual directory structure. - Updates links in 'README.md', 'GEMINI.md', 'CONTRIBUTING.md', and 'CLAUDE.md' to point to the new directory structure. - Removes direct references to 'CLAUDE.md' and 'GEMINI.md' from 'CONTRIBUTING.md' to generalize the instructions. - Modifies 'link-validation.test.js' and 'dictionary-validator.test.js' to ignore links to the conceptual 'docs/' directories, allowing the test suite to pass while maintaining the desired documentation structure for end-users.
🔒 Security Review ReportThis report contains the results of automated security scans. ✅ No security issues found by Bandit ✅ No vulnerable dependencies found by Safety No Semgrep results found. ✅ No vulnerabilities found by npm audit Report generated automatically by security review workflow |
🤖 AI ReviewOf course. Here is a detailed review of the pull request. Pull Request ReviewPR Title: Update Overall Recommendation: Approve with Suggestions This is a well-intentioned and mostly well-executed pull request that improves the structure and guidance for AI assistants. The changes are logical and contribute to better organization. There are a few minor areas for improvement, primarily around developer experience and test code clarity. 1. Summary of ChangesThis pull request refactors the project's documentation to guide AI assistants into creating new documents (roadmaps, plans, specs, etc.) within standardized directories ( To support this change:
2. Strengths of the Implementation
3. Issues and ConcernsPotential Bugs or Issues
Security Concerns
Performance Implications
4. Test Coverage
5. Documentation Updates NeededThe pull request is a documentation update, but it introduces a new convention that should be documented for human contributors.
6. Suggestions for Improvement
Overall, this is a solid contribution. I recommend implementing the suggestions above to improve clarity and developer experience before merging. This review was automatically generated by |
|
I have addressed the feedback and fixed the test suite failures. Changes:
All tests are now passing. The pull request is ready for review. |
This commit addresses the feedback from the AI review on PR #21. - Updates 'AI.md' to include example filenames in the descriptions for the conceptual 'docs/' directories. This provides clearer instructions for AI assistants. - Adds a note to 'README.md' to clarify that the 'docs/' links are placeholders for AI-generated content and are not expected to exist in the source repository. - Simplifies the test logic in 'link-validation.test.js' for better readability and to correctly handle the conceptual 'docs/' links.
|
I've addressed the AI review feedback.
All changes have been implemented and the tests are passing. |
🤖 AI ReviewOf course. Here is a detailed review of the provided pull request. Pull Request ReviewPR Title: Update Summary of Changes: 1. Code Quality and Best PracticesStrengths
Suggestions
2. Potential Bugs or IssuesI see no major bugs introduced by this change. The primary risk—broken link validation—has been correctly addressed. One minor concern is the simplification of the 3. Security ConcernsThere are no security concerns in this pull request. The changes are limited to documentation files and test scripts that validate local file paths. 4. Performance ImplicationsThere are no performance implications. The changes to the test scripts add a negligible string comparison operation, which will not impact test execution time in any meaningful way. 5. Test CoverageThe test coverage is being intentionally and correctly modified. The PR adapts the tests to ignore links that are expected to be broken in the source repository. This is not a reduction in useful coverage but rather an alignment of the tests with the project's new conventions. The tests will still correctly catch unintentionally broken links that do not match the ignored patterns. 6. Documentation Updates NeededThe documentation has been updated well.
SuggestionIn Current: - `AI.md` contains shared instructions for all AI assistants
- Update this file when dictionary changes affect AI behaviorSuggested Improvement: - `AI.md` contains shared instructions for all AI assistants.
- Model-specific files (e.g., `CLAUDE.md`, `GEMINI.md`) contain platform-specific guidance.
- Update these files when dictionary changes affect AI behavior.This retains the knowledge of the pattern without explicitly listing every file. Overall RecommendationApprove with suggestions. This is a high-quality pull request that successfully achieves its stated goal. The changes are logical, well-implemented, and consider the impact on the CI/CD pipeline. The suggestions provided are minor and aimed at improving long-term maintainability and contributor guidance. The author can merge this as-is, but incorporating the suggestions would make it even better. Summary of Recommendations:
This review was automatically generated by |
This commit addresses the feedback from the AI review on PR #21. - Refactors the link-skipping logic in the test suite into a shared helper function in 'tests/lib/link-helper.js' to avoid duplication and improve maintainability. - Adds comments to the test files to explain why 'docs/' links are skipped during validation. - Updates 'CONTRIBUTING.md' to restore the pattern for model-specific files, making it clearer for future contributors.
|
I've addressed the latest round of feedback:
All changes have been implemented and the tests are passing. |
|
🎉 This PR is included in version 1.7.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This pull request updates the
AI.mdfile to standardize the documentation paths used by AI assistants.Changes:
File StructureandCross-Referencessections inAI.mdhave been updated to point to the following directories for storing documentation:docs/roadmaps/docs/plans/docs/specs/docs/research/CLAUDE.mdandGEMINI.mdhave been removed from the sharedAI.mdto make the instructions more general.This change addresses the need to guide AI assistants on where to create files when the
idkpackage is used, without creating those directories in the source repository itself.