You are browsing as a guest. Sign up (or log in) to start making projects!

README GENERATOR

  • 1 Devlogs
  • 1 Total hours

I built a fully functional, production-ready VS Code extension that completely automates the tedious task of writing project documentation. By hooking into the VS Code API, my tool intelligently scans a user's workspace, filters out non-code assets, and safely packages the raw code context under a strict 12,000-character limit to prevent API crashes. It then feeds this data directly into the native GitHub Copilot Language Model using an advanced, highly structured system prompt, ultimately streaming a professional, reviewer-ready README file directly into a new editor tab—and I successfully published the entire thing for the world to download on the Microsoft Marketplace!

Ship #1 Changes requested

Writing documentation is easily one of the most tedious parts of software development, but it became a critical bottleneck for me when my previous projects were sent back to be reshipped because the documentation didn't meet strict standards. To fix this, I built and published my first official extension, AI Based README Generator, which hardwires the exact structural layout required by the Stardance guide directly into a native VS Code utility. By utilizing the vscode.workspace.fs API to dynamically read local source files and integrating a 12,000-character safety valve to completely bypass AI token limit crashes, the extension effortlessly extracts core project logic, filters out non-code asset clutter, and hooks straight into the native GitHub Copilot model stream.

The core breakthrough of this tool is its strict adherence to the """Stardance guide to a perfect README""", using that exact framework as its baseline prompt to force the AI to generate structured, reviewer-ready documentation instead of generic fluff. When a developer triggers the command from their palette, the extension validates the workspace, executes a filesystem loop to analyze functional code, and maps it directly to the guide's mandatory sequence—including concise titles, hero asset placeholders, hyper-efficient quick starts, and deep architectural tradeoffs. It then dynamically streams that compliant markdown directly into a pristine, unsaved virtual editor tab, allowing me to flawlessly ship my project with complete confidence that it perfectly matches the evaluation criteria.

  • 1 devlog
  • 1h
Try project → See source code →
Open comments for this post

1h 24m 55s logged

I designed and shipped a developer tool that turns a messy, un-documented codebase into clean, structured Markdown with a single command. The engineering behind it comes down to a smart filesystem loop that extracts text logic while ignoring binary noise like images, alongside an automated character-capping threshold that protects the backend from hitting strict token limits. By feeding this sanitized code directly into VS Code’s native GitHub Copilot chat model interface, the extension entirely cuts out the need for third-party API keys or manual copy-pasting. It dynamically streams the generated layout straight into a new editor tab, turning an hour of manual technical writing into a five-second automated workflow.

0
0
6

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…