source-command-wait-to-test
Wait N seconds (default 20) via a blocking Node.js timer, for testing
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기포함된 파일(1)
- SKILL.md885 B
SKILL.md(원문)
설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
source-command-wait-to-test
Use this skill when the user asks to run the migrated source command wait-to-test.
Command Template
Wait for a period of time by running a blocking Node.js command. Useful for testing timing-dependent behavior.
-
Determine the number of seconds to wait:
- If an argument was given (e.g.
/wait-to-test 12), use it as the seconds. - Otherwise, default to 20 seconds.
- If an argument was given (e.g.
-
Convert seconds to milliseconds (seconds * 1000).
-
Run the following, substituting the computed milliseconds, and wait for it to finish:
node -e "setTimeout(() => {}, <milliseconds>)"Set the Bash tool'stimeouta few seconds above the wait duration so it doesn't cut the wait short. -
Report how many seconds were waited.
리뷰
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
댓글
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.