Skip to content

chore: regenerate agent instructions with Ruler#39

Merged
shunkakinoki merged 1 commit into
mainfrom
chore/regenerate-agent-instructions
Jan 10, 2026
Merged

chore: regenerate agent instructions with Ruler#39
shunkakinoki merged 1 commit into
mainfrom
chore/regenerate-agent-instructions

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Jan 10, 2026

Copy link
Copy Markdown
Owner

Changes

  • Updated all agent instruction files (.cursor, .windsurf, .junie, etc.)
  • Renamed rules.code-workspace to dotagents.code-workspace
  • Applied workspace file reference rule changes

Technical Details

  • Ran pnpm run ruler:apply to regenerate instruction files
  • Ensured workspace files no longer reference ../dotagents directory

Testing

  • pnpm run ruler:check passed with clean tree

🤖 Generated with opencode by Claude


Summary by cubic

Regenerated all agent instruction files with Ruler and updated workspace rules to stop referencing ../dotagents. Renamed the workspace and standardized MCP configs for consistency across editors.

  • Refactors

    • Regenerated agent instruction files (.cursor, .windsurf, .junie, etc.).
    • Renamed rules.code-workspace to dotagents.code-workspace.
    • Updated rule text and docs to forbid ../dotagents references.
    • Standardized MCP server configs across editors; expanded args arrays.
    • Expanded .gitignore and renamed package to @shunkakinoki/dotagents.
    • pnpm run ruler:check passes clean.
  • Migration

    • Use dotagents.code-workspace going forward.
    • Remove any "../dotagents" folders from custom workspace files.

Written for commit a36d8f2. Summary will update on new commits.

- Updated all agent instruction files (.cursor, .windsurf, .junie, etc.)
- Renamed rules.code-workspace to dotagents.code-workspace
- Applied workspace file reference rule changes
Copilot AI review requested due to automatic review settings January 10, 2026 18:54
@coderabbitai

coderabbitai Bot commented Jan 10, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Summary by CodeRabbit

Release Notes

  • Configuration Updates

    • Renamed project identifier from "rules" to "dotagents" across workspace configurations and documentation.
    • Updated workspace folder references and example configurations to reflect new directory structure.
    • Added new MCP server integrations: Linear, GitHub, Figma, Beeper, Codex, ChromeDevtools, Context7.
    • Reformatted MCP configuration arrays for improved readability.
  • Documentation

    • Updated README and instruction files with directory naming changes.
  • Chores

    • Expanded build environment ignore patterns for better development workflows.

✏️ Tip: You can customize this high-level summary in your review settings.

Walkthrough

This pull request systematically renames directory references from "rules" to "dotagents" across documentation, configuration files, and package metadata. Additionally, JSON MCP configuration arrays are reformatted to multi-line format, and comprehensive Python-related patterns are added to .gitignore.

Changes

Cohort / File(s) Summary
Documentation/Instruction Files: Directory References
.augment/rules/ruler_augment_instructions.md, .clinerules, .cursor/rules/ruler_cursor_instructions.mdc, .github/copilot-instructions.md, .goosehints, .idx/airules.md, .junie/guidelines.md, .kilocode/rules/ruler_kilocode_instructions.md, .openhands/microagents/repo.md, .ruler/workspace-file-references.md, .windsurf/rules/ruler_windsurf_instructions.md, AGENT.md, AGENTS.md, CLAUDE.md, CRUSH.md, GEMINI.md, ruler_aider_instructions.md
Updated workspace file references from ../rules to ../dotagents directory. Replaced all mentions of "rules directory" with "dotagents directory" in rule text, JSON examples, and rationale sections.
MCP Configuration Formatting
.crush.json, .cursor/mcp.json, .gemini/settings.json, .kilocode/mcp.json, .mcp.json, .vscode/mcp.json, opencode.json
Reformatted JSON args arrays from single-line to multi-line layout with proper indentation. No changes to argument values or order; purely syntactic formatting adjustments.
Package Metadata Update
package.json
Updated package name field from @shunkakinoki/rules to @shunkakinoki/dotagents.
VSCode MCP Server Expansion
.vscode/settings.json
Added seven new MCP sources (Linear, GitHub, Figma, Beeper, Codex, ChromeDevtools, Context7) while preserving existing entries and reformatting with multi-line array layout.
Ignore Pattern Expansion
.gitignore
Added comprehensive Python-specific ignore patterns: virtual environments (venv/, env/), build artifacts (build/, dist/), cache files (\\*.pyc, __pycache__/), test coverage, and tool-specific directories (pytest, mypy, pyre, ruff, PyCharm, MkDocs, etc.).
Root Documentation
README.md
Changed heading from # rules to # dotagents.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 From rules to dotagents we hop and we roam,
Configuration and docs find their new home,
JSON arrays aligned in multi-line grace,
Python ignores find their proper place,
A refactor complete, the project's reborn! ✨

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/regenerate-agent-instructions

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 46aac57 and a36d8f2.

📒 Files selected for processing (29)
  • .augment/rules/ruler_augment_instructions.md
  • .clinerules
  • .crush.json
  • .cursor/mcp.json
  • .cursor/rules/ruler_cursor_instructions.mdc
  • .gemini/settings.json
  • .github/copilot-instructions.md
  • .gitignore
  • .goosehints
  • .idx/airules.md
  • .junie/guidelines.md
  • .kilocode/mcp.json
  • .kilocode/rules/ruler_kilocode_instructions.md
  • .mcp.json
  • .openhands/microagents/repo.md
  • .ruler/workspace-file-references.md
  • .vscode/mcp.json
  • .vscode/settings.json
  • .windsurf/rules/ruler_windsurf_instructions.md
  • AGENT.md
  • AGENTS.md
  • CLAUDE.md
  • CRUSH.md
  • GEMINI.md
  • README.md
  • dotagents.code-workspace
  • opencode.json
  • package.json
  • ruler_aider_instructions.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@shunkakinoki
shunkakinoki enabled auto-merge (squash) January 10, 2026 18:54
@shunkakinoki
shunkakinoki merged commit c56e304 into main Jan 10, 2026
7 of 8 checks passed
@shunkakinoki
shunkakinoki deleted the chore/regenerate-agent-instructions branch January 10, 2026 18:54

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 29 files

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

This PR regenerates agent instruction files using the Ruler tool and applies a systematic rename from "rules" to "dotagents" across the repository. The changes include updating all agent instruction files across multiple platforms (.cursor, .windsurf, .junie, .augment, etc.), renaming the package, and adding Python-related .gitignore entries to support the Serena MCP Python tool.

Changes:

  • Updated workspace-file-references rule and propagated the "rules" → "dotagents" rename across all generated agent instruction files
  • Renamed package from @shunkakinoki/rules to @shunkakinoki/dotagents in package.json and README
  • Reformatted MCP server configuration arrays in multiple JSON files for better readability
  • Added comprehensive Python .gitignore patterns to support uvx/Serena MCP tooling

Reviewed changes

Copilot reviewed 27 out of 29 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.ruler/workspace-file-references.md Source rule updated to reference "dotagents" instead of "rules"
Multiple instruction files (AGENTS.md, CLAUDE.md, etc.) Regenerated with updated "dotagents" references
dotagents.code-workspace New workspace file (but contains issues - see comments)
package.json Package renamed to @shunkakinoki/dotagents
README.md Title updated to "dotagents"
opencode.json, .mcp.json, .crush.json, etc. MCP configuration arrays reformatted
.gitignore Added Python-related ignore patterns (contains typo - see comments)
.vscode/settings.json, .vscode/mcp.json MCP server configurations reformatted

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