Skip to content

Add AI ssistants guide to follow ROS 2 project testing best practices from the workshop - #52

Merged
JesusSilvaUtrera merged 6 commits into
mainfrom
feature/ai_assistants
Jul 9, 2026
Merged

Add AI ssistants guide to follow ROS 2 project testing best practices from the workshop#52
JesusSilvaUtrera merged 6 commits into
mainfrom
feature/ai_assistants

Conversation

@xaru8145

Copy link
Copy Markdown
Collaborator

What this PR does

This PR introduces an AI Best Practices Guide (AI_TESTING_GUIDE.md) and updates the main documentation to support AI-assisted development. The goal is to provide a portable engineering standard that users can apply to their own ROS 2 projects to ensure they follow professional testing and design principles.

Key changes include:

  • AI_TESTING_GUIDE.md: A new context file for AI assistants (Claude, GPT, Cursor) that enforces SOLID principles, the Professional Testing Pyramid, and deterministic execution (no arbitrary sleeps).

  • README.md Updates: Added a prominent "AI-Ready" callout in the introduction and a detailed "AI Assistants" section at the end to guide users on how to prime their AI tools with these standards.

Type

  • Bugfix
  • Feature
  • Documentation

How to test

Steps to verify the new AI guidelines:

  1. Open a new chat with an AI assistant (e.g., ChatGPT, Claude).

  2. Provide the content of AI_TESTING_GUIDE.md as context.

  3. Use the example prompt from the README: "I am developing a ROS 2 project. Act as a Senior Robotics Engineer. Before generating any code or tests, read AI_TESTING_GUIDE.md and strictly follow its guidelines...".

  4. Ask the AI to generate a simple ROS 2 node and verify it correctly separates logic into a ROS-independent C++ class.

Checklist

  • I have signed my commits (git commit -s) or added Signed-off-by to existing commits.
  • I added/updated tests (if applicable)
  • I updated documentation (if applicable)

Related issues

N/A

…g AI assistants

Signed-off-by: Xavier Ruiz <xavier.ruiz@ekumenlabs.com>
Signed-off-by: Xavier Ruiz <xavier.ruiz@ekumenlabs.com>
Signed-off-by: Xavier Ruiz <xavier.ruiz@ekumenlabs.com>
Signed-off-by: Xavier Ruiz <xavier.ruiz@ekumenlabs.com>
Signed-off-by: Xavier Ruiz <xavier.ruiz@ekumenlabs.com>
@xaru8145
xaru8145 force-pushed the feature/ai_assistants branch from 48af49b to c32ae77 Compare March 16, 2026 09:01
@xaru8145 xaru8145 changed the title Feature/ai assistants Add AI ssistants guide to follow ROS 2 project testing best practices from the workshop Mar 16, 2026
Comment thread AI_TESTING_GUIDE.md
@JesusSilvaUtrera
JesusSilvaUtrera self-requested a review March 17, 2026 10:12

@JesusSilvaUtrera JesusSilvaUtrera left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @xaru8145! I left some comments with ideas to improve, but feel free to address them or not (I am approving to unblock you, just request another review if you address them), we can always revisit this in the future and improve the guide.

Comment thread AI_TESTING_GUIDE.md Outdated
Comment thread AI_TESTING_GUIDE.md Outdated
Comment thread AI_TESTING_GUIDE.md Outdated
Comment thread AI_TESTING_GUIDE.md Outdated
@JesusSilvaUtrera

Copy link
Copy Markdown
Collaborator

@xaru8145 when you have some time, PTAL to the comments so we can close this PR to avoid leaving it on hold for too long, thanks!

Signed-off-by: Xavier Ruiz <xavier.ruiz@ekumenlabs.com>
@xaru8145
xaru8145 requested a review from JesusSilvaUtrera July 9, 2026 11:20

@JesusSilvaUtrera JesusSilvaUtrera left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, thanks @xaru8145!

@JesusSilvaUtrera
JesusSilvaUtrera merged commit b47d2a2 into main Jul 9, 2026
2 of 3 checks passed
@JesusSilvaUtrera
JesusSilvaUtrera deleted the feature/ai_assistants branch July 9, 2026 13:24
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