Skip to content

SepineTam/mcp-for-stata / .claude/skills/mcp-smoke-test

mcp-smoke-test

Verified

Run a local smoke test for the Stata-MCP server.

FileKindSize
SKILL.mdskill md5.7 KB
config/debug.example.tomlconfig1.1 KB
examples.mdmarkdown3.9 KB
scripts/boundary.doother29 B
scripts/cleanup.shexecutablescript865 B
scripts/gen_mock_data.pyscript4.7 KB
scripts/legal.doother90 B
scripts/prepare_smoke_test.shexecutablescript1.6 KB

scripts/cleanup.sh

View on GitHub
#!/usr/bin/env bash
#
# Copyright (C) 2026 - Present Sepine Tam, Inc. All Rights Reserved
#
# @Author : Sepine Tam (谭淞)
# @Email  : sepinetam@gmail.com
# @File   : .claude/skills/mcp-smoke-test/scripts/cleanup.sh

set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(cd "${SCRIPT_DIR}/../../../../" && pwd)"

echo "Cleaning up smoke test artifacts..."

# Remove files copied to /tmp for the security boundary test.
rm -f /tmp/mcp_smoke_test_boundary.do
rm -f /tmp/auto.dta

# Remove mock data generated when no system auto.dta was available.
rm -f "${PROJECT_ROOT}/tmp/auto_mock.dta"
rm -f "${PROJECT_ROOT}/tmp/auto_mock.csv"

# Clear cached get_data_info summaries.
CACHE_DIR="${PROJECT_ROOT}/.statamcp/stata-mcp-tmp"
if [[ -d "${CACHE_DIR}" ]]; then
    rm -rf "${CACHE_DIR}/data_info__"*
fi

echo "Cleanup complete."
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall