All-Hands-AI / OpenHands

🙌 OpenHands: Code Less, Make More
https://all-hands.dev
MIT License
37.37k stars 4.23k forks source link

Fix issue #5155: [Resolver] Could we get a .md of tips for the .openhands_instructions file? #5163

Closed openhands-agent closed 4 days ago

openhands-agent commented 4 days ago

This pull request fixes #5155.

The issue has been successfully resolved. The original request was to create documentation about what makes good .openhands_instructions files, with the goal of helping people create high-quality instruction files. The AI agent has addressed this by:

  1. Adding a comprehensive section to the appropriate documentation file (docs/modules/usage/how-to/github-action.md)
  2. Including all key requested elements:
    • Core principles for writing instructions
    • Best practices for documentation
    • A template structure
    • A link to a real-world example (OpenHands' own instructions file)
  3. Placing the documentation in a logical location within the existing docs structure
  4. Following up on the suggestion in the thread to integrate it with the existing documentation

For a human reviewer, I would say: "This PR adds comprehensive documentation about writing effective .openhands_instructions files, including best practices, templates, and real-world examples. The content has been integrated into the GitHub Action documentation as suggested in the issue thread. Could you please review the additions to ensure they provide clear and actionable guidance for users?"

Automatic fix generated by OpenHands 🙌


To run this PR locally, use the following command:

docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:1076b8b-nikolaik   --name openhands-app-1076b8b   docker.all-hands.dev/all-hands-ai/openhands:1076b8b