Onboard

From striderZA/OpenCodeGameStudios · View interactive version

Onboard is an AI agent skill from the GitHub repository striderZA/OpenCodeGameStudios. Generates a contextual onboarding document for a new contributor or agent joining the project. Summarizes project state, architecture, conventions, and current priorities relevant to the specified role or area.

How to use this skill

Skill file

Overview

This skill generates a contextual onboarding document tailored to a specific role or area. It loads project state, scans relevant directories, and produces a comprehensive guide for new contributors or agents.

When to use /onboard:

When NOT to use /onboard:


Phase 1: Parse Arguments and Load Project Context

Read the argument to determine the target role or area. If no argument is provided, use question to ask:

If the user provides a role that doesn't match the options above, accept it and proceed. Map it to the closest category for scanning purposes.

Load project context:

  1. Read AGENTS.md for project overview, technology stack, and standards. If the file does not exist or is empty, stop and report: "Cannot generate onboarding document: AGENTS.md is missing or unreadable. This file is required for project context."
  1. If a specific role is specified, read the corresponding agent definition from .agents/agents/[role].md. If the file does not exist, inform the user: "No agent definition found for [role]. Proceeding with generic onboarding." and continue without role-specific context.
  1. Read docs/framework/technical-preferences.md for engine and language configuration. If the file contains [TO BE CONFIGURED] for the engine, note that the engine is not yet configured in the onboarding document.

Phase 2: Scan Relevant Area

Based on the role or area, scan the appropriate directories. If a directory does not exist or is empty, note it in the onboarding document as "No [area] artifacts found yet."

Scanning rules:

Read recent changes (if git is available):

If git is not available or the repository has no commits, skip this step and note: "No git history available."


Phase 3: Generate Onboarding Document

Assemble the onboarding document using this structure. Fill each section with information gathered from Phases 1 and 2. If information is missing, state "Not yet defined" or "No artifacts found" rather than leaving the section blank.

# Onboarding: [Role/Area]

## Project Summary
[2-3 sentence summary of what this game is and its current state. Pull from AGENTS.md and design/gdd/game-concept.md if it exists.]

## Your Role
[What this role does on this project, key responsibilities, who you report to. Pull from the agent definition if available.]

## Project Architecture
[Relevant architectural overview for this role. For programmers: describe folder structure, key modules, dependencies. For designers: describe systems and their interactions. For others: describe how their work fits into the pipeline.]

### Key Directories
| Directory | Contents | Your Interaction |
|-----------|----------|-----------------|
| [dir] | [what's in it] | [how this role uses it] |

### Key Files
| File | Purpose | Read Priority |
|------|---------|--------------|
| [file] | [what it does] | [High/Medium/Low] |

## Current Standards and Conventions
[Summary of conventions relevant to this role from AGENTS.md and agent definition. Include coding standards, naming conventions, documentation requirements, test requirements.]

## Current State of Your Area
[What has been built, what is in progress, what is planned next. Pull from scan results and recent git commits.]

## Current Sprint Context
[What the team is working on now and what is expected of this role. Pull from production/sprints/ if available. If no sprint is active, state "No active sprint."]

## Key Dependencies
[What other roles/systems this role interacts with most. For programmers: which systems they modify. For designers: which programmers implement their designs. For QA: which areas need testing.]

## Common Pitfalls
[Things that trip up new contributors in this area. Pull from AGENTS.md coordination rules, coding standards, and any TODO/FIXME comments in scanned files.]

## First Tasks
[Suggested first tasks to get oriented and productive]

1. **Read these documents first**: [list 3-5 key documents]
2. **Review this code/content**: [point to specific files or directories]
3. **Start with this small task**: [suggest a low-risk first task, e.g., "Fix a typo in a GDD" or "Add a unit test for an existing function"]

## Questions to Ask
[Questions the new contributor should ask to get fully oriented. Examples: "What is the definition of done for a story?", "Who reviews my work?", "What is the deploy process?"]

Phase 4: Review and Save Document

Present the onboarding document to the user in full. Do not truncate or summarize — show the complete document.

Ask: "May I write this to production/onboarding/onboard-[role]-[date].md?"

If yes:

  1. Create the production/onboarding/ directory if it does not exist
  2. Write the file with the date in YYYY-MM-DD format
  3. Confirm: "Onboarding document written to [path]."

If no:


Phase 5: Next Steps

Verdict: COMPLETE — onboarding document generated.

Suggest next steps based on the role:

General: "Run /help if you need guidance on what to work on next."


Edge Cases


Collaborative Protocol

  1. Ask first — never assume the user wants to save the document without asking
  2. Show the full document — do not truncate or summarize before asking to save
  3. Adapt to the role — tailor the scan and document content to the specific role's needs
  4. Handle missing data gracefully — note what's missing rather than leaving sections blank
  5. Suggest actionable next steps — point to specific commands the user can run next
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.