Test Generator
gustavscirulis/snapgrid
Generate test templates for unit tests, integration tests, and UI tests using Swift Testing and XCTest.
A skill your agent uses when writing or running tests for the Sake project — unit tests, macro expansion tests, integration tests, test helpers, and CI test commands.
$ npx skills add kattouf/Sake --skill sake-testing -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install kattouf/Sake sake-testing --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/kattouf/Sake.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/sake-testing .claude/skills/sake-testing && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sake-testing" agent skill from https://github.com/kattouf/Sake/tree/main/.claude/skills/sake-testing into .claude/skills/sake-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sake-testing", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/kattouf/Sake/tree/main/.claude/skills/sake-testingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add kattouf/Sake --skill sake-testing -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install kattouf/Sake sake-testing --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kattouf/Sake.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/sake-testing .agents/skills/sake-testing && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sake-testing" agent skill from https://github.com/kattouf/Sake/tree/main/.claude/skills/sake-testing into .agents/skills/sake-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sake-testing", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kattouf/Sake --skill sake-testing -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install kattouf/Sake sake-testing --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kattouf/Sake.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/sake-testing .cursor/skills/sake-testing && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sake-testing" agent skill from https://github.com/kattouf/Sake/tree/main/.claude/skills/sake-testing into .cursor/skills/sake-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sake-testing", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/kattouf/Sake.git --path .claude/skills/sake-testing--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add kattouf/Sake --skill sake-testing -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install kattouf/Sake sake-testing --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kattouf/Sake.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/sake-testing .gemini/skills/sake-testing && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sake-testing" agent skill from https://github.com/kattouf/Sake/tree/main/.claude/skills/sake-testing into .gemini/skills/sake-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sake-testing", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install kattouf/Sake sake-testingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add kattouf/Sake --skill sake-testing -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/kattouf/Sake.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/sake-testing .github/skills/sake-testing && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sake-testing" agent skill from https://github.com/kattouf/Sake/tree/main/.claude/skills/sake-testing into .github/skills/sake-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sake-testing", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kattouf/Sake --skill sake-testing -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install kattouf/Sake sake-testing --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kattouf/Sake.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/sake-testing .opencode/skills/sake-testing && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sake-testing" agent skill from https://github.com/kattouf/Sake/tree/main/.claude/skills/sake-testing into .opencode/skills/sake-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sake-testing", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sake-testingA skill your agent uses when writing or running tests for the Sake project — unit tests, macro expansion tests, integration tests, test helpers, and CI test commands.
Sake Testing is an agent skill from kattouf/Sake. Use when writing or running tests for the Sake project — unit tests, macro expansion tests, integration tests, test helpers, and CI test commands.
Its SKILL.md is about 740 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Integration testing, Unit testing and iOS development. It works with Bash. The repository describes itself as: 🍶 Swift-based utility for managing project commands, inspired by Make. The licence is MIT.
Read from SKILL.md and the folder at commit 80a3e98. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
swiftFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sake Testing loads about 743 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 108 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from kattouf/Sake at commit 80a3e98, republished under its MIT licence (© kattouf). 108 words, ~743 tokens.
.claude/skills/sake-testing/SKILL.md (or your agent's skills folder).| Target | Tests | Framework |
|---|---|---|
SakeTests | Command, CommandRunner, CommandsPreprocessor, ClosestMatchFinder, CommandListFormatter | XCTest |
SakeCLILibraryTests | ConfigManager, ConfigResolver, SakeAppManager, FileHandle | XCTest |
SakeMacrosTests | @CommandGroup macro expansion | XCTest + SwiftSyntaxMacrosTestSupport |
IntegrationTests | Full CLI execution via subprocess | XCTest + swift-subprocess |
sake test # build + unit + integration
sake build_tests # build only
sake unit_tests --skip-build # unit tests without rebuild
sake integration_tests --skip-build # integration tests without rebuildDirect swift commands:
swift test --filter "^(?!.*\bIntegrationTests\b).*" # unit + macro tests
swift test --filter IntegrationTests # integration only
swift test # everythingnonisolated(unsafe) var runnedCommands: [String] = []
let command = Command(
skipIf: { _ in runnedCommands.append("skipIf"); return false },
run: { _ in runnedCommands.append("run") },
)
let runner = CommandRunner(command: command, context: .empty)
try await runner.run()
XCTAssertEqual(runnedCommands, ["skipIf", "run"])private extension Command.Context {
static var empty: Command.Context {
Command.Context(
arguments: [],
environment: [:],
appDirectory: "",
runDirectory: "",
storage: .init(),
interruptionHandler: .init(processMonitor: .init()),
)
}
}let dep = Command(run: { context in
context.storage["key"] = "value"
})
let main = Command(dependencies: [dep], run: { context in
XCTAssertEqual(context.storage["key"] as? String, "value")
})import SakeMacros
import SwiftSyntaxMacrosTestSupport
assertMacroExpansion(
inputSource,
expandedSource: expectedOutput,
macros: ["CommandGroup": CommandGroupMacro.self],
)Use protocol-based mocking for SakeAppManagerFileHandle and SakeAppManagerCommandExecutor. Tests verify:
Full end-to-end: compile SakeApp, execute commands, verify output. Use swift-subprocess to run sake binary.
All test methods use async throws:
func testSomething() async throws {
// ...
}© kattouf, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/sake-testing of kattouf/Sake.
Open the folder on GitHubat commit 80a3e98
Sake Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Sake Testing this skillkattouf/Sake | 116 | — | ~743 | Automated safety check: Pass | MIT | |
| Test Generatorgustavscirulis/snapgrid | 117 | 1 repos | ~2.7k | Automated safety check: Notes | Custom licence | |
| Test Writing WorkflowiOfficeAI/AionUi | 33k | 1 repos | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Megatron Core Testing GuideNVIDIA/Megatron-LM | 18k | 1 repos | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| OpenROAD Module Test AdderThe-OpenROAD-Project/OpenROAD | 3.2k | — | ~1.8k | Automated safety check: Pass | BSD-3-Clause | |
| CI FixFastLED/FastLED | 7.5k | — | ~897 | Automated safety check: Pass | MIT |
gustavscirulis/snapgrid
Generate test templates for unit tests, integration tests, and UI tests using Swift Testing and XCTest.
iOfficeAI/AionUi
Sets the test-writing workflow for the repository: risk-first scenario lists, behavior-focused Vitest tests, a full run before each commit and a coverage target.
NVIDIA/Megatron-LM
Guide to the Megatron-LM test system: layout, recipe YAML, running and adding unit and functional tests, golden values, marker filters and CI parity.
The-OpenROAD-Project/OpenROAD
Adds integration or unit tests to an OpenROAD module: writes the Tcl test, generates golden files and registers it in both CMake and Bazel.
FastLED/FastLED
Scan all CI builds and tests, find failures, fetch error logs, and fix the code.
aws/aws-lambda-dotnet
Add a new AWS event source attribute (e.g., Kinesis, Kafka, MQ) to the Lambda .NET Annotations framework, including the attribute class, source generator integration, CloudFormation writer, unit…
kattouf/Sake
A skill your agent uses when working on CI workflows, GitHub Actions, release process, changelog generation (git-cliff), or dependabot configuration.
kattouf/Sake
A skill your agent uses when working on SakeCLI or SakeCLILibrary targets — CLI entry point, config resolution, SakeAppManager build/run lifecycle, error handling, shell execution.
kattouf/Sake
A skill your agent uses when writing or modifying Sake commands, CommandGroups, SakeApp files, or SakeApp/ directory code.
kattouf/Sake
A skill your agent uses when working on Sake configuration — .sake.yml, environment variables, CLI options, ConfigManager, ConfigResolver, or adding new config options.
kattouf/Sake
A skill your agent uses when writing or updating Sake documentation — VitePress site structure, existing pages, how to add new docs, documentation conventions.
kattouf/Sake
A skill your agent uses when modifying the @CommandGroup macro in SakeMacros target — SwiftSyntax ExtensionMacro, code generation patterns, testing with assertMacroExpansion.
Works with
Categories
A skill your agent uses when writing or running tests for the Sake project — unit tests, macro expansion tests, integration tests, test helpers, and CI test commands. Sake Testing is an agent skill from kattouf/Sake. Use when writing or running tests for the Sake project — unit tests, macro expansion tests, integration tests, test helpers, and CI test commands.
Sake Testing fits situations like: running tests for the Sake project — unit tests; macro expansion tests; integration tests; CI test commands.
Run `npx skills add kattouf/Sake --skill sake-testing -a claude-code`. Or copy the skill folder (.claude/skills/sake-testing in kattouf/Sake) into .claude/skills/sake-testing in your project. Claude Code loads it when a task matches its description.
Run `npx skills add kattouf/Sake --skill sake-testing -a codex`. Or copy the skill folder (.claude/skills/sake-testing in kattouf/Sake) into .agents/skills/sake-testing in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kattouf/Sake --skill sake-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sake-testing, .gemini/skills/sake-testing, .github/skills/sake-testing and .opencode/skills/sake-testing in your project.
Going by SKILL.md and its folder, Sake Testing needs the command-line tools its instructions call (swift).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sake Testing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 743 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Sake Testing: Test Generator (gustavscirulis/snapgrid, 117 stars), Test Writing Workflow (iOfficeAI/AionUi, 33k stars), Megatron Core Testing Guide (NVIDIA/Megatron-LM, 18k stars) and OpenROAD Module Test Adder (The-OpenROAD-Project/OpenROAD, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
kattouf (a GitHub user) maintains it in kattouf/Sake, which has 116 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on April 5, 2026.
Source: kattouf/Sake on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.