First run: Making Copilot create documentation for my solution

First run: Making Copilot create documentation for my solution

At the Directions EMEA conference in Poznan last week, it was impossible to avoid the terms Agents, AI, Copilot, MCP Server. There were lots of sessions about Vibe coding and Copilot chat.

Therefore, I decided to take Copilot Chat for a spin in order to see, what the result would be. So, I asked it to create documentation for the solution that I published last week:

Absence Registration Overview – Peik’s Corner

The solution provides an overview of the absence among employees in the department/company.

So, I did the following:

  • Started Visual Studio Code
  • Cloned the project from GitHub
  • Opened the Copilot chat and wrote:
  • “Make documentation forsolution” with typo and all

This is what happened:

It created four files for me:

Created Documentation Files:

  1. README.md – Main documentation covering:
    • Overview and key features
    • Installation instructions
    • Configuration guide
    • Usage instructions
    • Technical details
    • Support resources
  2. TECHNICAL.md – Technical architecture documentation including:
    • System architecture diagrams
    • Data model details
    • Page architecture and logic flows
    • Integration points
    • Performance considerations
    • Extension points for customization
  3. USER_GUIDE.md – End-user guide with:
    • Getting started instructions
    • Step-by-step filtering and navigation
    • Common scenarios and workflows
    • Tips and best practices
    • Troubleshooting section
  4. ADMIN_GUIDE.md – Administrator guide covering:
    • Installation procedures
    • Initial configuration
    • Role center management
    • Dimension setup walkthrough
    • User access configuration
    • Maintenance tasks
    • Customization guidance

Readme.md

The Readme.md registers automatically:

  • Who did it and where does it reside
  • Key features
  • How to Install
  • The Setup Page
  • Configuration Fields
  • The Role Center Selection (which does not work)
  • The Extended Role Centers
  • How to use and so on

This is a very comprehensive overview of the solution.

Technical.md

The Technical.md starts with a graphical overview of the solution:

Then follows a detailed walk-through of each object, including:

  • Tables
  • Fields
  • Keys
  • Pages and also a logic flow of the procedures in the object:

I don’t think that I have seen documentation with this level of details maybe ever.

User_Guide.md

Starts with a table of contents:

It even includes an abstract of the solution:

Then it creates a detailed user guide for each page:

Admin_Guide.md

Lastly, I got the Admin_Guide this also starts with a Table of Contents:

And continues with detailed instructions for installation (In Business Central in the cloud) and what else to setup.

Conclusion

I am really positively surprised.

I might get lazy in the future and let Copilot do the documentation in the future.

Thank you for that!

You can download the documented solution here:

peikba/Absence-Registration

Leave a Reply

Your email address will not be published. Required fields are marked *