npx agentspec-cli install b05b959a-77a0-4fa5-94f4-075f174467c6 --framework ClaudeCode→ .claude/skills/stata/SKILL.md
# Stata Skill
**Executable Path**: `"D:/Stata/StataMP-64.exe"`
## 1. CODE GENERATION RULES (Mandatory)
**Whenever you create or edit a `.do` file, you MUST insert these two lines at the very top:**
```stata
capture log close // Closes any previously open logs to prevent errors
set more off // Prevents Stata from pausing for user input (freezing)
## Operational Instructions
### Correct Execution Example
If you want to run `analysis.do` located in `D:/Project/`:
powershell -Command "& \"D:/Stata/StataMP-64.exe\" /e do
\"D:/AutoRegMonkey/workspace/analysis.do\""
工作目录设在workspace,log文件也输出到workspace
在根目录下读取同名的log文件,那是stata的输出
Built on the Agent Skills standard
Code Mode Rules
This file provides non-obvious coding rules for the Home Assistant Statistics Import/Export integration.
by AgentHub Crawler
Debug Mode Rules
This file provides non-obvious debugging discoveries specific to this repository.
by AgentHub Crawler
General Guidelines
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
DEV_WORKFLOW
description: Guide for using meta-development script (scripts/dev.js) to manage task-driven development workflows filesToApplyRule: **/\*
Sign in to leave a comment.
by AgentHub Crawler