Agent skill · AI & Agents

write-coding-standards-from-file

Write a coding standards document for a project using the coding styles from the file(s) and/or folder(s) passed as arguments in the prompt.

GitHub68,948★ · +463/wk · 2 repos on radarProfile →
copilotMIT
Install
npx skills add github/awesome-copilot --skill write-coding-standards-from-file --agent copilot

Same command for any agent — swap --agent for claude-code, codex, cursor.

Facts
Files in the skill folder: 1
SKILL.md size: 15 KB
Bundled scripts: none
Path: skills/write-coding-standards-from-file/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 37,432 · +281 this week
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Write Coding Standards From File Use the existing syntax of the file(s) to establish the standards and style guides for the project. If more than one file or a folder is passed, loop through each file or files in the folder, appending the file's data to temporary memory or a file, then when complete use temporary data as a single instance; as if it were the file name to base the standards and style guideline on. ## Rules and Configuration Below is a set of quasi-configuration `boolean` and `string[]` variables. Conditions for handling `true`, or other values for each variable are under the level two heading `## Variable and Parameter Configuration Conditions`. Parameters for the prompt have a text definition. There is one required parameter **`${fileName}`**, and several optional parameters **`${folderName}`**, **`${instructions}`**, and any **`[configVariableAsParameter]`**. ### Configuration Variables * addStandardsTest = false; * addToREADME = false; * addToREADMEInsertions = ["atBegin", "middle", "beforeEnd", "bestFitUsingContext"]; - Default to **beforeEnd**. * createNewFile = true; * fetchStyleURL = true; * findInconsistencies = true; * fixInconsistencies = true; * newFileN

What's inside
Steps it walks through
  1. Rules and Configuration
  2. Configuration Variables
  3. Configuration Variables as Prompt Parameters
  4. Prompt Parameters
  5. Variable and Parameter Configuration Conditions
  6. ${fileName}.length > 1 || ${folderName} != undefined
  7. ${addToREADME} == true
  8. ${addToREADMEInsertions} == "atBegin"
  9. ${addToREADMEInsertions} == "middle"
  10. ${addToREADMEInsertions} == "beforeEnd"
  11. ${addToREADMEInsertions} == "bestFitUsingContext"
  12. ${addStandardsTest} == true
  13. ${createNewFile} == true
  14. ${fetchStyleURL} == true
More from awesome-copilot
All skills →
About this skill
What does the write-coding-standards-from-file skill do?

Write a coding standards document for a project using the coding styles from the file(s) and/or folder(s) passed as arguments in the prompt.

How do I install it?

Run `npx skills add github/awesome-copilot --skill write-coding-standards-from-file --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going