Analyze logs and source from a completed manual examples run. Never execute or control examples.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-examples-run-analysis-a3f1cdabdbae ,按照其中的说明把「examples-run-analysis」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Use this skill only to analyze artifacts that already exist after a user has manually invoked an examples Make target. This skill is read-only and analysis-only.
.github/scripts/run_examples.sh.The supported workflow is an explicit manual Make invocation followed by analysis of the generated artifacts.
.tmp/examples-auto-run.pid..tmp/examples-start-logs/main_*.log.log= field in the selected main log.PASSED, FAILED, and SKIPPED records.examples/run_examples.py, .github/scripts/run_examples.sh, and the example source files included in the run.Use only read-only inspection commands such as git status, git log, find, ls, stat, ps, sed, and rg. Do not call a command that can update an artifact or process.
.tmp/examples-auto-run.pid without changing either. Treat a process as an active examples run only when its command line is rooted in the current repository and invokes .github/scripts/run_examples.sh or examples/run_examples.py, including foreground and background runs. Use the pid file only to correlate a background process; an absent or stale pid file does not prove that no run is active. If a matching process is live, stop the analysis. Tell the user to wait for a foreground Make run to finish, or ask the user to run make examples-status manually for a background run, before requesting analysis again.main_*.log. Require exactly one terminal # summary executed=<n> skipped=<n> failed=<n> record. Treat a missing or malformed summary, a changing log, or a matching active examples process as incomplete.PASSED, FAILED, and SKIPPED record. Reconcile their counts with the terminal summary. Confirm that every referenced per-example log exists.PASSED record, without sampling, read the complete example source and its per-example log. Infer the intended flow, tools, side effects, and key result from the source and comments, then verify that the log demonstrates those behaviors. Exit status 0 alone is not behavioral validation.Choose the narrowest applicable command and ask the user to run it in a terminal:
make examples-run
make examples-run EXAMPLES_ARGS="--filter basic"
make examples-run-background EXAMPLES_ARGS="--include-server --include-audio"
make examples-status
Do not execute any of these commands as part of this skill.