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.