skills/consiliency/test-scaffolding/SKILL.md
Generate test file scaffolds from source analysis with language-appropriate templates.
npx skillsauth add aiskillstore/marketplace test-scaffoldingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate test file scaffolds for source files, enabling TDD workflows. Scaffolds contain TODO stubs that the test-engineer agent fills during lane execution.
| Variable | Default | Description |
|----------|---------|-------------|
| SOURCE_FILES | [] | List of source files to scaffold tests for |
| TEST_FRAMEWORK | auto | Framework to use (auto-detects from manifest) |
| OUTPUT_DIR | tests/ | Where to place generated test files |
| NAMING_CONVENTION | language-default | Test file naming pattern |
| INCLUDE_FIXTURES | true | Generate fixture stubs |
| STUB_STYLE | todo | todo (TODO comments) or skip (skip markers) |
pyproject.toml, package.json, go.mod, Cargo.toml)| Language | Frameworks | Detection |
|----------|------------|-----------|
| Python | pytest, unittest | pyproject.toml → [tool.pytest] or pytest in deps |
| TypeScript | vitest, jest | package.json → vitest or jest in devDeps |
| JavaScript | vitest, jest | package.json → vitest or jest in devDeps |
| Go | testing | go.mod → built-in testing package |
| Rust | cargo test | Cargo.toml → built-in test harness |
| Dart | flutter_test, test | pubspec.yaml → flutter_test or test in dev_deps |
| Language | Source | Test File |
|----------|--------|-----------|
| Python | src/auth/login.py | tests/auth/test_login.py |
| TypeScript | src/auth/login.ts | src/auth/login.test.ts or tests/auth/login.test.ts |
| Go | pkg/auth/login.go | pkg/auth/login_test.go |
| Rust | src/auth/login.rs | inline #[cfg(test)] module |
| Dart | lib/auth/login.dart | test/auth/login_test.dart |
def function_name( where name doesn't start with _class ClassName: for public classes__init__, __str__, etc. (dunder methods)export function, export const, export classexport default function/classpub fn, pub struct, pub enumimpl blocks with public methods{
"format": "scaffold-manifest/v1",
"generated_at": "<ISO-8601 UTC>",
"framework": "pytest",
"generated": [
{
"source": "src/auth/login.py",
"test": "tests/auth/test_login.py",
"units": ["login", "logout", "refresh_token"],
"unit_count": 3
}
],
"skipped": [
{
"source": "src/auth/utils.py",
"reason": "test file exists"
}
],
"total_units": 12
}
--force specified/ai-dev-kit:plan-phaseTests Owned Files columnOwned Artifacts from impl tasks as source files/ai-dev-kit:execute-lanechore(P{n}-{lane}): scaffold test filestest-engineer agent/ai-dev-kit:scaffold-tests is invokeddevelopment
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.