Plugin Testing
polyipseity/obsidian-terminal
Skill for testing Obsidian plugin features in this repository.
Write integration tests for the td-sync admin API using the TestHarness in internal/api/testharnesstest.go.
$ npx skills add marcus/td --skill td-integration-test -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install marcus/td td-integration-test --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/marcus/td.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/td-integration-test .claude/skills/td-integration-test && 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 "td-integration-test" agent skill from https://github.com/marcus/td/tree/main/.claude/skills/td-integration-test into .claude/skills/td-integration-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "td-integration-test", 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/marcus/td/tree/main/.claude/skills/td-integration-testType 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 marcus/td --skill td-integration-test -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install marcus/td td-integration-test --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/marcus/td.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/td-integration-test .agents/skills/td-integration-test && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "td-integration-test" agent skill from https://github.com/marcus/td/tree/main/.claude/skills/td-integration-test into .agents/skills/td-integration-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "td-integration-test", 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 marcus/td --skill td-integration-test -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install marcus/td td-integration-test --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/marcus/td.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/td-integration-test .cursor/skills/td-integration-test && 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 "td-integration-test" agent skill from https://github.com/marcus/td/tree/main/.claude/skills/td-integration-test into .cursor/skills/td-integration-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "td-integration-test", 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/marcus/td.git --path .claude/skills/td-integration-test--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 marcus/td --skill td-integration-test -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install marcus/td td-integration-test --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/marcus/td.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/td-integration-test .gemini/skills/td-integration-test && 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 "td-integration-test" agent skill from https://github.com/marcus/td/tree/main/.claude/skills/td-integration-test into .gemini/skills/td-integration-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "td-integration-test", 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 marcus/td td-integration-testInstalls 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 marcus/td --skill td-integration-test -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/marcus/td.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/td-integration-test .github/skills/td-integration-test && 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 "td-integration-test" agent skill from https://github.com/marcus/td/tree/main/.claude/skills/td-integration-test into .github/skills/td-integration-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "td-integration-test", 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 marcus/td --skill td-integration-test -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install marcus/td td-integration-test --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/marcus/td.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/td-integration-test .opencode/skills/td-integration-test && 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 "td-integration-test" agent skill from https://github.com/marcus/td/tree/main/.claude/skills/td-integration-test into .opencode/skills/td-integration-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "td-integration-test", 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.
td-integration-testWrite integration tests for the td-sync admin API using the TestHarness in internal/api/testharnesstest.go.
Td Integration Test is an agent skill from marcus/td. Write integration tests for the td-sync admin API using the TestHarness in internal/api/testharnesstest.go. Use when asked to write, add, or fix integration tests for admin API endpoints (server, users, projects, events, snapshots, CORS, auth). The harness provides a real HTTP server, fluent state builder, and assertion helpers. Tests go in internal/api/adminintegrationtest.go.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/harness-api.md`).
It sits in Testing & QA, covering Integration testing. The repository describes itself as: A minimalist CLI for tracking tasks across AI coding sessions. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b206bbf. 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:
goFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
x.comFrom 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.
Td Integration Test loads about 1.2k tokens when it runs, and up to ~3.6k if it reads all its reference files. Until then it costs about 101 tokens; SKILL.md has 285 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 marcus/td at commit b206bbf, republished under its MIT licence (© marcus). 285 words, ~1,221 tokens.
.claude/skills/td-integration-test/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Write integration tests in internal/api/admin_integration_test.go using the harness in internal/api/testharness_test.go. Tests run against a real HTTP server on a random port with isolated temp databases.
func TestIntegration_DescriptiveName(t *testing.T) {
t.Parallel()
h := newTestHarness(t)
state := h.Build().
WithUser("user@test.com").
WithAdmin("admin@test.com", "admin:read:server,sync").
WithProject("proj1", "user@test.com").
WithEvents("proj1", "user@test.com", 5).
Done()
token := state.AdminToken("admin@test.com")
pid := state.ProjectID("proj1")
var resp adminEventsResponse
h.DoJSON("GET", fmt.Sprintf("/v1/admin/projects/%s/events", pid), token, nil, &resp)
if len(resp.Data) != 5 {
t.Fatalf("expected 5 events, got %d", len(resp.Data))
}
}See references/harness-api.md for the complete API reference with all method signatures and detailed usage notes.
newTestHarness(t, ...func(*Config)) *TestHarness -- real HTTP server, isolated DB, auto-cleanuph.Do(method, path, token, body) *http.Response -- real HTTP request (caller closes body)h.DoJSON(method, path, token, body, &out) *http.Response -- request + JSON decode (fatals on 4xx/5xx)h.Build().
WithUser(email). // sync-scoped key
WithAdmin(email, scopes). // admin key with scopes
WithProject(name, ownerEmail). // via API (owner must exist)
WithMember(projectName, email, role). // "owner"/"writer"/"reader"
WithEvents(projectName, userEmail, count).// cycles issues/logs/comments
WithSnapshot(projectName). // triggers snapshot build
WithAuthEvents(count). // inserts directly to DB
WithRateLimitEvents(count). // inserts directly to DB
Done() // -> *TestStateOrdering matters: create users before projects, projects before members/events/snapshots.
state.UserToken(email), state.UserID(email), state.AdminToken(email), state.ProjectID(name), state.Harness()
AssertStatus(t, resp, 200) -- checks status, prints body on failureAssertErrorResponse(t, resp, 403, "insufficient_admin_scope") -- checks status + error codeReadJSON[T](t, resp) T -- generic JSON decodeAssertPaginated[T](t, resp, count, hasMore) PaginatedResponse[T] -- checks paginated listAssertCORSHeaders(t, resp, origin) / AssertNoCORSHeaders(t, resp)h.AssertRequiresAdminScope(t, method, path, wrongToken) -- 403 + error code check| Scope | Endpoints |
|---|---|
admin:read:server | server/overview, server/config, rate-limit-violations, users, users/{id}, users/{id}/keys, auth/events |
admin:read:projects | projects, projects/{id}, projects/{id}/members, sync/status, sync/cursors |
admin:read:events | projects/{id}/events, projects/{id}/events/{seq}, entity-types |
admin:read:snapshots | projects/{id}/snapshot/meta, projects/{id}/snapshot/query |
admin:export | projects/{id}/events/export |
Internal types accessible from test files in package api:
serverOverviewResponse -- server overviewserverConfigResponse -- server configadminEventsResponse -- {Data []adminEvent, HasMore bool}adminEvent -- single event: ServerSeq, EntityType, EntityID, ActionType, PayloadadminSyncStatusResponse -- {EventCount, LastServerSeq, LastEventTime}adminCursorEntry -- {ClientID, LastEventID, LastSyncAt, DistanceFromHead}serverdb.AdminProject -- project: ID, Name, MemberCount, EventCountserverdb.AdminUser -- user: ID, Email, IsAdmin, ProjectCountserverdb.AdminProjectMember -- {UserID, Email, Role}t.Parallel() -- each harness is isolatedTestIntegration_newTestHarness(t, func(cfg *Config) { cfg.CORSAllowedOrigins = []string{"https://x.com"} })h.CreateUser("first@test.com") when testing non-admin denialhttp.NewRequest since Do doesn't support custom headersgo test -v -run TestIntegration ./internal/api/© marcus, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in .claude/skills/td-integration-test of marcus/td.
Open the folder on GitHubat commit b206bbf
Td Integration Test 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 |
|---|---|---|---|---|---|---|
| Td Integration Test this skillmarcus/td | 250 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Plugin Testingpolyipseity/obsidian-terminal | 948 | — | ~828 | Automated safety check: Pass | AGPL-3.0 | |
| Create Modulecartography-cncf/cartography | 4.1k | — | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| Integration E2E Testingshinpr/claude-code-workflows | 690 | — | ~3.5k | Automated safety check: Pass | MIT | |
| JS-in-HTML Testingliaohch3/claude-tap | 3.3k | — | ~924 | Automated safety check: Pass | MIT | |
| Crosvm Testinggoogle/crosvm | 1.3k | — | ~847 | Automated safety check: Pass | BSD-3-Clause |
polyipseity/obsidian-terminal
Skill for testing Obsidian plugin features in this repository.
cartography-cncf/cartography
Author a new Cartography intel module end-to-end (entry point, sync GET/TRANSFORM/LOAD/CLEANUP, declarative data model, integration test, schema docs).
shinpr/claude-code-workflows
Integration and E2E test design principles, ROI calculation, test skeleton specification, and review criteria.
liaohch3/claude-tap
Tests JavaScript embedded in an HTML file in two layers: pytest checks of the logic ported to Python, and Playwright runs in a real browser for the DOM.
google/crosvm
Skill to assist with running tests and managing test VMs in the crosvm repository.
talkincode/toughradius
Write CI-executable acceptance/integration tests for protocol or end-to-end changes (TR-F022).
marcus/td
Task management for AI agents across context windows. An agent skill from marcus/td.
Categories
Write integration tests for the td-sync admin API using the TestHarness in internal/api/testharnesstest.go. Td Integration Test is an agent skill from marcus/td.go.
Td Integration Test fits situations like: fix integration tests for admin API endpoints (server; tasks that involve Integration testing.
Run `npx skills add marcus/td --skill td-integration-test -a claude-code`. Or copy the skill folder (.claude/skills/td-integration-test in marcus/td) into .claude/skills/td-integration-test in your project. Claude Code loads it when a task matches its description.
Run `npx skills add marcus/td --skill td-integration-test -a codex`. Or copy the skill folder (.claude/skills/td-integration-test in marcus/td) into .agents/skills/td-integration-test 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 marcus/td --skill td-integration-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/td-integration-test, .gemini/skills/td-integration-test, .github/skills/td-integration-test and .opencode/skills/td-integration-test in your project.
Going by SKILL.md and its folder, Td Integration Test needs the command-line tools its instructions call (go).
SKILL.md names 1 domain. In commands or code: x.com; the agent is likely to contact it when it follows the instructions. 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.
Td Integration Test is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Td Integration Test: Plugin Testing (polyipseity/obsidian-terminal, 948 stars), Create Module (cartography-cncf/cartography, 4.1k stars), Integration E2E Testing (shinpr/claude-code-workflows, 690 stars) and JS-in-HTML Testing (liaohch3/claude-tap, 3.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
marcus (a GitHub user) maintains it in marcus/td, which has 250 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 30, 2026.
Source: marcus/td on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.