[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AK60Q5AKVKAEG84AFTN6DN":3,"skill-same:01M7AK60Q5AKVKAEG84AFTN6DN":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7AK60Q5AKVKAEG84AFTN6DN","django-verification",null,"Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.","Cyrilthetecchieee\u002Fcyril-code-","Cyrilthetecchieee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219787998?v=4","01M7AF0MMMKRAA0H61XMJPV92H","Julian Cyril D ","01M7AF0MQ10AVG6QJQ1C2BC0F5",2,"MIT","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fdocs\u002Fja-JP\u002Fskills\u002Fdjango-verification\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: django-verification\ndescription: \"Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.\"\n---\n\n# Django 検証ループ\n\nPR前、大きな変更後、デプロイ前に実行して、Djangoアプリケーションの品質とセキュリティを確保します。\n\n## フェーズ1: 環境チェック\n\n```bash\n# Pythonバージョンを確認\npython --version  # プロジェクト要件と一致すること\n\n# 仮想環境をチェック\nwhich python\npip list --outdated\n\n# 環境変数を確認\npython -c \"import os; import environ; print('DJANGO_SECRET_KEY set' if os.environ.get('DJANGO_SECRET_KEY') else 'MISSING: DJANGO_SECRET_KEY')\"\n```\n\n環境が誤って構成されている場合は、停止して修正します。\n\n## フェーズ2: コード品質とフォーマット\n\n```bash\n# 型チェック\nmypy . --config-file pyproject.toml\n\n# ruffでリンティング\nruff check . --fix\n\n# blackでフォーマット\nblack . --check\nblack .  # 自動修正\n\n# インポートソート\nisort . --check-only\nisort .  # 自動修正\n\n# Django固有のチェック\npython manage.py check --deploy\n```\n\n一般的な問題:\n- パブリック関数の型ヒントの欠落\n- PEP 8フォーマット違反\n- ソートされていないインポート\n- 本番構成に残されたデバッグ設定\n\n## フェーズ3: マイグレーション\n\n```bash\n# 未適用のマイグレーションをチェック\npython manage.py showmigrations\n\n# 欠落しているマイグレーションを作成\npython manage.py makemigrations --check\n\n# マイグレーション適用のドライラン\npython manage.py migrate --plan\n\n# マイグレーションを適用（テスト環境）\npython manage.py migrate\n\n# マイグレーションの競合をチェック\npython manage.py makemigrations --merge  # 競合がある場合のみ\n```\n\nレポート:\n- 保留中のマイグレーション数\n- マイグレーションの競合\n- マイグレーションのないモデルの変更\n\n## フェーズ4: テスト + カバレッジ\n\n```bash\n# pytestですべてのテストを実行\npytest --cov=apps --cov-report=html --cov-report=term-missing --reuse-db\n\n# 特定のアプリテストを実行\npytest apps\u002Fusers\u002Ftests\u002F\n\n# マーカーで実行\npytest -m \"not slow\"  # 遅いテストをスキップ\npytest -m integration  # 統合テストのみ\n\n# カバレッジレポート\nopen htmlcov\u002Findex.html\n```\n\nレポート:\n- 合計テスト: X成功、Y失敗、Zスキップ\n- 全体カバレッジ: XX%\n- アプリごとのカバレッジ内訳\n\nカバレッジ目標:\n\n| コンポーネント | 目標 |\n|-----------|--------|\n| モデル | 90%+ |\n| シリアライザー | 85%+ |\n| ビュー | 80%+ |\n| サービス | 90%+ |\n| 全体 | 80%+ |\n\n## フェーズ5: セキュリティスキャン\n\n```bash\n# 依存関係の脆弱性\npip-audit\nsafety check --full-report\n\n# Djangoセキュリティチェック\npython manage.py check --deploy\n\n# Banditセキュリティリンター\nbandit -r . -f json -o bandit-report.json\n\n# シークレットスキャン（gitleaksがインストールされている場合）\ngitleaks detect --source . --verbose\n\n# 環境変数チェック\npython -c \"from django.core.exceptions import ImproperlyConfigured; from django.conf import settings; settings.DEBUG\"\n```\n\nレポート:\n- 見つかった脆弱な依存関係\n- セキュリティ構成の問題\n- ハードコードされたシークレットが検出\n- DEBUGモードのステータス（本番環境ではFalseであるべき）\n\n## フェーズ6: Django管理コマンド\n\n```bash\n# モデルの問題をチェック\npython manage.py check\n\n# 静的ファイルを収集\npython manage.py collectstatic --noinput --clear\n\n# スーパーユーザーを作成（テストに必要な場合）\necho \"from apps.users.models import User; User.objects.create_superuser('admin@example.com', 'admin')\" | python manage.py shell\n\n# データベースの整合性\npython manage.py check --database default\n\n# キャッシュの検証（Redisを使用している場合）\npython -c \"from django.core.cache import cache; cache.set('test', 'value', 10); print(cache.get('test'))\"\n```\n\n## フェーズ7: パフォーマンスチェック\n\n```bash\n# Django Debug Toolbar出力（N+1クエリをチェック）\n# DEBUG=Trueで開発モードで実行してページにアクセス\n# SQLパネルで重複クエリを探す\n\n# クエリ数分析\ndjango-admin debugsqlshell  # django-debug-sqlshellがインストールされている場合\n\n# 欠落しているインデックスをチェック\npython manage.py shell \u003C\u003C EOF\nfrom django.db import connection\nwith connection.cursor() as cursor:\n    cursor.execute(\"SELECT table_name, index_name FROM information_schema.statistics WHERE table_schema = 'public'\")\n    print(cursor.fetchall())\nEOF\n```\n\nレポート:\n- ページあたりのクエリ数（典型的なページで50未満であるべき）\n- 欠落しているデータベースインデックス\n- 重複クエリが検出\n\n## フェーズ8: 静的アセット\n\n```bash\n# npm依存関係をチェック（npmを使用している場合）\nnpm audit\nnpm audit fix\n\n# 静的ファイルをビルド（webpack\u002Fviteを使用している場合）\nnpm run build\n\n# 静的ファイルを検証\nls -la staticfiles\u002F\npython manage.py findstatic css\u002Fstyle.css\n```\n\n## フェーズ9: 構成レビュー\n\n```python\n# Pythonシェルで実行して設定を検証\npython manage.py shell \u003C\u003C EOF\nfrom django.conf import settings\nimport os\n\n# 重要なチェック\nchecks = {\n    'DEBUG is False': not settings.DEBUG,\n    'SECRET_KEY set': bool(settings.SECRET_KEY and len(settings.SECRET_KEY) > 30),\n    'ALLOWED_HOSTS set': len(settings.ALLOWED_HOSTS) > 0,\n    'HTTPS enabled': getattr(settings, 'SECURE_SSL_REDIRECT', False),\n    'HSTS enabled': getattr(settings, 'SECURE_HSTS_SECONDS', 0) > 0,\n    'Database configured': settings.DATABASES['default']['ENGINE'] != 'django.db.backends.sqlite3',\n}\n\nfor check, result in checks.items():\n    status = '✓' if result else '✗'\n    print(f\"{status} {check}\")\nEOF\n```\n\n## フェーズ10: ログ設定\n\n```bash\n# ログ出力をテスト\npython manage.py shell \u003C\u003C EOF\nimport logging\nlogger = logging.getLogger('django')\nlogger.warning('Test warning message')\nlogger.error('Test error message')\nEOF\n\n# ログファイルをチェック（設定されている場合）\ntail -f \u002Fvar\u002Flog\u002Fdjango\u002Fdjango.log\n```\n\n## フェーズ11: APIドキュメント（DRFの場合）\n\n```bash\n# スキーマを生成\npython manage.py generateschema --format openapi-json > schema.json\n\n# スキーマを検証\n# schema.jsonが有効なJSONかチェック\npython -c \"import json; json.load(open('schema.json'))\"\n\n# Swagger UIにアクセス（drf-yasgを使用している場合）\n# ブラウザで http:\u002F\u002Flocalhost:8000\u002Fswagger\u002F を訪問\n```\n\n## フェーズ12: 差分レビュー\n\n```bash\n# 差分統計を表示\ngit diff --stat\n\n# 実際の変更を表示\ngit diff\n\n# 変更されたファイルを表示\ngit diff --name-only\n\n# 一般的な問題をチェック\ngit diff | grep -i \"todo\\|fixme\\|hack\\|xxx\"\ngit diff | grep \"print(\"  # デバッグステートメント\ngit diff | grep \"DEBUG = True\"  # デバッグモード\ngit diff | grep \"import pdb\"  # デバッガー\n```\n\nチェックリスト:\n- デバッグステートメント（print、pdb、breakpoint()）なし\n- 重要なコードにTODO\u002FFIXMEコメントなし\n- ハードコードされたシークレットや資格情報なし\n- モデル変更のためのデータベースマイグレーションが含まれている\n- 構成の変更が文書化されている\n- 外部呼び出しのエラーハンドリングが存在\n- 必要な場所でトランザクション管理\n\n## 出力テンプレート\n\n```\nDJANGO 検証レポート\n==========================\n\nフェーズ1: 環境チェック\n  ✓ Python 3.11.5\n  ✓ 仮想環境がアクティブ\n  ✓ すべての環境変数が設定済み\n\nフェーズ2: コード品質\n  ✓ mypy: 型エラーなし\n  ✗ ruff: 3つの問題が見つかりました（自動修正済み）\n  ✓ black: フォーマット問題なし\n  ✓ isort: インポートが適切にソート済み\n  ✓ manage.py check: 問題なし\n\nフェーズ3: マイグレーション\n  ✓ 未適用のマイグレーションなし\n  ✓ マイグレーションの競合なし\n  ✓ すべてのモデルにマイグレーションあり\n\nフェーズ4: テスト + カバレッジ\n  テスト: 247成功、0失敗、5スキップ\n  カバレッジ:\n    全体: 87%\n    users: 92%\n    products: 89%\n    orders: 85%\n    payments: 91%\n\nフェーズ5: セキュリティスキャン\n  ✗ pip-audit: 2つの脆弱性が見つかりました（修正が必要）\n  ✓ safety check: 問題なし\n  ✓ bandit: セキュリティ問題なし\n  ✓ シークレットが検出されず\n  ✓ DEBUG = False\n\nフェーズ6: Djangoコマンド\n  ✓ collectstatic 完了\n  ✓ データベース整合性OK\n  ✓ キャッシュバックエンド到達可能\n\nフェーズ7: パフォーマンス\n  ✓ N+1クエリが検出されず\n  ✓ データベースインデックスが構成済み\n  ✓ クエリ数が許容範囲\n\nフェーズ8: 静的アセット\n  ✓ npm audit: 脆弱性なし\n  ✓ アセットが正常にビルド\n  ✓ 静的ファイルが収集済み\n\nフェーズ9: 構成\n  ✓ DEBUG = False\n  ✓ SECRET_KEY 構成済み\n  ✓ ALLOWED_HOSTS 設定済み\n  ✓ HTTPS 有効\n  ✓ HSTS 有効\n  ✓ データベース構成済み\n\nフェーズ10: ログ\n  ✓ ログが構成済み\n  ✓ ログファイルが書き込み可能\n\nフェーズ11: APIドキュメント\n  ✓ スキーマ生成済み\n  ✓ Swagger UIアクセス可能\n\nフェーズ12: 差分レビュー\n  変更されたファイル: 12\n  +450、-120行\n  ✓ デバッグステートメントなし\n  ✓ ハードコードされたシークレットなし\n  ✓ マイグレーションが含まれる\n\n推奨: WARNING: デプロイ前にpip-auditの脆弱性を修正してください\n\n次のステップ:\n1. 脆弱な依存関係を更新\n2. セキュリティスキャンを再実行\n3. 最終テストのためにステージングにデプロイ\n```\n\n## デプロイ前チェックリスト\n\n- [ ] すべてのテストが成功\n- [ ] カバレッジ ≥ 80%\n- [ ] セキュリティ脆弱性なし\n- [ ] 未適用のマイグレーションなし\n- [ ] 本番設定でDEBUG = False\n- [ ] SECRET_KEYが適切に構成\n- [ ] ALLOWED_HOSTSが正しく設定\n- [ ] データベースバックアップが有効\n- [ ] 静的ファイルが収集され提供\n- [ ] ログが構成され動作中\n- [ ] エラー監視（Sentryなど）が構成済み\n- [ ] CDNが構成済み（該当する場合）\n- [ ] Redis\u002Fキャッシュバックエンドが構成済み\n- [ ] Celeryワーカーが実行中（該当する場合）\n- [ ] HTTPS\u002FSSLが構成済み\n- [ ] 環境変数が文書化済み\n\n## 継続的インテグレーション\n\n### GitHub Actionsの例\n\n```yaml\n# .github\u002Fworkflows\u002Fdjango-verification.yml\nname: Django Verification\n\non: [push, pull_request]\n\njobs:\n  verify:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:14\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - uses: actions\u002Fcheckout@v3\n\n      - name: Set up Python\n        uses: actions\u002Fsetup-python@v4\n        with:\n          python-version: '3.11'\n\n      - name: Cache pip\n        uses: actions\u002Fcache@v3\n        with:\n          path: ~\u002F.cache\u002Fpip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**\u002Frequirements.txt') }}\n\n      - name: Install dependencies\n        run: |\n          pip install -r requirements.txt\n          pip install ruff black mypy pytest pytest-django pytest-cov bandit safety pip-audit\n\n      - name: Code quality checks\n        run: |\n          ruff check .\n          black . --check\n          isort . --check-only\n          mypy .\n\n      - name: Security scan\n        run: |\n          bandit -r . -f json -o bandit-report.json\n          safety check --full-report\n          pip-audit\n\n      - name: Run tests\n        env:\n          DATABASE_URL: postgres:\u002F\u002Fpostgres:postgres@localhost:5432\u002Ftest\n          DJANGO_SECRET_KEY: test-secret-key\n        run: |\n          pytest --cov=apps --cov-report=xml --cov-report=term-missing\n\n      - name: Upload coverage\n        uses: codecov\u002Fcodecov-action@v3\n```\n\n## クイックリファレンス\n\n| チェック | コマンド |\n|-------|---------|\n| 環境 | `python --version` |\n| 型チェック | `mypy .` |\n| リンティング | `ruff check .` |\n| フォーマット | `black . --check` |\n| マイグレーション | `python manage.py makemigrations --check` |\n| テスト | `pytest --cov=apps` |\n| セキュリティ | `pip-audit && bandit -r .` |\n| Djangoチェック | `python manage.py check --deploy` |\n| 静的ファイル収集 | `python manage.py collectstatic --noinput` |\n| 差分統計 | `git diff --stat` |\n\n**覚えておいてください**: 自動化された検証は一般的な問題を捕捉しますが、手動でのコードレビューとステージング環境でのテストに代わるものではありません。\n","# Django 検証ループ\n\nPR前、大きな変更後、デプロイ前に実行して、Djangoアプリケーションの品質とセキュリティを確保します。\n\n## フェーズ1: 環境チェック\n\n```bash\n# Pythonバージョンを確認\npython --version  # プロジェクト要件と一致すること\n\n# 仮想環境をチェック\nwhich python\npip list --outdated\n\n# 環境変数を確認\npython -c \"import os; import environ; print('DJANGO_SECRET_KEY set' if os.environ.get('DJANGO_SECRET_KEY') else 'MISSING: DJANGO_SECRET_KEY')\"\n```\n\n環境が誤って構成されている場合は、停止して修正します。\n\n## フェーズ2: コード品質とフォーマット\n\n```bash\n# 型チェック\nmypy . --config-file pyproject.toml\n\n# ruffでリンティング\nruff check . --fix\n\n# blackでフォーマット\nblack . --check\nblack .  # 自動修正\n\n# インポートソート\nisort . --check-only\nisort .  # 自動修正\n\n# Django固有のチェック\npython manage.py check --deploy\n```\n\n一般的な問題:\n- パブリック関数の型ヒントの欠落\n- PEP 8フォーマット違反\n- ソートされていないインポート\n- 本番構成に残されたデバッグ設定\n\n## フェーズ3: マイグレーション\n\n```bash\n# 未適用のマイグレーションをチェック\npython manage.py showmigrations\n\n# 欠落しているマイグレーションを作成\npython manage.py makemigrations --check\n\n# マイグレーション適用のドライラン\npython manage.py migrate --plan\n\n# マイグレーションを適用（テスト環境）\npython manage.py migrate\n\n# マイグレーションの競合をチェック\npython manage.py makemigrations --merge  # 競合がある場合のみ\n```\n\nレポート:\n- 保留中のマイグレーション数\n- マイグレーションの競合\n- マイグレーションのないモデルの変更\n\n## フェーズ4: テスト + カバレッジ\n\n```bash\n# pytestですべてのテストを実行\npytest --cov=apps --cov-report=html --cov-report=term-missing --reuse-db\n\n# 特定のアプリテストを実行\npytest apps\u002Fusers\u002Ftests\u002F\n\n# マーカーで実行\npytest -m \"not slow\"  # 遅いテストをスキップ\npytest -m integration  # 統合テストのみ\n\n# カバレッジレポート\nopen htmlcov\u002Findex.html\n```\n\nレポート:\n- 合計テスト: X成功、Y失敗、Zスキップ\n- 全体カバレッジ: XX%\n- アプリごとのカバレッジ内訳\n\nカバレッジ目標:\n\n| コンポーネント | 目標 |\n|-----------|--------|\n| モデル | 90%+ |\n| シリアライザー | 85%+ |\n| ビュー | 80%+ |\n| サービス | 90%+ |\n| 全体 | 80%+ |\n\n## フェーズ5: セキュリティスキャン\n\n```bash\n# 依存関係の脆弱性\npip-audit\nsafety check --full-report\n\n# Djangoセキュリティチェック\npython manage.py check --deploy\n\n# Banditセキュリティリンター\nbandit -r . -f json -o bandit-report.json\n\n# シークレットスキャン（gitleaksがインストールされている場合）\ngitleaks detect --source . --verbose\n\n# 環境変数チェック\npython -c \"from django.core.exceptions import ImproperlyConfigured; from django.conf import settings; settings.DEBUG\"\n```\n\nレポート:\n- 見つかった脆弱な依存関係\n- セキュリティ構成の問題\n- ハードコードされたシークレットが検出\n- DEBUGモードのステータス（本番環境ではFalseであるべき）\n\n## フェーズ6: Django管理コマンド\n\n```bash\n# モデルの問題をチェック\npython manage.py check\n\n# 静的ファイルを収集\npython manage.py collectstatic --noinput --clear\n\n# スーパーユーザーを作成（テストに必要な場合）\necho \"from apps.users.models import User; User.objects.create_superuser('admin@example.com', 'admin')\" | python manage.py shell\n\n# データベースの整合性\npython manage.py check --database default\n\n# キャッシュの検証（Redisを使用している場合）\npython -c \"from django.core.cache import cache; cache.set('test', 'value', 10); print(cache.get('test'))\"\n```\n\n## フェーズ7: パフォーマンスチェック\n\n```bash\n# Django Debug Toolbar出力（N+1クエリをチェック）\n# DEBUG=Trueで開発モードで実行してページにアクセス\n# SQLパネルで重複クエリを探す\n\n# クエリ数分析\ndjango-admin debugsqlshell  # django-debug-sqlshellがインストールされている場合\n\n# 欠落しているインデックスをチェック\npython manage.py shell \u003C\u003C EOF\nfrom django.db import connection\nwith connection.cursor() as cursor:\n    cursor.execute(\"SELECT table_name, index_name FROM information_schema.statistics WHERE table_schema = 'public'\")\n    print(cursor.fetchall())\nEOF\n```\n\nレポート:\n- ページあたりのクエリ数（典型的なページで50未満であるべき）\n- 欠落しているデータベースインデックス\n- 重複クエリが検出\n\n## フェーズ8: 静的アセット\n\n```bash\n# npm依存関係をチェック（npmを使用している場合）\nnpm audit\nnpm audit fix\n\n# 静的ファイルをビルド（webpack\u002Fviteを使用している場合）\nnpm run build\n\n# 静的ファイルを検証\nls -la staticfiles\u002F\npython manage.py findstatic css\u002Fstyle.css\n```\n\n## フェーズ9: 構成レビュー\n\n```python\n# Pythonシェルで実行して設定を検証\npython manage.py shell \u003C\u003C EOF\nfrom django.conf import settings\nimport os\n\n# 重要なチェック\nchecks = {\n    'DEBUG is False': not settings.DEBUG,\n    'SECRET_KEY set': bool(settings.SECRET_KEY and len(settings.SECRET_KEY) > 30),\n    'ALLOWED_HOSTS set': len(settings.ALLOWED_HOSTS) > 0,\n    'HTTPS enabled': getattr(settings, 'SECURE_SSL_REDIRECT', False),\n    'HSTS enabled': getattr(settings, 'SECURE_HSTS_SECONDS', 0) > 0,\n    'Database configured': settings.DATABASES['default']['ENGINE'] != 'django.db.backends.sqlite3',\n}\n\nfor check, result in checks.items():\n    status = '✓' if result else '✗'\n    print(f\"{status} {check}\")\nEOF\n```\n\n## フェーズ10: ログ設定\n\n```bash\n# ログ出力をテスト\npython manage.py shell \u003C\u003C EOF\nimport logging\nlogger = logging.getLogger('django')\nlogger.warning('Test warning message')\nlogger.error('Test error message')\nEOF\n\n# ログファイルをチェック（設定されている場合）\ntail -f \u002Fvar\u002Flog\u002Fdjango\u002Fdjango.log\n```\n\n## フェーズ11: APIドキュメント（DRFの場合）\n\n```bash\n# スキーマを生成\npython manage.py generateschema --format openapi-json > schema.json\n\n# スキーマを検証\n# schema.jsonが有効なJSONかチェック\npython -c \"import json; json.load(open('schema.json'))\"\n\n# Swagger UIにアクセス（drf-yasgを使用している場合）\n# ブラウザで http:\u002F\u002Flocalhost:8000\u002Fswagger\u002F を訪問\n```\n\n## フェーズ12: 差分レビュー\n\n```bash\n# 差分統計を表示\ngit diff --stat\n\n# 実際の変更を表示\ngit diff\n\n# 変更されたファイルを表示\ngit diff --name-only\n\n# 一般的な問題をチェック\ngit diff | grep -i \"todo\\|fixme\\|hack\\|xxx\"\ngit diff | grep \"print(\"  # デバッグステートメント\ngit diff | grep \"DEBUG = True\"  # デバッグモード\ngit diff | grep \"import pdb\"  # デバッガー\n```\n\nチェックリスト:\n- デバッグステートメント（print、pdb、breakpoint()）なし\n- 重要なコードにTODO\u002FFIXMEコメントなし\n- ハードコードされたシークレットや資格情報なし\n- モデル変更のためのデータベースマイグレーションが含まれている\n- 構成の変更が文書化されている\n- 外部呼び出しのエラーハンドリングが存在\n- 必要な場所でトランザクション管理\n\n## 出力テンプレート\n\n```\nDJANGO 検証レポート\n==========================\n\nフェーズ1: 環境チェック\n  ✓ Python 3.11.5\n  ✓ 仮想環境がアクティブ\n  ✓ すべての環境変数が設定済み\n\nフェーズ2: コード品質\n  ✓ mypy: 型エラーなし\n  ✗ ruff: 3つの問題が見つかりました（自動修正済み）\n  ✓ black: フォーマット問題なし\n  ✓ isort: インポートが適切にソート済み\n  ✓ manage.py check: 問題なし\n\nフェーズ3: マイグレーション\n  ✓ 未適用のマイグレーションなし\n  ✓ マイグレーションの競合なし\n  ✓ すべてのモデルにマイグレーションあり\n\nフェーズ4: テスト + カバレッジ\n  テスト: 247成功、0失敗、5スキップ\n  カバレッジ:\n    全体: 87%\n    users: 92%\n    products: 89%\n    orders: 85%\n    payments: 91%\n\nフェーズ5: セキュリティスキャン\n  ✗ pip-audit: 2つの脆弱性が見つかりました（修正が必要）\n  ✓ safety check: 問題なし\n  ✓ bandit: セキュリティ問題なし\n  ✓ シークレットが検出されず\n  ✓ DEBUG = False\n\nフェーズ6: Djangoコマンド\n  ✓ collectstatic 完了\n  ✓ データベース整合性OK\n  ✓ キャッシュバックエンド到達可能\n\nフェーズ7: パフォーマンス\n  ✓ N+1クエリが検出されず\n  ✓ データベースインデックスが構成済み\n  ✓ クエリ数が許容範囲\n\nフェーズ8: 静的アセット\n  ✓ npm audit: 脆弱性なし\n  ✓ アセットが正常にビルド\n  ✓ 静的ファイルが収集済み\n\nフェーズ9: 構成\n  ✓ DEBUG = False\n  ✓ SECRET_KEY 構成済み\n  ✓ ALLOWED_HOSTS 設定済み\n  ✓ HTTPS 有効\n  ✓ HSTS 有効\n  ✓ データベース構成済み\n\nフェーズ10: ログ\n  ✓ ログが構成済み\n  ✓ ログファイルが書き込み可能\n\nフェーズ11: APIドキュメント\n  ✓ スキーマ生成済み\n  ✓ Swagger UIアクセス可能\n\nフェーズ12: 差分レビュー\n  変更されたファイル: 12\n  +450、-120行\n  ✓ デバッグステートメントなし\n  ✓ ハードコードされたシークレットなし\n  ✓ マイグレーションが含まれる\n\n推奨: WARNING: デプロイ前にpip-auditの脆弱性を修正してください\n\n次のステップ:\n1. 脆弱な依存関係を更新\n2. セキュリティスキャンを再実行\n3. 最終テストのためにステージングにデプロイ\n```\n\n## デプロイ前チェックリスト\n\n- [ ] すべてのテストが成功\n- [ ] カバレッジ ≥ 80%\n- [ ] セキュリティ脆弱性なし\n- [ ] 未適用のマイグレーションなし\n- [ ] 本番設定でDEBUG = False\n- [ ] SECRET_KEYが適切に構成\n- [ ] ALLOWED_HOSTSが正しく設定\n- [ ] データベースバックアップが有効\n- [ ] 静的ファイルが収集され提供\n- [ ] ログが構成され動作中\n- [ ] エラー監視（Sentryなど）が構成済み\n- [ ] CDNが構成済み（該当する場合）\n- [ ] Redis\u002Fキャッシュバックエンドが構成済み\n- [ ] Celeryワーカーが実行中（該当する場合）\n- [ ] HTTPS\u002FSSLが構成済み\n- [ ] 環境変数が文書化済み\n\n## 継続的インテグレーション\n\n### GitHub Actionsの例\n\n```yaml\n# .github\u002Fworkflows\u002Fdjango-verification.yml\nname: Django Verification\n\non: [push, pull_request]\n\njobs:\n  verify:\n    runs-on: ubuntu-latest\n    services:\n      postgres:\n        image: postgres:14\n        env:\n          POSTGRES_PASSWORD: postgres\n        options: >-\n          --health-cmd pg_isready\n          --health-interval 10s\n          --health-timeout 5s\n          --health-retries 5\n\n    steps:\n      - uses: actions\u002Fcheckout@v3\n\n      - name: Set up Python\n        uses: actions\u002Fsetup-python@v4\n        with:\n          python-version: '3.11'\n\n      - name: Cache pip\n        uses: actions\u002Fcache@v3\n        with:\n          path: ~\u002F.cache\u002Fpip\n          key: ${{ runner.os }}-pip-${{ hashFiles('**\u002Frequirements.txt') }}\n\n      - name: Install dependencies\n        run: |\n          pip install -r requirements.txt\n          pip install ruff black mypy pytest pytest-django pytest-cov bandit safety pip-audit\n\n      - name: Code quality checks\n        run: |\n          ruff check .\n          black . --check\n          isort . --check-only\n          mypy .\n\n      - name: Security scan\n        run: |\n          bandit -r . -f json -o bandit-report.json\n          safety check --full-report\n          pip-audit\n\n      - name: Run tests\n        env:\n          DATABASE_URL: postgres:\u002F\u002Fpostgres:postgres@localhost:5432\u002Ftest\n          DJANGO_SECRET_KEY: test-secret-key\n        run: |\n          pytest --cov=apps --cov-report=xml --cov-report=term-missing\n\n      - name: Upload coverage\n        uses: codecov\u002Fcodecov-action@v3\n```\n\n## クイックリファレンス\n\n| チェック | コマンド |\n|-------|---------|\n| 環境 | `python --version` |\n| 型チェック | `mypy .` |\n| リンティング | `ruff check .` |\n| フォーマット | `black . --check` |\n| マイグレーション | `python manage.py makemigrations --check` |\n| テスト | `pytest --cov=apps` |\n| セキュリティ | `pip-audit && bandit -r .` |\n| Djangoチェック | `python manage.py check --deploy` |\n| 静的ファイル収集 | `python manage.py collectstatic --noinput` |\n| 差分統計 | `git diff --stat` |\n\n**覚えておいてください**: 自動化された検証は一般的な問題を捕捉しますが、手動でのコードレビューとステージング環境でのテストに代わるものではありません。\n",{"name":5,"description":7},"main","57e7aa6b6e03bce1a7d7862ba9c2ec312f7f19b5","src\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fdocs\u002Fja-JP\u002Fskills\u002Fdjango-verification",0,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee","https:\u002F\u002Fwithcyril.me\u002F","Hi, I’m Julian Cyril D, a Computer Science and Business Systems student at PSNACET.\r\nI’m passionate about full-stack development, UI\u002FUX design, and building sma","2026-11-04 23:28:50",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Cyrilthetecchieee\u002Fcyril-code- --skill django-verification",{"tool":39,"command":40},"bunx","bunx skills add Cyrilthetecchieee\u002Fcyril-code- --skill django-verification",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Cyrilthetecchieee\u002Fcyril-code- --skill django-verification","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fdocs\u002Fja-JP\u002Fskills\u002Fdjango-verification\u002FSKILL.md",true,[],[48,57,64,72,79,86],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":52,"licenseFileUrl":53,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7AQV6CYX8RMC78420V9WZ62","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7AQV2895N3S1MEX6K76G6G2","youtube-downloader","Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fvideo-downloader\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":52,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7AQTRNX62DNKVZ5GXEHRBKB","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7AQTNNVHAAN9H6DA8T6ZVE0","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftemplate-skill\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7AQTJ3MQ6AKX152MEX2MYCC","tailored-resume-generator","Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftailored-resume-generator\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":52,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7AQTD7D5MYET2YWG7HG9WM3","slack-gif-creator","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FSKILL.md",[],[]]