formatting-log

Import Razor formatting log archives to generate unit test methods.

4|1|Updated May 1, 2026
One-click install
npx skills add https://github.com/CoolCoderSuper/vb-ls --skill formatting-log
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: formatting-log
Source: https://github.com/CoolCoderSuper/vb-ls/tree/main/roslyn/.github/skills/formatting-log
Command: npx skills add https://github.com/CoolCoderSuper/vb-ls --skill formatting-log

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill helps teams reproduce Razor formatting issues by automatically importing downloaded formatting log archives into the Razor unit test suite, enabling verification whether the issue still exists.

Core Features & Use Cases

  • Import formatting log archives (Full_razor.zip or Range_razor.zip) into the test assets under src\Razor\src\Razor\test\Microsoft.VisualStudio.LanguageServices.Razor.UnitTests\TestFiles\FormattingLog<TestName>.
  • Generate a corresponding test method in FormattingLogTest.cs and associate it with a WorkItem URL when provided.
  • Run the Razor unit tests to confirm whether the issue reproduces or has been fixed.

Quick Start

Download the formatting log zip, then run Import-FormattingLog.ps1 with -ZipPath set to that file to create a new test asset and test method.

Frequently Asked Questions about formatting-log

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reproduce Razor formatting issues from Azure DevOps or GitHub attachments?

To reproduce Razor formatting issues, import the downloaded Full_*_razor.zip or Range_*_razor.zip archives into the test suite. This Skill extracts the archive, creates test assets, and generates a corresponding test method to verify the issue locally.

How do I import a formatting log zip into Razor unit tests?

Run the Import-FormattingLog.ps1 script with a local -ZipPath pointing to the archive. It automatically extracts assets to the FormattingLog test directory and updates FormattingLogTest.cs with a new test method.

Can I link a formatting log test to a specific Azure DevOps work item?

Yes, you can link a formatting log test to a work item by providing an optional -WorkItemUrl parameter during import. This associates the generated test method with the original issue for tracking purposes.

What parameters are required to run the formatting log import script?

The required parameter is -ZipPath pointing to the local formatting log archive. Optional parameters include -WorkItemUrl, -TestName for naming the test, and -Force to overwrite existing test assets.

Does the formatting log import work with both Full and Range razor zip attachments?

Yes, the formatting log import works with both Full_*_razor.zip and Range_*_razor.zip attachments. It recognizes either archive format from Azure DevOps or GitHub workflows and extracts the contained assets.