Skip to content

Instantly share code, notes, and snippets.

@teyc
teyc / SKILL.md
Created June 28, 2026 04:47 — forked from fofr/SKILL.md
An agent skill for writing in the GOV.UK style
name govuk-style
description Write and edit in GOV.UK / GDS house style — plain English, active voice, front-loaded content, sentence case, and no bold or italics for emphasis. Use when writing or editing reports, research write-ups, guidance, documentation, summaries, or any prose where clarity and accessibility matter.
user-invokable true
args
name description required
target
The document or text to write or rewrite in GOV.UK style (optional)
false
@teyc
teyc / convertToCamelCase.js
Last active February 7, 2019 01:18 — forked from sibu-github/convertToCamelCase.js
convert a JSON keys to camel case
// convert a key string to camelcase
function toCamelCase(str) {
// when str is not defined reuturn
if (!str) {
return str;
}
return str.charAt(0).toLowerCase() + str.substring(1);
}
@teyc
teyc / DbUp.csproj
Last active August 29, 2015 14:23 — forked from sheastrickland/DbUp.csproj
MSBuild convention checks
<Target Name="AfterBuild">
<Message Text="@(Content)" Importance="high" Condition="%(Content.Extension) == '.sql'" />
<Error Condition="%(Content.Extension) == '.sql'" Text="Nothing should be marked as Content, check your scripts are marked as Embedded Resource" />
</Target>