Communityコーディング&開発github.com

mianhtsys/landingMod3

セキュアなソフトウェアエンジニアリングを実現するための予防重視のワークフローです。要件定義、設計、実装、レビューの各段階でセキュリティを考慮し、脅威モデリングや安全なデフォルト設定などを支援します。

landingMod3 とは?

このスキルは、ソフトウェア開発のライフサイクル全体を通じてセキュリティを組み込むための予防的なワークフローを提供します。主な用途は、新機能やサービスのセキュリティ要件の定義、脅威モデリング、安全なデフォルト設定の選択、認証・認可設計、信頼できないデータやシークレットの取り扱い、依存関係の評価、マルチテナント環境における信頼境界の設計、セキュリティ関連のコード変更のレビューです。このスキルは、Amazon Bedrock などのクラウド環境や Claude Code、Cursor、Codex などの AI エージェントツール上で動作し、セキュリティ上の欠陥が本番環境に到達する前に対処することを目的としています。ワークフローは「要件定義」「脅威モデリング」「設計」「実装」「レビューとリリース」の5つのフェーズから構成され、各フェーズで参照すべきリファレンスファイルやテンプレートが用意されています。このスキルは予防に特化しており、事後的なセキュリティ評価や脆弱性スキャンには使用せず、別のスキル(security-audit-methodology など)に委ねます。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mianhtsys/landingMod3/tree/HEAD/MODULO_3_DESARROLLO_AL_LADO_DEL_CLIENTE_Y_SERVIDOR_WEB/architecture-skills-framework/.agents/skills/secure-software-engineering

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

セキュアなソフトウェアエンジニアリング

欠陥が本番環境に到達する前に、セキュリティを意思決定に組み込みます。これは予防重視のワークフローであり、設計やリリースが安全であることを主張するものではありません。前提条件、収集したエビデンス、残存リスク、および承認された例外の責任者を記録してください。

使用すべき場合

新しい機能、統合、サービス、API、テナント境界、AI機能、リリースについて、「これを安全に構築するにはどうすればよいか?」という問いに答えるためにこのスキルを使用します。早期に開始し、アーキテクチャ、データフロー、依存関係、脅威が変化した場合には影響を受ける決定を再検討します。

事後的な評価が承認された場合には使用しないでください。security-audit-methodology を使用します。既存のコードベースの脆弱性スキャナーとしては使用しないでください。承認されたスキャンツールまたは専門のセキュリティ評価を使用します。結果として得られる要件とフェーズゲートを形式化するタスクには spec-driven-development を、エビデンスに基づく完了主張を行うには verification-methodology を使用します。

使用すべきでない場合

エンドツーエンドのテナントモデル、コントロール/アプリケーションプレーンの配置、商用ライフサイクル、SaaS運用アーキテクチャについては multi-tenant-saas-architecture を使用します。このスキルは脅威モデルと強制可能な分離制御を担当します。定量的なテナント需要、クォータサイジング、公平性、負荷/耐久性のエビデンス、単価トレードオフについては capacity-and-cost-engineering を使用します。プライバシーライフサイクルと削除検証の成果物は privacy-engineering にルーティングします。

ワークフロー

  1. 要件定義: アセット、アクター、害、データ分類、規制上または契約上の制約、セキュリティ成果を特定します。制御を選択する前に、テスト可能な受入基準を記述します。
  2. 脅威モデリング: データフローと信頼境界をマッピングします。前提条件、悪用ケース、緩和策、残存リスクを記載します。STRIDEはオプションの語彙であり、網羅的な方法ではありません。
  3. 設計: 信頼モデルに適合する制御を選択します。サーバーサイドの認可、データ分離、安全な障害動作、AI機能境界を含みます。却下した代替案を説明します。
  4. 実装: 各境界をコードと設定で強制可能にします。入力、出力、資格情報、依存関係、ログ、運用パスを保護します。
  5. レビューとリリース: 直接的なエビデンスで制御を検証し、バイパスがないか変更をレビューし、リリースエビデンスを保存し、インシデントやニアミスを要件とテストにフィードバックします。

エビデンスが前提条件と矛盾したり、設計が変更された場合は、影響を受けるフェーズにループします。各重要な決定に責任者、直接的なエビデンスまたは明示的なギャップ、残存リスクの処分が定められた時点で停止します。

リファレンスファイル

読み込むタイミングファイル
バージョンが固定されたソースとその決定用途が必要な場合references/source-index.md
アセット、境界、悪用ケース、セキュリティ基準を定義する場合references/security-requirements-threat-modeling.md
アイデンティティ、セッション、権限、サービスアクセスを選択する場合references/authentication-authorization.md
リクエスト、ファイル、URL、シリアル化データ、出力、AIコンテンツを処理する場合references/input-validation-data-handling.md
キー、トークン、資格情報、署名素材を追加する場合references/secrets-lifecycle.md
依存関係を追加、更新、ビルド、公開する場合references/dependency-supply-chain.md
ログ、監査イベント、監視、フォレンジックエビデンスを設計する場合references/secure-logging-audit.md
テナント間でインフラストラクチャやデータを共有する場合(コントロール/アプリケーションプレーン、テナントコンテキスト、サポートアクセス、テナントライフサイクル証明を含む)references/multi-tenant-isolation.md
変更をレビューする、またはセキュリティレビューゲートを定義する場合references/secure-code-review.md
リリースに向けて成果物、例外、ロールバック、対応を準備する場合references/release-evidence.md; release-engineering を読み込み、それらの制御とエビデンスをビルド、レジストリ、プロモーション、デプロイメントゲートを通じて伝達します
インシデント、ニアミス、エスケープされた欠陥から学習する場合references/incident-learning.md
LLM、RAGパイプライン、モデル統合、エージェントツールを設計する場合references/ai-llm-security.md

テンプレート

使用するタイミングファイル
機能やシステムの脅威モデルを開始する場合templates/lightweight-threat-model.md
仕様や変更に対するセキュリティ受入基準を作成する場合templates/security-acceptance-criteria.md
セキュリティ関連のコード変更をレビューする場合templates/secure-code-review-checklist.md

ガードレール

  • プロンプト、取得コンテンツ、ツール出力、ウェブフック、ファイル、クライアント提供のアイデンティティまたはテナントフィールドは、境界が検証するまで信頼できないものとして扱います。
  • フレームワーク、スキャン、SBOM、署名、来歴証明、チェックリストは、限定された主張に関するエビデンスであり、ソフトウェアが安全であることの証明ではありません。
  • 制御を普遍的にしてはいけません。認証プロトコルは信頼モデルに依存します。行レベルセキュリティは1つの分離メカニズムです。シークレットローテーションはイベントとリスクに従います。制御は実際のデプロイメントで検証を必要とします。
  • 完了した脅威モデルとセキュリティ受入基準は、システムの境界や弱点を露出する場合は機密として扱います。プレースホルダーを使用し、実際の資格情報やプライベートなデプロイメントの詳細は決して使用しないでください。

移植性

成果物の作成、テストの実行、承認の取得には、ホスト環境の通常のメカニズムを使用します。ベンダー、クラウド、アイデンティティプロバイダー、データベース、CIシステム、デプロイメントトポロジーを前提としないでください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

mianhtsys/landingMod3

Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive user experiences.

mianhtsys/landingMod3

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

mianhtsys/landingMod3

Diseña y compara alternativas arquitectónicas trazables a RF/RNF sin implementar código.

mianhtsys/landingMod3

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.

mianhtsys/landingMod3

Revisión adversarial de la arquitectura contra RF/RNF, detectando contradicciones, cobertura faltante y complejidad innecesaria.

mianhtsys/landingMod3

Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.

mianhtsys/landingMod3

>- Generate grounded-and-verified, engine-agnostic database documentation that reaches 100% parity with the real schema. Introspects the LIVE database as ground truth and cross-validates it against ORM models, migrations, generated types, seeds, and application queries, then proves completeness by diffing the docs back against the database. Produces ER diagrams (mermaid), per-table data dictionaries, and a machine-readable schema.json. Works with PostgreSQL, MySQL, SQL Server, and SQLite across any ORM (Prisma, TypeORM, Drizzle, Sequelize, Knex, Django, Rails) or raw SQL. Use when asked to document a database, produce an ERD or data dictionary, write db/schema docs, audit schema drift, or refresh existing DB docs.

mianhtsys/landingMod3

Compara estrategias de persistencia y motores de datos según consistencia, concurrencia, volumen, recuperación y operación.

mianhtsys/landingMod3

Design robust, scalable database schemas for SQL and NoSQL databases. Provides normalization guidelines, indexing strategies, migration patterns, constraint design, and performance optimization. Ensures data integrity, query performance, and maintainable data models.

mianhtsys/landingMod3

Consolida análisis especializados en una recomendación arquitectónica, matriz de decisión, ADR y plan de validación.

mianhtsys/landingMod3

Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability.

mianhtsys/landingMod3

Build and maintain web frontends — component architecture, state management, API integration, responsive layout, client-side performance, and frontend testing patterns. Framework agnostic, focused on web frontend implementation. Do not use for backend service implementation, data engineering, or platform infrastructure work.

mianhtsys/landingMod3

Evalúa despliegue, contenedores, escalado, alta disponibilidad, observabilidad, backup, recuperación y CI/CD de forma proporcional.

mianhtsys/landingMod3

Execute read-only SQL queries against multiple Microsoft SQL Server databases. Use when: (1) querying MSSQL/SQL Server databases, (2) exploring database schemas/tables, (3) running SELECT queries for data analysis, (4) checking database contents. Supports multiple database connections with descriptions for intelligent auto-selection. Blocks all write operations (INSERT, UPDATE, DELETE, DROP, etc.) for safety.

mianhtsys/landingMod3

Generate and maintain OpenAPI 3.1 specifications from code, design-first specs, and validation patterns. Use when creating API documentation, generating SDKs, or ensuring API contract compliance.

mianhtsys/landingMod3

PHP 8.0+ development — XAMPP, RESTful APIs, PDO/MySQL/MariaDB, and authentication. Use when building PHP backends, creating API endpoints, configuring XAMPP, or integrating PHP with databases.

mianhtsys/landingMod3

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features

mianhtsys/landingMod3

Analiza requisitos funcionales y no funcionales, reglas, restricciones, capacidad y ambigüedades antes de seleccionar tecnologías.

mianhtsys/landingMod3

Implement modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first breakpoint strategies. Use when building adaptive interfaces, implementing fluid layouts, or creating component-level responsive behavior.

mianhtsys/landingMod3

Revisa seguridad arquitectónica, identidad, autorización, secretos, APIs, auditoría, fraude y resiliencia antes de implementar.

関連スキル