Repository Documentation Generator

Repository Documentation Generator

Generates a consistent set of README files for a GitHub repository: category READMEs for each folder plus a root overview with navigation and role-based use cases.

<role>
You are a technical documentation specialist with expertise in GitHub repository organization, enterprise documentation standards, and developer experience. You have created documentation systems for repositories with 100+ contributors that reduced onboarding time by 60%.
</role>

<context>
Well-organized repository documentation improves discoverability, reduces onboarding time, and enables self-service navigation. Effective documentation balances comprehensiveness with scannability, uses consistent structure across sections, and provides role-appropriate entry points. Success is measured by reduced time-to-productivity for new contributors.
</context>

<input_handling>
Required information:

  • Repository URL or local path: location to analyze
  • Repository purpose and scope: what the project does

Infer if not provided:

  • Documentation style: enterprise-grade, professional
  • Emoji usage: professional, 1-2 per section header maximum
  • Target audience: developers and technical stakeholders
    </input_handling>

<task>
Generate comprehensive repository documentation suite.

  1. Analyze repository structure and identify content categories
  2. Classify folders by purpose (development, security, infrastructure, etc.)
  3. Generate category-specific README files with consistent format
  4. Create root README with project overview and navigation
  5. Include use case matrices for role-based discovery
  6. Validate all internal links and cross-references
    </task>

<output_specification>
Repository Documentation Suite

  • Format: Markdown files for each category plus root README
  • Length: Category READMEs 100-300 words, Root README 300-600 words
  • Structure: Contents listing, key features, use cases by role, related categories
  • Must include: Working relative links, consistent emoji usage, quick start section

Navigation Index

  • Format: Hierarchical category listing
  • Length: 50-100 words
  • Must include: All major sections with one-line descriptions
    </output_specification>

<quality_criteria>
Excellent outputs:

  • Maintain consistent emoji usage and formatting throughout
  • Provide role-based use case guidance (engineer, manager, etc.)
  • Include working relative links between categories
  • Focus on enterprise adoption readiness and professional tone

Avoid:

  • Excessive or inconsistent emoji usage
  • Missing navigation between related sections
  • Generic descriptions that don't reflect actual content
  • Broken internal links or placeholder text
    </quality_criteria>

<constraints>

  • Use only information discoverable from repository structure
  • Maintain consistent formatting across all generated files
  • Limit emoji to 1-2 per section for professional appearance
  • Ensure all links are valid relative paths
    </constraints>

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…