SkillAgentSearch skills...

code-style

SmartHopper is an open-source project that implements third-party AI APIs to provide advanced features for Grasshopper3D.

Install / Use

npx skills add architects-toolkit/SmartHopper

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

40/100

Supported Platforms

Universal

name: code-style description: Clean C# code style based on project rules allowed-tools:

  • read
  • edit
  • grep
  • glob
  • ask_user_question triggers:
  • user
  • model

  1. Ask the user which files they want to clean if no file list is provided.

  2. For the selected *.cs files, apply the repository style:

  • Add XML docstrings to members when missing. Use /// <inheritdoc/> only when the parent/interface member has accurate documentation.
  • Ensure 4-space indentation and remove repeated whitespace that is not meaningful alignment.
  • Keep one blank line between members and remove multiple consecutive blank lines.
  • Use braces for if, for, foreach, while, try, and similar blocks.
  • Use trailing commas in multi-line initializers.
  • Prefix instance member access with this. where appropriate.
  • Sort using directives alphabetically, with System namespaces first.
  • Preserve or add the standard file header, replacing YYYY with the file creation year or range: /*
  • SmartHopper - AI-powered Grasshopper Plugin
  • Copyright (C) YYYY Marc Roca Musach
  • This library is free software; you can redistribute it and/or
  • modify it under the terms of the GNU Lesser General Public
  • License as published by the Free Software Foundation; either
  • version 3 of the License, or (at your option) any later version. */
  1. Do not perform broad refactors during a style cleanup unless the user explicitly asks for them.

Related Skills

View on GitHub
GitHub Stars0
CategoryDevelopment
UpdatedNaNy ago
Forks0

Security Score

68/100

Audited on Invalid Date

2 medium1 low