Skip to content

style: fix markdown table alignment in openspec docs - #65

Merged
alexey1312 merged 1 commit into
mainfrom
alexey1312/fix_ci
Feb 24, 2026
Merged

style: fix markdown table alignment in openspec docs#65
alexey1312 merged 1 commit into
mainfrom
alexey1312/fix_ci

Conversation

@alexey1312

Copy link
Copy Markdown
Collaborator

Summary

  • Fix dprint formatting violations in 3 openspec design documents
  • Align markdown table columns to standard padding (no trailing spaces in cells)

Test plan

  • mise run format-check passes locally

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @alexey1312, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses stylistic inconsistencies and formatting violations within the openspec design documentation. The primary goal was to enhance readability and adhere to established formatting standards by correcting markdown table alignment and resolving dprint formatting issues. These changes ensure a cleaner and more consistent presentation of technical specifications.

Highlights

  • Markdown Table Alignment: Aligned markdown table columns to standard padding, specifically removing trailing spaces in cells across multiple openspec design documents to improve readability.
  • Dprint Formatting Fixes: Fixed dprint formatting violations in three openspec design documents, ensuring adherence to consistent code style and formatting standards.
Changelog
  • openspec/changes/export-report/design.md
    • Adjusted markdown table column spacing for better alignment.
  • openspec/changes/w3c-tokens-v2/design.md
    • Corrected markdown table column spacing for improved readability.
    • Inserted a blank line before a list item for consistent formatting.
  • openspec/changes/w3c-tokens-v2/specs/tokens-file-source/spec.md
    • Refined markdown table column alignment.
Activity
  • The author confirmed that mise run format-check passes locally, verifying the formatting fixes.
  • The pull request was generated with Claude Code, indicating AI assistance in its creation.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@alexey1312
alexey1312 merged commit a967df2 into main Feb 24, 2026
1 check passed
@alexey1312
alexey1312 deleted the alexey1312/fix_ci branch February 24, 2026 04:53

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request addresses markdown formatting issues by aligning tables in several openspec design documents. The changes are purely stylistic and improve readability. I've identified an improvement opportunity related to the repository's style guide for tabular data. The markdown tables could be converted to the TOON format as specified in the style guide. I've left comments on each file with a markdown table suggesting this change.

Comment on lines +90 to +94
| Option | Pros | Cons |
| ---------------------------- | --------------------------------------- | ------------------------------ |
| Add collection to TerminalUI | Single point of interception | Adds state to stateless class |
| Separate WarningCollector | Clean separation, follows actor pattern | Must wire into export commands |
| Intercept at queueLogMessage | No TerminalUI changes | Only works in batch mode |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The repository style guide specifies using the TOON format for tabular data. While this PR fixes the markdown table alignment, this is a good opportunity to convert this table, and others in the file, to the TOON format to adhere to the convention.

For example, this table could be converted to:

options[3]{option,pros,cons}:
  "Add collection to TerminalUI","Single point of interception","Adds state to stateless class"
  "Separate WarningCollector","Clean separation, follows actor pattern","Must wire into export commands"
  "Intercept at queueLogMessage","No TerminalUI changes","Only works in batch mode"

Note: The TOON format specification in the style guide doesn't specify how to handle commas within values. Please verify the correct approach, for example by using quotes or rephrasing the content to avoid commas.

References
  1. The style guide requires using TOON format for all tabular data to reduce token usage and improve parsing consistency, with a specific exception for tasks.md files. (link)

Comment on lines +97 to +102
| Approach | Pros | Cons |
| ------------------------------- | --------------------------------------------- | --------------------------------------------------------- |
| Resolver module (spec-native) | Fully spec-compliant theming, fallback chains | Multi-file, complex architecture, overkill for simple L/D |
| `$extensions` modes (chosen) | Single file, mode relationship explicit | Vendor extension, requires ExFig-aware tool support |
| Separate file per mode | Clean separation, each file is spec-pure | Multiple files to manage, harder to diff |
| `$value` as mode dict (current) | Compact | Violates spec (`$value` must be a color object) |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

According to the repository style guide, tabular data should use the TOON format. This markdown table, and others in this file, should be converted to TOON format to align with the project's conventions.

For example, this table could be converted to:

alternatives[4]{approach,pros,cons}:
  "Resolver module (spec-native)","Fully spec-compliant theming, fallback chains","Multi-file, complex architecture, overkill for simple L/D"
  "$extensions modes (chosen)","Single file, mode relationship explicit","Vendor extension, requires ExFig-aware tool support"
  "Separate file per mode","Clean separation, each file is spec-pure","Multiple files to manage, harder to diff"
  "$value as mode dict (current)","Compact","Violates spec ($value must be a color object)"

Note: The TOON format as specified in the style guide does not detail how to handle commas within values. Please verify how to correctly format these values in TOON, for example by using quotes or rephrasing.

References
  1. The style guide requires using TOON format for all tabular data to reduce token usage and improve parsing consistency, with a specific exception for tasks.md files. (link)

Comment on lines +212 to +219
| W3C Token Type | ExFigCore Model | `$value` Format |
| -------------- | --------------- | --------------------------------------------------------- |
| `color` | `Color` | Object: `{colorSpace, components, alpha?, hex?}` |
| `typography` | `TextStyle` | Object: `{fontFamily, fontSize, fontWeight, lineHeight?}` |
| `dimension` | (numeric value) | Object: `{value, unit}` — unit is `"px"` or `"rem"` |
| `number` | (numeric value) | Plain JSON number |
| `fontFamily` | (string value) | String or array of strings |
| `fontWeight` | (numeric value) | Number (1–1000) or string alias (e.g., "bold") |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The repository style guide specifies using the TOON format for tabular data. This markdown table should be converted to TOON format to adhere to the project's conventions.

Note: The TOON format as specified in the style guide does not detail how to handle commas within values. This table contains several cells with commas. Please verify how to correctly format these values in TOON, for example by using quotes or rephrasing.

References
  1. The style guide requires using TOON format for all tabular data to reduce token usage and improve parsing consistency, with a specific exception for tasks.md files. (link)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant