captain-obvious
Audit TypeScript and Python Test Quality
Redundant assertions can inflate confidence without protecting observable behavior. Captain Obvious combines deterministic scanners with contextual review and a test-authoring contract checklist.
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "captain-obvious" from https://skillstore.io/skills/shmulc8-captain-obvious.md and its manifest at https://skillstore.io/api/skills/shmulc8-captain-obvious/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“captain-obvious”。 Review a Python test that assigns a local value of five and immediately checks that it equals five.
预期结果:
- Finding: local constant echo.
- Reason: the assertion repeats the test arrangement and does not inspect production behavior.
- Next step: identify the intended contract before replacing or removing the test.
正在使用“captain-obvious”。 Review a TypeScript promise rejection assertion that is not awaited.
预期结果:
- Finding: advisory asynchronous assertion.
- Reason: failure behavior depends on the test runner, and the assertion is not awaited.
- Proposal: await the assertion, then run the focused test after approval.
正在使用“captain-obvious”。 Review a conditional assertion when coverage shows that its line never executed.
预期结果:
- Finding: conditional assertion promoted to proven by coverage.
- Reason: the supplied coverage report records zero executions for the assertion line.
- Proposal: investigate the guard and preserve the intended contract. Do not automatically delete this report-only finding.
安全审计
中风险Most static alerts are false positives involving documentation, template literals, AST identifiers, or legitimate toolchain operations. Confirmed risks involve shadow-file overwrite and deletion, plus symlink-following report writes to documented predictable temporary paths. The fix guards also permit irreversible changes to untracked tests; no evidence found of credential exfiltration or prompt injection.
已确认安全问题 (1)
能力复核项 (7)
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
风险因素
📁 文件系统访问 (43)
⚙️ 外部命令 (50)
⚡ 包含脚本 (3)
🌐 网络访问 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/shmulc8-captain-obvious/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/shmulc8-captain-obvious?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/shmulc8-captain-obvious?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/shmulc8-captain-obvious/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/shmulc8-captain-obvious.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
shmulc8. (2026). captain-obvious security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/shmulc8-captain-obvious/audits/1BibTeX 引用
@techreport{shmulc8-shmulc8-captain-obvious-2026,
author = {shmulc8},
title = {captain-obvious security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/shmulc8-captain-obvious/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "captain-obvious security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "shmulc8"
date-released: "2026-10-21"
url: "https://skillstore.io/skills/shmulc8-captain-obvious/audits/1"
identifiers:
- type: other
value: "skillstore:shmulc8-captain-obvious:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Review Generated Test Suites
Find tautologies and mock echoes in generated tests, then review advisory findings against the production behavior.
Maintain Shared Test Standards
Use contract questions and documented detector categories to distinguish meaningful regression checks from redundant assertions during review.
Compare Test Changes in CI
Compare supported proven syntactic findings against a Git baseline without enabling fixes. Comparison errors return success with a diagnostic.
试试这些提示
Review this Python test using the authoring questions. Identify its observable contract and a plausible regression. Do not run commands or edit files.
Audit this trusted Python repository with --no-types and without --fix. Use stdout instead of a report file. Summarize findings without deleting tests.
Audit this trusted TypeScript project using its existing coverage report. Separate proven and advisory findings. Propose advisory changes for approval; do not edit files.
Review the --check workflow for this trusted repository against [base]. Explain fail-open behavior and excluded categories. Propose a report-only CI command for approval.
最佳实践
- Scan only trusted repositories, start without fixes, and avoid predictable shared temporary report paths.
- Back up untracked tests and existing shadow-named files before scanning or fixing; Python --no-types avoids shadow-file creation.
- Review each proposed deletion against its contract, obtain approval for advisory edits, and run type checks and tests afterward.
避免
- Treating a clean scanner report as proof that every test can detect meaningful regressions.
- Deleting advisory findings or weakening security contract tests solely because their assertions look repetitive.
- Using --force, trusting Git cleanliness for untracked files, or running repository toolchains without reviewing their trust boundary.