techsmith-local-dev-loop

v2026.09.24

Iterate on Snagit COM automation with official samples, a fake adapter, bounded live probes, and disposable local output. Use when developing or reviewing Windows capture scripts. Trigger with "Snagit local development", "test Snagit PowerShell", or "iterate TechSmith automation".

GitHub
安装命令
npx skhub add jeremylongshore/techsmith-local-dev-loop
Markdown
SKILL.md

Snagit COM Local Development Loop

Overview

This skill keeps most development deterministic and screen-safe. Logic is tested against a fake capture adapter; the smallest live probe uses a licensed interactive workstation and one operator-selected window only when necessary.

Prerequisites

  • A repository with a narrow capture adapter and tests
  • TechSmith's official Snagit COM samples and guide pinned for reference
  • Optional licensed Windows workstation with an interactive session
  • Disposable local output directory, deadline, and artifact cleanup policy

Tool Discipline

Use Read, Glob, and Grep to inspect local scripts, manifests, logs, and tests. Use WebFetch only for current primary TechSmith documentation. Use Write or Edit only after confirming the target repository file and approval boundary.

Current Contract

  • Keep COM creation behind one adapter so unit tests do not require Snagit.
  • Load official enum definitions rather than scattering unexplained integers.
  • Model Capture() as asynchronous and cover success, false result, timeout, and invalid output path.
  • A live loop captures only an explicitly selected test window and never runs continuously.

Licensing and Authentication

TechSmith desktop activation is not API authentication. Resolve individual sign-in versus business-key or approved offline activation before execution. Redact all keys, account identifiers, activation artifacts, and sensitive endpoint details.

Instructions

  1. Inspect repository conventions, existing adapter boundaries, test runner, fixtures, and output policy.
  2. Copy or translate only the needed contracts from TechSmith's official sample; retain source attribution.
  3. Write fake-adapter tests for enum mapping, configuration order, timeout, success checks, path containment, and cleanup.
  4. Run lint and unit tests on every change without starting Snagit.
  5. When a live probe is justified, confirm operator/window/destination, run once, and compare evidence with the fake contract.
  6. Edit the adapter or tests from the observed mismatch, rerun, and remove disposable output.

Approval Boundaries

Do not turn the development loop into a background screen recorder, poll the desktop indefinitely, or commit captured images and videos as fixtures.

Output

Return changed files, offline test results, live-probe authorization/result, contract differences, artifact cleanup, and the next bounded experiment.

Error Handling

ConditionResponse
Official sample differs from adapterUpdate the adapter contract and add a regression test before another live probe.
No interactive workstationContinue with fakes and mark live behavior unverified.
Capture timeoutStop the COM operation and inspect state; do not loop forever.
Fixture contains sensitive pixelsRemove it from history and replace it with synthetic metadata.

Examples

The example below shows the minimum redacted evidence expected from a successful invocation of this operator workflow.

iteration=7; offline_tests=18_pass; live_probe=one-window; output=deleted; contract_delta=none

Resources

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

MIT

源路径

skills/.curated/techsmith-local-dev-loop

默认分支

main

最新提交

e5a6c3b

Tree SHA

c2dc8e8