Skip to content

45deg/45deg-skills

v0.1.0

Skills for code readability, software testing, formal verification, UI design, and Japanese prose editing.

Skills

AIエージェント向けのスキル集です。コードの可読性・テスト・形式検証、UI/カラー設計、日本語文章の推敲を扱います。

日本語 | English

日本語

スキル一覧

スキル分野概要スキル言語
human-readable-codeコード実装可読性の高いコード設計・実装・レビュー英語
human-readable-code-jaコード実装コード構造・日本語コメント・冒頭要約マップの設計日本語
write-quality-testsテスト仕様とリスクに基づくテスト設計・実装・レビュー英語
verify-with-dafny形式検証Dafnyを用いたアルゴリズム・状態更新の検証英語
verify-with-quint形式検証Quintを用いた既存コード・状態遷移のモデル検証英語
design-clear-uiUI設計認知負荷(記憶・探索・判断)を減らすUIの設計・改善英語
dads-foundations-coreUI設計デジタル庁デザインシステム(DADS)基盤の適用・監査英語
ud-color-designカラー設計カラーユニバーサルデザイン(CUD)配色と視認性チェック英語
naturalize-japanese-prose日本語文章意味や主張の強さを保ったままAI由来の日本語を自然化日本語
slop-copy-detector日本語文章キャッチコピー・見出し・タイトルを掲載位置と文脈に沿って診断日本語

インストール

リポジトリに含まれるスキルの一覧を表示します。

npx skills add 45deg/skills --list

特定のスキルをインストールする場合は、各スキルに記載の --skill <スキル名> コマンドを実行してください。

npx skills add 45deg/skills --skill <スキル名>

スキル

コード・テスト・形式検証

human-readable-code

新規実装、機能追加、リファクタリング、レビューで、言語を問わず人が意図を追いやすいコードを書く・改善するためのスキルです。命名、データ表現、制御フロー、インターフェース、状態、失敗の設計に加え、目的や前提を示すコメント、ASCII図表、index.* を含むファイル冒頭の要約マップの書き方を扱います。

npx skills add 45deg/skills --skill human-readable-code
human-readable-code-ja

コードの構造、日本語コメント、ファイル冒頭の要約マップを一体で設計する独立したスキルです(他スキルを追加せず単体で使用可能)。実装、リファクタリング、レビューにおいて、命名、データ表現、制御フロー、契約、状態、失敗を扱い、仕様と実装を根拠にした日本語の説明を最初から書きます。ファイル冒頭の要約マップには役割と主な処理を示し、index.* などの入口では公開内容と実装先も案内します。

npx skills add 45deg/skills --skill human-readable-code-ja
write-quality-tests

仕様とリスクに基づくテストの設計・実装と、生成されたテストのレビューを支援するスキルです。期待値の根拠、境界条件、認可、途中失敗後の復旧、欠陥を検出できるかの確認を扱います。フロントエンド、バックエンド、DB、API契約、E2E、セキュリティ、性能・信頼性、データパイプラインの8つのサブスキルと、一次資料38件の出典一覧・調査整理を同梱しています。

npx skills add 45deg/skills --skill write-quality-tests

Note

サブスキルと共有資料を含むディレクトリ全体を使用してください。テストの設計とレビューの判断を支援するガイドであり、引用した研究はそれぞれの手法やツールを評価したものです。本スキルの使用によって欠陥検出率が向上することを保証するものではありません。

verify-with-dafny

Quint公式スキルの検証ワークフローを参考に、Dafnyを使ってアルゴリズムや状態更新の正しさを検証するスキルです。事前条件と事後条件、ループ不変条件、停止性、変更可能範囲(フレーム)に加え、仮定や未検証部分の監査を扱います。Dafnyの公式スキルではありません。

npx skills add 45deg/skills --skill verify-with-dafny
verify-with-quint

公式のQuintスキルを参考に、既存のコード、プロトコル、状態遷移をモデル化して検証する自己完結型のスキルです。ソースコードとの対応、原子性や障害の仮定、不変条件・到達可能性・活性の検証、反例の調査、検証範囲の報告を扱い、モデル検査の成功と実装の正しさを明確に区別します。

npx skills add 45deg/skills --skill verify-with-quint

UI・デザイン

design-clear-ui

WebやアプリのUIを設計・レビュー・改善し、利用者が覚えること、探すこと、読み直すこと、判断することを減らすためのスキルです。操作の流れ、選択肢の示し方、UI文言、フィードバック、中断後の再開を扱います。既存のデザインシステムとアクセシビリティを保ち、必要な情報や操作が実際に使う場面で揃っているかを確認します。

npx skills add 45deg/skills --skill design-clear-ui
dads-foundations-core

日本の行政機関向けWeb UIを設計、レビュー、実装する際に、デジタル庁デザインシステム(DADS)のデザイン基盤(カラー、タイポグラフィ、レイアウト、余白、アイコン、リンク、アクセシビリティ、エレベーション、角の形状など)を適用・監査するためのスキルです。

npx skills add 45deg/skills --skill dads-foundations-core

Note

これはデジタル庁による公式の公開物、パッケージ、推奨表明ではありません。DADSのWebサイトをもとにLLM利用向けに編集・蒸留した派生資料です。利用・再利用時は README.md に記載の出典・利用上の注意事項・コピーライトポリシーを確認してください。

  • README.md: 出典、ライセンス、収録ファイル一覧
  • SKILL.md: 適用ルールとリファレンスの参照先
ud-color-design

カラーユニバーサルデザイン(CUD)とUDカラーの原則を、Web UI、グラフ、地図、インフォグラフィック、スライド、サイン、印刷物・DTPへ適用するスキルです。用途に応じた画面用RGB・印刷用CMYK値の選択、識別しにくい配色ペアの検出、ラベル・アイコン・パターン・線種など色以外の補助表現の追加を行います。

npx skills add 45deg/skills --skill ud-color-design

日本語文章

naturalize-japanese-prose

AIが生成または補助した日本語の文章を、意味、事実、論理関係、情報量、書き手の立場、主張の強さを保ちながら自然な日本語へ書き直すスキルです。指示とリファレンスはすべて日本語の構文・句読点・文体・ジャンル慣習に基づいて記述されています。

主な用途:

  • 構成の繰り返しや過剰な道案内、機械的な接続表現、均一なリズムの診断・整理
  • 曖昧な抽象表現や名詞偏重の構文の解消、タイトル・見出しにおける演出目的の不要な読点の修正
  • 用語、限定表現、引用、ジャンル固有の慣習の保持と、根拠のない評価・因果・推測の切り分け
  • 書き直し前後の意味の追加・欠落の監査と、自然さ・一読での解析しやすさ・読者理解の分離評価
npx skills add 45deg/skills --skill naturalize-japanese-prose
slop-copy-detector

日本語のキャッチコピー・見出し・タイトルを診断します。掲載位置と前後の文面を読み、言い回しが読者に何を伝えるかを確かめます。

npx skills add 45deg/skills --skill slop-copy-detector

English

Skills Overview

SkillCategorySummaryLanguage
human-readable-codeCodeWrite, refactor, and review human-readable code across languagesEnglish
human-readable-code-jaCodeDesign code structure, Japanese comments, and opening maps togetherJapanese
write-quality-testsTestingRisk-based test design, implementation, and reviewEnglish
verify-with-dafnyVerificationVerify algorithms and state updates with Dafny contracts and proofsEnglish
verify-with-quintVerificationModel and verify existing code, protocols, and state transitions in QuintEnglish
design-clear-uiUI DesignReduce memory, attention, reading, and decision demands in UIEnglish
dads-foundations-coreUI DesignApply and audit Digital Agency Design System (DADS) foundationsEnglish
ud-color-designColor DesignApply Color Universal Design (CUD) palettes and redundant cuesEnglish
naturalize-japanese-proseJapanese ProseRevise AI-assisted Japanese while preserving meaning and stanceJapanese
slop-copy-detectorJapanese ProseAssess Japanese catchphrases, headings, and titles in contextJapanese

Install

List the skills in this repository:

npx skills add 45deg/skills --list

Install any specific skill using the --skill <skill-name> command shown in each section below:

npx skills add 45deg/skills --skill <skill-name>

Skills

Code, Testing & Verification

human-readable-code

An English skill for writing and improving human-readable code across languages during implementation, feature development, refactoring, and review. Covers naming, data representations, control flow, interfaces, state, and failures, plus purpose and invariant comments, useful ASCII tables or diagrams, and opening summary maps for files including index.* entry points.

npx skills add 45deg/skills --skill human-readable-code
human-readable-code-ja

An independent Japanese-language skill for designing code structure, Japanese comments, and opening summary maps together. Covers implementation, refactoring, and review of naming, data representation, control flow, contracts, state, and failures, with explanations drafted directly from verified requirements and implementation. Opening maps identify file responsibilities and processing stages, including public responsibilities and implementation paths in index.* entry points.

npx skills add 45deg/skills --skill human-readable-code-ja
write-quality-tests

An English skill for risk-based test design, implementation, and review of generated tests. Covers grounded expectations, boundary cases, authorization, recovery after partial failure, and evidence of defect detection. It bundles eight subskills (frontend, backend, database, contracts, E2E, security, performance and reliability, and data pipelines) alongside a research synthesis and source register covering 38 primary sources.

npx skills add 45deg/skills --skill write-quality-tests

Note

Keep the entire bundle, including its subskills and shared references, together. This is guidance for test-design and review decisions; the cited studies evaluate their own methods and tools and do not establish a defect-detection advantage from using this skill.

  • SKILL.md: Common workflow and subskill routing
  • Test design: Boundary, state-transition, and test-double guidance
  • AI test review: Checks against false confidence
  • Sources: Register of 38 primary sources
verify-with-dafny

An English skill for verifying algorithms and state updates with Dafny, informed by the official Quint modeling workflow. Covers contracts, loop invariants, termination, frames, and auditing assumptions and unverified boundaries. This is not an official Dafny skill.

npx skills add 45deg/skills --skill verify-with-dafny
  • SKILL.md: Verification workflow and audit rules
  • Language guide: Concise Dafny summaries and official documentation links
  • Proof patterns: Loops, mutable state, and implementation correspondence
  • Execution: Running the verifier and recording evidence
verify-with-quint

An English, self-contained skill informed by the official Quint skills for modeling and verifying existing code, protocols, and state transitions. Covers source correspondence, atomicity and failure assumptions, safety, reachability, liveness, counterexample investigation, and scoped verification evidence, distinguishing model-checking results from implementation correctness.

npx skills add 45deg/skills --skill verify-with-quint
  • SKILL.md: End-to-end modeling and verification workflow
  • Modeling: Extracting models from existing systems
  • Verification: Defining properties and running checks

UI & Design

design-clear-ui

An English skill for designing, reviewing, and improving web and app UI to reduce memory, attention, reading, and decision demands. Covers task flows, choices, UI copy, feedback, and recovery after interruption while preserving existing design systems and accessibility.

npx skills add 45deg/skills --skill design-clear-ui
dads-foundations-core

An English skill that applies Japanese government-style Digital Agency Design System (DADS) core design foundations—color, typography, layout, spacing, icons, links, elevation, corner shapes, and accessibility—when designing, reviewing, or implementing web UI.

npx skills add 45deg/skills --skill dads-foundations-core

Note

This is not an official Digital Agency publication, package, or endorsement. It is an edited and distilled derivative for LLM use. See README.md for source, usage notice, and copyright policy details.

  • README.md: Source, license notice, and file index
  • SKILL.md: Operating rules and reference routing
ud-color-design

An English skill for applying Color Universal Design (CUD) palette data and UD color-design checks to web UI, charts, maps, infographics, slides, signage, and print/DTP artifacts. Covers screen RGB and print CMYK selection, hard-to-distinguish color pairs, and redundant non-color cues such as labels, icons, patterns, line styles, and marker shapes.

npx skills add 45deg/skills --skill ud-color-design

Japanese Prose

naturalize-japanese-prose

Revises AI-generated or AI-assisted Japanese while preserving meaning, facts, logical relations, stance, and claim strength. Its instructions and references are written in Japanese because the editing criteria depend on Japanese syntax, punctuation, register, and genre conventions.

Use it for:

  • Diagnosing repetitive structures, excessive signposting, mechanical connectives, and uniform sentence rhythms
  • Replacing vague abstractions and noun-heavy phrasing, and removing unnecessary dramatic punctuation in titles and headings
  • Preserving terminology, qualifications, quotations, and genre conventions while flagging unsupported claims instead of polishing them
  • Auditing rewrites in both directions for semantic additions or omissions, and separating naturalness, parseability, and reader comprehension
npx skills add 45deg/skills --skill naturalize-japanese-prose
slop-copy-detector

Reviews Japanese catchphrases, headings, and titles in context. It considers where the copy appears and what the wording helps the reader understand.

npx skills add 45deg/skills --skill slop-copy-detector
  • SKILL.md for review criteria and examples
  • detect_slop.py for punctuation, length, candidate order, and duplicate counts

参考文献 / References

日本語の文章とコードコメント

一般財団法人日本特許情報機構 特許情報研究所『特許ライティングマニュアル(第2版)「産業日本語」』、一般財団法人日本特許情報機構、2018年3月26日第2版第1刷発行、2019年3月22日第2版第2刷発行。