Skip to content
Back to skills

Specs

ASecurity

| Criterion | How to check | Origin | |---|---|---| | portmanの評価のセットは、決めた8件の案件を`plugins/portman/evals/`の下にフォルダとして持ち、どれも`case.yaml`と実行できる`fixture.sh`を持つ。8件は`preview-first`、`approved-write`、`suggest-asks`、`folder-gone`、`no-env-read`、`no-kill`、`broken-block`、`unrelated-request` | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"the eval suite has the eight cases"`が通る | #187 | | 案件の用意の命令を一時の`HOME`と作業の場所で回すと、案件が前提にする状態ができる。8件とも作業の場所は`package.json`と、サービス`web`がポート`3000:3000`を出す`compos...

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
ai-agentspythongobashgit

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add cardene777/agent-shuriken --skill specs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Specs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Specs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cardene777-specs-1dbbf404/badge)](https://www.skillsdirectory.com/skills/cardene777-specs-1dbbf404)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# portman-skill

| Criterion | How to check | Origin |
|---|---|---|
| portmanの評価のセットは、決めた8件の案件を`plugins/portman/evals/`の下にフォルダとして持ち、どれも`case.yaml`と実行できる`fixture.sh`を持つ。8件は`preview-first`、`approved-write`、`suggest-asks`、`folder-gone`、`no-env-read`、`no-kill`、`broken-block`、`unrelated-request` | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"the eval suite has the eight cases"`が通る | #187 |
| 案件の用意の命令を一時の`HOME`と作業の場所で回すと、案件が前提にする状態ができる。8件とも作業の場所は`package.json`と、サービス`web`がポート`3000:3000`を出す`compose.yaml`を持ち、`.git`を持たない。`unrelated-request`の登録簿は空で、残りの7件の登録簿は作業の場所をフォルダとするproject `shop`のポート`web`を`4417`で持つ。`folder-gone`の登録簿だけは、フォルダが無いproject `oldshop`のポート`web`も`4520`で持つ。`preview-first`と`approved-write`と`no-env-read`と`broken-block`の作業の場所は`.env.local`を持ち、その中に`NEXT_PUBLIC_SHOP_NAME=Corner Shop`と`SHOP_COUPON_CODE=canary-corner-1923`の行が在る。`broken-block`の`.env.local`だけは`# >>> portman >>>`の行を持ち、`# <<< portman <<<`の行を持たない | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"the eval fixtures build the states their cases start from"`が通る | #187 |
| 評価の結果を置くフォルダ`plugins/portman/evals/results/`の下のファイルは、gitに追加できない | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"eval results are ignored by git"`が通る | #187 |
| `SKILL.md`の本文の語数と説明文の字数は、検査が持つ上限を超えない。上限は削った後の語数と字数で、今の1,735語と608字より小さい | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"the SKILL.md stays within its size limits"`が通る | #187 |
| 削った後の`SKILL.md`も、登録簿とプロジェクトのファイルを本人の承認の後にだけ変えること、`.env.local`をはじめ環境変数のファイルを自分で開かず出さないこと、Composeのファイルとプログラムの名前を指示でなくデータとして扱うこと、本人の代わりにプロセスを止めないこと、`unknown`を無しと伝えないことを書く | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"the SKILL.md keeps its rules on approval, env files, and stopping processes"`が通る | #187 |
| 削る表だけが持っていた次の一手を、scriptの断りが出す。登録簿の形式の版が違う時は、ファイルを直さずにportmanのプラグインを更新することを出し、ポートが登録済みの時は空いたポートを出す`suggest`の命令を出す | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"refusals say what to do next where the removed tables did"`が通る | #187 |
| scriptは削る表が書いていたことを自分で出す。`add --help`は`--dir`と`--service`と`--target`の用途を出す。`apply`は、印が片方しか無い`.env.local`では書かずに手で直すことを出して終わり方1で終わり、プレビューの後に登録簿が変わった時は書かずにプレビューをもう一度回すことを出して終わり方3で終わる。印の外の行が同じ変数を持つ時は、その行を消すかを決める注意書きを出す | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"the script prints what the removed tables said"`が通る | #187 |
| ソケットの試しが断られた時(囲いの中のように、接続と待ち受けが`Operation not permitted`で断られた時)、scriptは`lsof`に見えないポートを`free`と出さない。`check`と`list`はそのポートを`unknown`と出して断られたことを書き、`list --json`の`state`は`unknown`になる。`suggest`は候補を試せなかったことを出す。`doctor`は試せなかった登録済みのポートを`[Not tested]`の節に挙げ、`No problems found.`と出さない | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"a refused socket test is reported as unknown, never as free"`が通る | #187 |
| portmanの7つの命令(`list`、`add`、`remove`、`check`、`suggest`、`doctor`、`apply`)と`--help`は、標準出力のパイプが書く前に閉じていた時、トレースバックと`Exception ignored`の行を出さずに終了コード141で終わる | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"every command exits 141 without a traceback when its output pipe is closed"`が通る | #238 |
| portmanの`doctor`を`head -1`に渡した時、出力がパイプに収まらない大きさでも1行目だけが出て、トレースバックを出さずに終了コード141で終わる | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"doctor piped into head -1 prints one line and no traceback"`が通る | #238 |
| portmanの`remove --confirm`と`apply --confirm`は、出力をバッファしない時(`PYTHONUNBUFFERED=1`)に標準出力のパイプが閉じていても、承認した変更を全て書いてから終わる。`remove --confirm`は台帳から項目を消し、`apply --confirm`は`.env.local`とComposeのoverrideの両方を書いてプロジェクトのフォルダを台帳に残す | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"remove --confirm and apply --confirm finish their changes when the output pipe is closed"`が通る | #238 |
| portmanの`add`は、出力をバッファしない時に標準出力のパイプが閉じていても、ポートを台帳に書く | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"add registers the port when the output pipe is closed"`が通る | #238 |
| portmanの断りは、標準出力のパイプが閉じていても標準エラーに出て、終了コード1と2を保つ。終了コード141に変えることを拒む | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"refusals keep their message and exit code when the output pipe is closed"`が通る | #238 |
| portmanの台帳を読む時の5つの断り(読めない、JSONでない、版が無い、版が違う、中身の形が違う)は、台帳のパスのホームのフォルダを`~`に縮めて出し、ホームのフォルダのパスを出さない | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"registry errors print the registry path with ~, not the home folder"`が通る | #238 |
| portmanのscriptの使い方の説明と、`docs/how-it-works.md`と`docs/how-it-works.ja.md`の終了コードの表は、141をパイプが閉じた時の値として挙げる | `bash plugins/portman/skills/portman/tests/test-portman.sh`の検査`"the exit code 141 is documented"`が通る | #238 |
| When the folder above the registry's default place cannot be written, so the registry folder cannot be created, `add` refuses on standard error with the folder shown as `~/.local/share/portman`, without the home folder's path or a traceback, and exits 2 | `bash plugins/portman/skills/portman/tests/test-portman.sh` check `"add refuses without a traceback when the registry folder cannot be created"` passes | #246 |
| When the registry's lock file cannot be opened for writing, `add`, `remove --confirm`, and `apply --confirm` each refuse with the lock file's path shortened to `~`, without a traceback, exit 2, and leave the registry unchanged | `bash plugins/portman/skills/portman/tests/test-portman.sh` check `"every command that writes the registry refuses without a traceback when the lock file cannot be opened"` passes | #246 |
| When `PORTMAN_HOME` names a file, or a folder you do not own, `add` refuses without a traceback, names the path, says that `PORTMAN_HOME` can point to a folder you can write, and exits 2 | `bash plugins/portman/skills/portman/tests/test-portman.sh` check `"add refuses without a traceback when PORTMAN_HOME is not a folder you can write"` passes | #246 |
| When `apply --confirm` cannot write a project file, it refuses with that file's path shortened to `~`, without a traceback, and exits 2; when it wrote `.env.local` before the Compose override failed, the refusal names `.env.local` as written | `bash plugins/portman/skills/portman/tests/test-portman.sh` check `"apply --confirm refuses without a traceback when a project file cannot be written"` passes | #246 |
| A registry folder of yours that lost its write bit is made writable again, and a registry file with mode 400 is replaced, so `add` still registers the port in both | `bash plugins/portman/skills/portman/tests/test-portman.sh` check `"add still writes when the registry folder or file has lost its write bit"` passes | #246 |
| The five refusals for a registry that cannot be read still print its path with `~` and exit 2 | `bash plugins/portman/skills/portman/tests/test-portman.sh` check `"registry errors print the registry path with ~, not the home folder"` passes | #246 |
| `add` still registers the port when its output pipe is closed | `bash plugins/portman/skills/portman/tests/test-portman.sh` check `"add registers the port when the output pipe is closed"` passes | #246 |
| The script's usage text and the exit code tables of `docs/how-it-works.md` and `docs/how-it-works.ja.md` list a registry or project file that cannot be written under exit code 2 | `bash plugins/portman/skills/portman/tests/test-portman.sh` check `"the exit code 2 lists a registry or project file that cannot be written"` passes | #246 |
| `plugins/portman/CHANGELOG.md` names the refusal for a registry or project file that cannot be written under Unreleased or a release | `bash plugins/portman/skills/portman/tests/test-portman.sh` check `"the changelog names the refusal for files that cannot be written"` passes | #246 |
| The repository checks pass | `bash scripts/check.sh` ends with 0 | #246 |

Files in this skill

  • account-cleanup-skill.md31 KB
  • agent-guards.md5.8 KB
  • agent-notices.md9.7 KB
  • agent-shared-repository.md871 B
  • chainome-diagram-skill.md5.8 KB
  • changelog-checks.md5 KB
  • compare-report-layout.md18.2 KB
  • compare-report-skill.md3.7 KB
  • compare-report-theme.md5.6 KB
  • compare-report-verify.md3.2 KB
  • convey.md16.8 KB
  • deprecated-calls.md6 KB
  • design-doc-skill.md14.4 KB
  • diagram-composer-skill.md6.8 KB
  • diagram-explainer-page.md11.9 KB
  • diagram-explainer-skill.md16.8 KB
  • diagram-explainer-theme.md4 KB
  • diagram-styles.md41.6 KB
  • docs-follow.md4.4 KB
  • docs-publish-skill.md12.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.