# Techsmith Local Dev Loop

> 'TechSmith local dev loop for Snagit COM API and Camtasia automation. Use when working with TechSmith screen capture and video editing automation. Trigger: "techsmith local dev loop". '

- Skill: `jeremylongshore/techsmith-local-dev-loop` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jeremylongshore/techsmith-local-dev-loop`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jeremylongshore/techsmith-local-dev-loop/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: jeremylongshore (https://skillmd.com/u/jeremylongshore)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/jeremylongshore/techsmith-local-dev-loop

---


# TechSmith Local Dev Loop

## Overview

Set up a development workflow for TechSmith automation scripts with PowerShell testing.

## Instructions

### Step 1: Project Structure

```
techsmith-automation/
├── scripts/
│   ├── capture-screenshot.ps1
│   ├── batch-render.ps1
│   └── capture-video.ps1
├── tests/
│   └── test-com-connection.ps1
├── output/
└── templates/
    └── camtasia-presets/
```

### Step 2: Test COM Connection

```powershell
# tests/test-com-connection.ps1
Describe "Snagit COM Server" {
    It "Should create ImageCapture object" {
        $capture = New-Object -ComObject Snagit.ImageCapture
        $capture | Should -Not -BeNullOrEmpty
    }

    It "Should create VideoCapture object" {
        $video = New-Object -ComObject Snagit.VideoCapture
        $video | Should -Not -BeNullOrEmpty
    }
}
```

### Step 3: Run Tests with Pester

```powershell
Install-Module -Name Pester -Force -SkipPublisherCheck
Invoke-Pester ./tests/ -Output Detailed
```

## Error Handling

| Error | Cause | Solution |
|-------|-------|----------|
| COM not available | Snagit not installed | Install Snagit on dev machine |
| Pester not found | Module missing | `Install-Module Pester` |

## Resources

- [Pester Testing Framework](https://pester.dev/)
- [Snagit COM Samples](https://github.com/TechSmith/Snagit-COM-Samples)

## Next Steps

Proceed to `techsmith-sdk-patterns`.

---

**Source:** [`jeremylongshore/claude-code-plugins-plus-skills`](https://github.com/jeremylongshore/claude-code-plugins-plus-skills) → `skills/.curated/techsmith-local-dev-loop/SKILL.md`

**Also appears in:** `jeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/techsmith-pack/skills/techsmith-local-dev-loop/SKILL.md`

