openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Docs/windows beginner contributing

Open blu1606 opened this issue 6 months ago • 1 comments

Summary

  • Added Windows setup guidance to the beginner contribution guide.
  • Converted Step 1 platform setup instructions into collapsible macOS and Windows dropdowns.
  • Added a copy-paste AI coding agent prompt for contributors who want guided setup, checks, and PR preparation.
  • Linked the new AI-agent prompt from the README contributor section.

Problem

  • CONTRIBUTING-BEGINNERS.md only had a macOS-focused tool installation path, leaving Windows beginners to infer required setup steps from other docs.
  • Beginner contributors using AI coding agents did not have a safe copy-paste prompt that points agents to the repo’s authoritative contribution instructions before running setup or checks.
  • The Step 1 setup section was growing harder to scan as platform-specific instructions expanded.

Solution

  • Added separate <details> dropdowns for macOS and Windows setup in Step 1.
  • Kept the existing macOS commands and added Windows commands for nvm-windows, Node.js 24, [email protected], Rust 1.93.0, CMake, and Visual Studio Build Tools.
  • Added an optional AI-agent guidance section that tells agents to read the upstream raw docs first:
    • CONTRIBUTING.md
    • AGENTS.md
    • CLAUDE.md
  • Added a short README link to the new beginner-friendly AI-agent prompt.
  • Kept the scope documentation-only; no code, build scripts, or workflow logic changed.

Submission Checklist

If a section does not apply to this change, mark the item as N/A with a one-line reason. Do not delete items.

  • [x] N/A: Tests added or updated — documentation-only change.
  • [x] N/A: Diff coverage ≥ 80% — documentation-only change with no executable code.
  • [x] N/A: Coverage matrix updated — documentation-only change; no feature rows added, removed, or renamed.
  • [x] N/A: All affected feature IDs from the matrix are listed in the PR description under ## Related — no affected feature IDs.
  • [x] No new external network dependencies introduced.
  • [x] N/A: Manual smoke checklist updated — does not touch release-cut surfaces.
  • [x] N/A: Linked issue closed via Closes #NNN — no issue number provided.

Impact

  • Runtime/platform impact: none; documentation-only.
  • Performance impact: none.
  • Security impact: none.
  • Migration impact: none.
  • Compatibility impact: improves Windows contributor setup guidance without changing project behavior.

Related

  • Closes: N/A — no issue number provided.
  • Follow-up PR(s)/TODOs: N/A.

AI Authored PR Metadata (required for Codex/Linear PRs)

Keep this section for AI-authored PRs. For human-only PRs, mark each field N/A.

Linear Issue

  • Key: N/A
  • URL: N/A

Commit & Branch

  • Branch: docs/windows-beginner-contributing
  • Commit SHA:
    • 1113d586 — docs: add Windows beginner setup guidance
    • c69f48bc — docs: add AI-agent contributor prompt

Validation Run

  • [x] pnpm --filter openhuman-app format:check — attempted via pnpm format:check, blocked by local environment.
  • [ ] pnpm typecheck — N/A: documentation-only change.
  • [ ] Focused tests: N/A: documentation-only change.
  • [ ] Rust fmt/check (if changed): N/A: no Rust changes.
  • [ ] Tauri fmt/check (if changed): N/A: no Tauri changes.

Validation Blocked

  • command: pnpm format:check
  • error: Local environment uses Node v22.19.0 while the repo requires Node >=24.0.0; node_modules are not installed, so prettier is not available.
  • impact: Formatting check could not complete locally. The change is markdown-only and the diff was manually reviewed.

Behavior Changes

  • Intended behavior change: N/A — documentation-only change.
  • User-visible effect: New contributors can find Windows setup steps and an AI-agent setup prompt more easily.

Parity Contract

  • Legacy behavior preserved: Existing macOS setup guidance remains, now inside a dropdown.
  • Guard/fallback/dispatch parity checks: N/A — no runtime behavior changed.

Duplicate / Superseded PR Handling

  • Duplicate PR(s): N/A
  • Canonical PR: N/A
  • Resolution (closed/superseded/updated): N/A

Summary by CodeRabbit

  • Documentation
    • Reorganized contributor setup guides with collapsible macOS and Windows sections for easier navigation
    • Added clearer verification prompts during setup and updated onboarding path recommendations
    • Introduced an optional AI-assisted contributor workflow with a ready prompt template and guidance to confirm actions and review diffs before PRs

Review Change Stack

blu1606 avatar May 18 '26 18:05 blu1606

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f3bb0646-0dff-4fa2-a315-dfeeef418f6a

📥 Commits

Reviewing files that changed from the base of the PR and between c69f48bcaae7406fad1f065b4d8b3ea0465bda88 and 4af80a3107bb423a71e9cb3dd3f1418e9989888a.

📒 Files selected for processing (1)
  • README.md
✅ Files skipped from review due to trivial changes (1)
  • README.md

📝 Walkthrough

Walkthrough

This PR restructures beginner contributor docs into collapsible macOS/Windows setup sections, adds a verification prompt, introduces an optional AI-agent onboarding section with a prompt template, and updates README to reference the new beginner guide alongside the standard CONTRIBUTING flow.

Changes

Contributor Onboarding Documentation Updates

Layer / File(s) Summary
Setup instructions restructuring
CONTRIBUTING-BEGINNERS.md
macOS and Windows setup sections converted to collapsible <details> blocks for improved readability, and a "Verify everything is installed:" prompt added before verification commands.
AI agent guided onboarding
CONTRIBUTING-BEGINNERS.md
Table of Contents updated with AI agent section entry, and new optional section added providing an AI agent prompt template with guidance on confirming before destructive actions and reviewing diffs before opening PRs.
README cross-reference
README.md
Contributing section updated to direct new contributors to either the standard CONTRIBUTING.md workflow or the AI agent prompt path in CONTRIBUTING-BEGINNERS.md.

"I’m a rabbit with a README hat,
I tuck setup steps in details like that,
I whisper prompts to the curious mind,
Confirm before cut, and always review the find,
Hop forth, contribute — leave no diff behind!" 🐇✨

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title partially relates to the changeset. It correctly identifies Windows setup guidance as a key addition, but the title is overly broad by using the generic term 'beginner contributing' instead of specifically highlighting the main changes: Windows setup instructions and the AI agent prompt that are documented in CONTRIBUTING-BEGINNERS.md.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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.

coderabbitai[bot] avatar May 18 '26 18:05 coderabbitai[bot]