Skip to main content

write-coding-standards-from-file

Generates a coding standards document by analyzing existing code files, ensuring consistency and adherence to style guidelines.

Install this skill

or
0/100

Security score

The write-coding-standards-from-file skill was audited on Mar 1, 2026 and we found 61 security issues across 2 threat categories, including 38 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

high line 14

Template literal with variable interpolation in command context

SourceSKILL.md
14Parameters for the prompt have a text definition. There is one required parameter **`${fileName}`**, and several optional parameters **`${folderName}`**, **`${instructions}`**, and any **`[configVaria
high line 27

Template literal with variable interpolation in command context

SourceSKILL.md
27- For each file in `${newFileName}`, if file does not exist, use that file name and `break`, else continue to next file name of `${newFileName}`.
high line 44

Template literal with variable interpolation in command context

SourceSKILL.md
44- useTemplate = If passed will override the configuration `${useTemplate}` default. Values are `[["v", "verbose"], ["m", "minimal"], ["b", "best fit"]]`.
high line 55

Template literal with variable interpolation in command context

SourceSKILL.md
55### `${fileName}.length > 1 || ${folderName} != undefined`
high line 57

Template literal with variable interpolation in command context

SourceSKILL.md
57* If true, toggle `${fixInconsistencies}` to false.
high line 59

Template literal with variable interpolation in command context

SourceSKILL.md
59### `${addToREADME} == true`
high line 62

Template literal with variable interpolation in command context

SourceSKILL.md
62* If true, toggle both `${createNewFile}` and `${outputSpecToPrompt}` to false.
high line 64

Template literal with variable interpolation in command context

SourceSKILL.md
64### `${addToREADMEInsertions} == "atBegin"`
high line 66

Template literal with variable interpolation in command context

SourceSKILL.md
66* If `${addToREADME}` is true, then insert the coding standards data at the **beginning** of the `README.md` file after the title.
high line 68

Template literal with variable interpolation in command context

SourceSKILL.md
68### `${addToREADMEInsertions} == "middle"`
high line 70

Template literal with variable interpolation in command context

SourceSKILL.md
70* If `${addToREADME}` is true, then insert the coding standards data at the **middle** of the `README.md` file, changing the standards title heading to match that of the `README.md` composition.
high line 72

Template literal with variable interpolation in command context

SourceSKILL.md
72### `${addToREADMEInsertions} == "beforeEnd"`
high line 74

Template literal with variable interpolation in command context

SourceSKILL.md
74* If `${addToREADME}` is true, then insert the coding standards data at the **end** of the `README.md` file, inserting a new line after the last character, then inserting the data on a new line.
high line 76

Template literal with variable interpolation in command context

SourceSKILL.md
76### `${addToREADMEInsertions} == "bestFitUsingContext"`
high line 78

Template literal with variable interpolation in command context

SourceSKILL.md
78* If `${addToREADME}` is true, then insert the coding standards data at the **best fitting line** of the `README.md` file in regards to the context of the `README.md` composition and flow of data.
high line 80

Template literal with variable interpolation in command context

SourceSKILL.md
80### `${addStandardsTest} == true`
high line 84

Template literal with variable interpolation in command context

SourceSKILL.md
84### `${createNewFile} == true`
high line 86

Template literal with variable interpolation in command context

SourceSKILL.md
86* Create a new file using the value, or one of the possible values, from `${newFileName}`.
high line 87

Template literal with variable interpolation in command context

SourceSKILL.md
87* If true, toggle both `${outputSpecToPrompt}` and `${addToREADME}` to false.
high line 89

Template literal with variable interpolation in command context

SourceSKILL.md
89### `${fetchStyleURL} == true`
high line 92

Template literal with variable interpolation in command context

SourceSKILL.md
92* For each relevant item in `### Fetch Links`, run `#fetch ${item}`.
high line 94

Template literal with variable interpolation in command context

SourceSKILL.md
94### `${findInconsistencies} == true`
high line 98

Template literal with variable interpolation in command context

SourceSKILL.md
98* Depending on the status of `${fixInconsistencies}`, either edit and fix the low count categories to match the majority, or output to prompt inconsistencies stored in temporary memory.
high line 100

Template literal with variable interpolation in command context

SourceSKILL.md
100### `${fixInconsistencies} == true`
high line 104

Template literal with variable interpolation in command context

SourceSKILL.md
104### `typeof ${newFileName} == "string"`
high line 106

Template literal with variable interpolation in command context

SourceSKILL.md
106* If specifically defined as a `string`, create a new file using the value from `${newFileName}`.
high line 108

Template literal with variable interpolation in command context

SourceSKILL.md
108### `typeof ${newFileName} != "string"`
high line 110

Template literal with variable interpolation in command context

SourceSKILL.md
110* If **NOT** specifically defined as a `string`, but instead an `object` or an array, create a new file using a value from `${newFileName}` by applying this rule:
high line 111

Template literal with variable interpolation in command context

SourceSKILL.md
111- For each file name in `${newFileName}`, if file does not exist, use that file name and `break`, else continue to the next.
high line 113

Template literal with variable interpolation in command context

SourceSKILL.md
113### `${outputSpecToPrompt} == true`
high line 116

Template literal with variable interpolation in command context

SourceSKILL.md
116* If true, toggle both `${createNewFile}` and `${addToREADME}` to false.
high line 118

Template literal with variable interpolation in command context

SourceSKILL.md
118### `${useTemplate} == "v" || ${useTemplate} == "verbose"`
high line 122

Template literal with variable interpolation in command context

SourceSKILL.md
122### `${useTemplate} == "m" || ${useTemplate} == "minimal"`
high line 126

Template literal with variable interpolation in command context

SourceSKILL.md
126### `${useTemplate} == "b" || ${useTemplate} == "best"`
high line 128

Template literal with variable interpolation in command context

SourceSKILL.md
128* Use either the data under the level three heading `### "v", "verbose"` or `### "m", "minimal"`, depending on the data extracted from `${fileName}`, and use the best fit as guiding template when comp
high line 130

Template literal with variable interpolation in command context

SourceSKILL.md
130### `${useTemplate} == "custom" || ${useTemplate} == "<ANY_NAME>"`
high line 134

Template literal with variable interpolation in command context

SourceSKILL.md
134## **if** `${fetchStyleURL} == true`
high line 136

Template literal with variable interpolation in command context

SourceSKILL.md
136Depending on the programming language, for each link in list below, run `#fetch (URL)`, if programming language is `${fileName} == [<Language> Style Guide]`.
low line 140

External URL reference

SourceSKILL.md
140- [C Style Guide](https://users.ece.cmu.edu/~eno/coding/CCodingStandard.html)
low line 141

External URL reference

SourceSKILL.md
141- [C# Style Guide](https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions)
low line 142

External URL reference

SourceSKILL.md
142- [C++ Style Guide](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines)
low line 144

External URL reference

SourceSKILL.md
144- [Java Style Guide](https://coderanch.com/wiki/718799/Style)
low line 146

External URL reference

SourceSKILL.md
146- [jQuery Style Guide](https://contribute.jquery.org/style-guide/js/)
low line 147

External URL reference

SourceSKILL.md
147- [JavaScript Style Guide](https://www.w3schools.com/js/js_conventions.asp)
low line 148

External URL reference

SourceSKILL.md
148- [JSON Style Guide](https://google.github.io/styleguide/jsoncstyleguide.xml)
low line 149

External URL reference

SourceSKILL.md
149- [Kotlin Style Guide](https://kotlinlang.org/docs/coding-conventions.html)
low line 150

External URL reference

SourceSKILL.md
150- [Markdown Style Guide](https://cirosantilli.com/markdown-style-guide/)
low line 151

External URL reference

SourceSKILL.md
151- [Perl Style Guide](https://perldoc.perl.org/perlstyle)
low line 152

External URL reference

SourceSKILL.md
152- [PHP Style Guide](https://phptherightway.com/)
low line 153

External URL reference

SourceSKILL.md
153- [Python Style Guide](https://peps.python.org/pep-0008/)
low line 154

External URL reference

SourceSKILL.md
154- [Ruby Style Guide](https://rubystyle.guide/)
low line 156

External URL reference

SourceSKILL.md
156- [Swift Style Guide](https://www.swift.org/documentation/api-design-guidelines/)
low line 157

External URL reference

SourceSKILL.md
157- [TypeScript Style Guide](https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html)
low line 158

External URL reference

SourceSKILL.md
158- [Visual Basic Style Guide](https://en.wikibooks.org/wiki/Visual_Basic/Coding_Standards)
low line 159

External URL reference

SourceSKILL.md
159- [Shell Script Style Guide](https://google.github.io/styleguide/shellguide.html)
low line 162

External URL reference

SourceSKILL.md
162- [CSS](https://cssguidelin.es/)
low line 163

External URL reference

SourceSKILL.md
163- [Sass Style Guide](https://sass-guidelin.es/)
low line 165

External URL reference

SourceSKILL.md
165- [Linux kernel Style Guide](https://www.kernel.org/doc/html/latest/process/coding-style.html)
low line 167

External URL reference

SourceSKILL.md
167- [SQL Style Guide](https://www.sqlstyle.guide/)
low line 168

External URL reference

SourceSKILL.md
168- [Angular Style Guide](https://angular.dev/style-guide)
low line 169

External URL reference

SourceSKILL.md
169- [Vue Style Guide](https://vuejs.org/style-guide/rules-strongly-recommended.html)
Scanned on Mar 1, 2026
View Security Dashboard
Installation guide →