[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DQ1CDQ0A335XRZEZDGA2B7":3,"skill-same:01M7DQ1CDQ0A335XRZEZDGA2B7":77},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":46},"01M7DQ1CDQ0A335XRZEZDGA2B7","sentry-python-sdk",null,"Full Sentry SDK setup for Python. Use when asked to \"add Sentry to Python\", \"install sentry-sdk\", \"setup Sentry in Python\", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for Python applications. Supports Django, Flask, FastAPI, Celery, Starlette, AIOHTTP, Tornado, and more.","Hazek-dc\u002FPresensiGuru_FaceNet_EMAR","Hazek-dc","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F75208960?v=4","01M7DEQV5B4YGS86A81DYH81DR","Hazek","01M7DEQV5XP4TM0C6NTHXCXCHR",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-python-sdk\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sentry-python-sdk\ndescription: Full Sentry SDK setup for Python. Use when asked to \"add Sentry to Python\", \"install sentry-sdk\", \"setup Sentry in Python\", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for Python applications. Supports Django, Flask, FastAPI, Celery, Starlette, AIOHTTP, Tornado, and more.\nlicense: Apache-2.0\ncategory: sdk-setup\nparent: sentry-sdk-setup\ndisable-model-invocation: true\n---\n\n> [All Skills](..\u002F..\u002FSKILL_TREE.md) > [SDK Setup](..\u002Fsentry-sdk-setup\u002FSKILL.md) > Python SDK\n\n# Sentry Python SDK\n\nOpinionated wizard that scans your Python project and guides you through complete Sentry setup.\n\n## Invoke This Skill When\n\n- User asks to \"add Sentry to Python\" or \"setup Sentry\" in a Python app\n- User wants error monitoring, tracing, profiling, logging, metrics, or crons in Python\n- User mentions `sentry-sdk`, `sentry_sdk`, or Sentry + any Python framework\n- User wants to monitor Django views, Flask routes, FastAPI endpoints, Celery tasks, or scheduled jobs\n\n> **Note:** SDK versions and APIs below reflect Sentry docs at time of writing (sentry-sdk 2.x).\n> Always verify against [docs.sentry.io\u002Fplatforms\u002Fpython\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fpython\u002F) before implementing.\n\n---\n\n## Phase 1: Detect\n\nRun these commands to understand the project before making recommendations:\n\n```bash\n# Check existing Sentry\ngrep -i sentry requirements.txt pyproject.toml setup.cfg setup.py 2>\u002Fdev\u002Fnull\n\n# Detect web framework\ngrep -rE \"django|flask|fastapi|starlette|aiohttp|tornado|quart|falcon|sanic|bottle|pyramid\" \\\n  requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull\n\n# Detect task queues\ngrep -rE \"celery|rq|huey|arq|dramatiq\" requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull\n\n# Detect logging libraries\ngrep -E \"loguru\" requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull\n\n# Detect AI libraries\ngrep -rE \"openai|anthropic|langchain|huggingface|google-genai|pydantic-ai|litellm\" \\\n  requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull\n\n# Detect schedulers \u002F crons\ngrep -rE \"celery|apscheduler|schedule|crontab\" requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull\n\n# OpenTelemetry tracing — check for SDK + instrumentations\ngrep -rE \"opentelemetry-sdk|opentelemetry-instrumentation|opentelemetry-distro\" \\\n  requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull\ngrep -rn \"TracerProvider\\|trace\\.get_tracer\\|start_as_current_span\" \\\n  --include=\"*.py\" 2>\u002Fdev\u002Fnull | head -5\n\n# Check for companion frontend\nls frontend\u002F web\u002F client\u002F ui\u002F static\u002F templates\u002F 2>\u002Fdev\u002Fnull\n```\n\n**What to note:**\n- Is `sentry-sdk` already in requirements? If yes, check if `sentry_sdk.init()` is present — may just need feature config.\n- Which framework? (Determines where to place `sentry_sdk.init()`.)\n- Which task queue? (Celery needs dual-process init; RQ needs a settings file.)\n- AI libraries? (OpenAI, Anthropic, LangChain are auto-instrumented.)\n- OpenTelemetry tracing? (Use OTLP path instead of native tracing.)\n- Companion frontend? (Triggers Phase 4 cross-link.)\n\n---\n\n## Phase 2: Recommend\n\nBased on what you found, present a concrete proposal. Don't ask open-ended questions — lead with a recommendation:\n\n**Route from OTel detection:**\n- **OTel tracing detected** (`opentelemetry-sdk` \u002F `opentelemetry-distro` in requirements, or `TracerProvider` in source) → use OTLP path: `OTLPIntegration()`; do **not** set `traces_sample_rate`; Sentry links errors to OTel traces automatically\n\n**Always recommended (core coverage):**\n- ✅ **Error Monitoring** — captures unhandled exceptions, supports `ExceptionGroup` (Python 3.11+)\n- ✅ **Logging** — Python `logging` stdlib auto-captured; enhanced if Loguru detected\n\n**Recommend when detected:**\n- ✅ **Tracing** — HTTP framework detected (Django\u002FFlask\u002FFastAPI\u002Fetc.)\n- ✅ **AI Monitoring** — OpenAI\u002FAnthropic\u002FLangChain\u002Fetc. detected (auto-instrumented, zero config)\n- ⚡ **Profiling** — production apps where performance matters; **not available with OTLP path**\n- ⚡ **Crons** — Celery Beat, APScheduler, or cron patterns detected\n- ⚡ **Metrics** — business KPIs, SLO tracking\n\n**Recommendation matrix:**\n\n| Feature | Recommend when... | Reference |\n|---------|------------------|-----------|\n| Error Monitoring | **Always** — non-negotiable baseline | `${SKILL_ROOT}\u002Freferences\u002Ferror-monitoring.md` |\n| OTLP Integration | OTel tracing detected — **replaces** native Tracing | `${SKILL_ROOT}\u002Freferences\u002Ftracing.md` |\n| Tracing | Django\u002FFlask\u002FFastAPI\u002FAIOHTTP\u002Fetc. detected; **skip if OTel tracing detected** | `${SKILL_ROOT}\u002Freferences\u002Ftracing.md` |\n| Profiling | Production + performance-sensitive workload; **skip if OTel tracing detected** (requires `traces_sample_rate`, incompatible with OTLP) | `${SKILL_ROOT}\u002Freferences\u002Fprofiling.md` |\n| Logging | Always (stdlib); enhanced for Loguru | `${SKILL_ROOT}\u002Freferences\u002Flogging.md` |\n| Metrics | Business events or SLO tracking needed | `${SKILL_ROOT}\u002Freferences\u002Fmetrics.md` |\n| Crons | Celery Beat, APScheduler, or cron patterns | `${SKILL_ROOT}\u002Freferences\u002Fcrons.md` |\n| AI Monitoring | OpenAI\u002FAnthropic\u002FLangChain\u002Fetc. detected | `${SKILL_ROOT}\u002Freferences\u002Fai-monitoring.md` |\n\n**OTel tracing detected:** *\"I see OpenTelemetry tracing in the project. I recommend Sentry's OTLP integration for tracing (via your existing OTel setup) + Error Monitoring + Sentry Logging [+ Metrics\u002FCrons\u002FAI Monitoring if applicable]. Shall I proceed?\"*\n\n**No OTel:** *\"I recommend Error Monitoring + Tracing [+ Logging if applicable]. Want Profiling, Crons, or AI Monitoring too?\"*\n\n---\n\n## Phase 3: Guide\n\n### Install\n\n```bash\n# Core SDK (always required)\npip install sentry-sdk\n\n# Optional extras (install only what matches detected framework):\npip install \"sentry-sdk[django]\"\npip install \"sentry-sdk[flask]\"\npip install \"sentry-sdk[fastapi]\"\npip install \"sentry-sdk[celery]\"\npip install \"sentry-sdk[aiohttp]\"\npip install \"sentry-sdk[tornado]\"\n\n# Multiple extras:\npip install \"sentry-sdk[django,celery]\"\n```\n\n> Extras are optional — plain `sentry-sdk` works for all frameworks. Extras install complementary packages.\n\n### Quick Start — Recommended Init\n\nFull init enabling the most features with sensible defaults. Place **before** any app\u002Fframework code:\n\n```python\nimport sentry_sdk\n\nsentry_sdk.init(\n    dsn=os.environ[\"SENTRY_DSN\"],\n    environment=os.environ.get(\"SENTRY_ENVIRONMENT\", \"production\"),\n    release=os.environ.get(\"SENTRY_RELEASE\"),   # e.g. \"myapp@1.0.0\"\n    send_default_pii=True,\n\n    # Tracing (lower to 0.1–0.2 in high-traffic production)\n    traces_sample_rate=1.0,\n\n    # Profiling — continuous, tied to active spans\n    profile_session_sample_rate=1.0,\n    profile_lifecycle=\"trace\",\n\n    # Structured logs (SDK ≥ 2.35.0)\n    enable_logs=True,\n)\n```\n\n### Where to Initialize Per Framework\n\n| Framework | Where to call `sentry_sdk.init()` | Notes |\n|-----------|-----------------------------------|-------|\n| **Django** | Top of `settings.py`, before any imports | No middleware needed — Sentry patches Django internally |\n| **Flask** | Before `app = Flask(__name__)` | Must precede app creation |\n| **FastAPI** | Before `app = FastAPI()` | `StarletteIntegration` + `FastApiIntegration` auto-enabled together |\n| **Starlette** | Before `app = Starlette(...)` | Same auto-integration as FastAPI |\n| **AIOHTTP** | Module level, before `web.Application()` | |\n| **Tornado** | Module level, before app setup | No integration class needed |\n| **Quart** | Before `app = Quart(__name__)` | |\n| **Falcon** | Module level, before `app = falcon.App()` | |\n| **Pyramid** | Module level, before `config = Configurator()` | WSGI framework |\n| **Sanic** | Inside `@app.listener(\"before_server_start\")` | Sanic's lifecycle requires async init |\n| **Celery** | `@signals.celeryd_init.connect` in worker AND in calling process | Dual-process init required |\n| **RQ** | `mysettings.py` loaded by worker via `rq worker -c mysettings` | |\n| **ARQ** | Both worker module and enqueuing process | |\n\n**Django example** (`settings.py`):\n```python\nimport sentry_sdk\n\nsentry_sdk.init(\n    dsn=os.environ[\"SENTRY_DSN\"],\n    send_default_pii=True,\n    traces_sample_rate=1.0,\n    profile_session_sample_rate=1.0,\n    profile_lifecycle=\"trace\",\n    enable_logs=True,\n)\n\n# rest of Django settings...\nINSTALLED_APPS = [...]\n```\n\n**FastAPI example** (`main.py`):\n```python\nimport sentry_sdk\n\nsentry_sdk.init(\n    dsn=os.environ[\"SENTRY_DSN\"],\n    send_default_pii=True,\n    traces_sample_rate=1.0,\n    profile_session_sample_rate=1.0,\n    profile_lifecycle=\"trace\",\n    enable_logs=True,\n)\n\nfrom fastapi import FastAPI\napp = FastAPI()\n```\n\n### Auto-Enabled vs Explicit Integrations\n\nMost integrations activate automatically when their package is installed — no `integrations=[...]` needed:\n\n| Auto-enabled | Explicit required |\n|-------------|-------------------|\n| Django, Flask, FastAPI, Starlette, AIOHTTP, Tornado, Quart, Falcon, Pyramid, Sanic, Bottle | `DramatiqIntegration` |\n| Celery, RQ, Huey, ARQ | `GRPCIntegration` |\n| SQLAlchemy, Redis, asyncpg, pymongo | `StrawberryIntegration` |\n| Requests, HTTPX, httpx2, aiohttp-client | `AsyncioIntegration` |\n| OpenAI, Anthropic, LangChain, Pydantic AI, MCP | `OpenTelemetryIntegration` |\n| Python `logging`, Loguru | `WSGIIntegration` \u002F `ASGIIntegration` |\n\n### For Each Agreed Feature\n\nWalk through features one at a time. Load the reference, follow its steps, verify before moving on:\n\n| Feature | Reference file | Load when... |\n|---------|---------------|-------------|\n| Error Monitoring | `${SKILL_ROOT}\u002Freferences\u002Ferror-monitoring.md` | Always (baseline) |\n| Tracing | `${SKILL_ROOT}\u002Freferences\u002Ftracing.md` | HTTP handlers \u002F distributed tracing |\n| Profiling | `${SKILL_ROOT}\u002Freferences\u002Fprofiling.md` | Performance-sensitive production |\n| Logging | `${SKILL_ROOT}\u002Freferences\u002Flogging.md` | Always; enhanced for Loguru |\n| Metrics | `${SKILL_ROOT}\u002Freferences\u002Fmetrics.md` | Business KPIs \u002F SLO tracking |\n| Crons | `${SKILL_ROOT}\u002Freferences\u002Fcrons.md` | Scheduler \u002F cron patterns detected |\n| AI Monitoring | `${SKILL_ROOT}\u002Freferences\u002Fai-monitoring.md` | AI library detected |\n\nFor each feature: `Read ${SKILL_ROOT}\u002Freferences\u002F\u003Cfeature>.md`, follow steps exactly, verify it works.\n\n---\n\n## Configuration Reference\n\n### Key `sentry_sdk.init()` Options\n\n| Option | Type | Default | Purpose |\n|--------|------|---------|---------|\n| `dsn` | `str` | `None` | SDK disabled if empty; env: `SENTRY_DSN` |\n| `environment` | `str` | `\"production\"` | e.g., `\"staging\"`; env: `SENTRY_ENVIRONMENT` |\n| `release` | `str` | `None` | e.g., `\"myapp@1.0.0\"`; env: `SENTRY_RELEASE` |\n| `send_default_pii` | `bool` | `False` | Include IP, headers, cookies, auth user, query strings (ASGI frameworks) |\n| `traces_sample_rate` | `float` | `None` | Transaction sample rate; `None` disables tracing |\n| `traces_sampler` | `Callable` | `None` | Custom per-transaction sampling (overrides rate) |\n| `profile_session_sample_rate` | `float` | `None` | Continuous profiling session rate |\n| `profile_lifecycle` | `str` | `\"manual\"` | `\"trace\"` = auto-start profiler with spans |\n| `profiles_sample_rate` | `float` | `None` | Transaction-based profiling rate |\n| `enable_logs` | `bool` | `False` | Send logs to Sentry (SDK ≥ 2.35.0) |\n| `sample_rate` | `float` | `1.0` | Error event sample rate |\n| `attach_stacktrace` | `bool` | `False` | Stack traces on `capture_message()` |\n| `max_breadcrumbs` | `int` | `100` | Max breadcrumbs per event |\n| `debug` | `bool` | `False` | Verbose SDK debug output |\n| `before_send` | `Callable` | `None` | Hook to mutate\u002Fdrop error events |\n| `before_send_transaction` | `Callable` | `None` | Hook to mutate\u002Fdrop transaction events |\n| `ignore_errors` | `list` | `[]` | Exception types or regex patterns to suppress |\n| `auto_enabling_integrations` | `bool` | `True` | Set `False` to disable all auto-detection |\n\n#### `OTLPIntegration` Options (pass to constructor)\n\n| Option | Type | Default | Purpose |\n|--------|------|---------|---------|\n| `setup_otlp_traces_exporter` | `bool` | `True` | Auto-configure OTLP exporter; set `False` if you send to your own Collector |\n| `collector_url` | `str` | `None` | OTLP HTTP endpoint of an OTel Collector (e.g., `http:\u002F\u002Flocalhost:4318\u002Fv1\u002Ftraces`); when set, spans are sent to the collector instead of directly to Sentry |\n| `setup_propagator` | `bool` | `True` | Auto-configure Sentry propagator for distributed tracing |\n| `capture_exceptions` | `bool` | `False` | Intercept exceptions recorded via OTel `Span.record_exception` |\n\n### Environment Variables\n\n| Variable | Maps to | Notes |\n|----------|---------|-------|\n| `SENTRY_DSN` | `dsn` | |\n| `SENTRY_RELEASE` | `release` | Also auto-detected from git SHA, Heroku, CircleCI, CodeBuild, GAE |\n| `SENTRY_ENVIRONMENT` | `environment` | |\n| `SENTRY_DEBUG` | `debug` | |\n\n---\n\n## Verification\n\nTest that Sentry is receiving events:\n\n```python\n# Trigger a real error event — check dashboard within seconds\ndivision_by_zero = 1 \u002F 0\n```\n\nOr for a non-crashing check:\n```python\nsentry_sdk.capture_message(\"Sentry Python SDK test\")\n```\n\nIf nothing appears:\n1. Set `debug=True` in `sentry_sdk.init()` — prints SDK internals to stdout\n2. Verify the DSN is correct\n3. Check `SENTRY_DSN` env var is set in the running process\n4. For Celery\u002FRQ: ensure init runs in the **worker** process, not just the calling process\n\n---\n\n## Phase 4: Cross-Link\n\nAfter completing Python setup, check for a companion frontend missing Sentry:\n\n```bash\nls frontend\u002F web\u002F client\u002F ui\u002F 2>\u002Fdev\u002Fnull\ncat frontend\u002Fpackage.json web\u002Fpackage.json client\u002Fpackage.json 2>\u002Fdev\u002Fnull \\\n  | grep -E '\"react\"|\"svelte\"|\"vue\"|\"next\"|\"nuxt\"'\n```\n\nIf a frontend exists without Sentry, suggest the matching skill:\n\n| Frontend detected | Suggest skill |\n|-------------------|--------------|\n| React \u002F Next.js | `sentry-react-sdk` |\n| Svelte \u002F SvelteKit | `sentry-svelte-sdk` |\n| Vue \u002F Nuxt | Use `@sentry\u002Fvue` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fvue\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fvue\u002F) |\n| Other JS\u002FTS | `sentry-react-sdk` (covers generic browser JS patterns) |\n\n---\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Events not appearing | Set `debug=True`, verify DSN, check env vars in the running process |\n| Malformed DSN error | Format: `https:\u002F\u002F\u003Ckey>@o\u003Corg>.ingest.sentry.io\u002F\u003Cproject>` |\n| Django exceptions not captured | Ensure `sentry_sdk.init()` is at the **top** of `settings.py` before other imports |\n| Flask exceptions not captured | Init must happen **before** `app = Flask(__name__)` |\n| FastAPI exceptions not captured | Init before `app = FastAPI()`; both `StarletteIntegration` and `FastApiIntegration` auto-enabled |\n| ASGI chained exceptions suppressed | By default, Sentry's ASGI middleware strips exception chains (`raise exc from None`). To preserve chained exceptions, set `_experiments={\"suppress_asgi_chained_exceptions\": False}` in `sentry_sdk.init()` |\n| Celery task errors not captured | Must call `sentry_sdk.init()` in the **worker process** via `celeryd_init` signal |\n| Sanic init not working | Init must be inside `@app.listener(\"before_server_start\")`, not module level |\n| uWSGI not capturing | Add `--enable-threads --py-call-uwsgi-fork-hooks` to uWSGI command |\n| No traces appearing (native) | Verify `traces_sample_rate` is set (not `None`); check that the integration is auto-enabled |\n| No traces appearing (OTLP) | Verify `sentry-sdk[opentelemetry-otlp]` is installed; do **not** set `traces_sample_rate` when using `OTLPIntegration` |\n| Profiling not starting | Requires `traces_sample_rate > 0` + either `profile_session_sample_rate` or `profiles_sample_rate`; **not compatible with OTLP path** |\n| `enable_logs` not working | Requires SDK ≥ 2.35.0; for direct structured logs use `sentry_sdk.logger`; for stdlib bridging use `LoggingIntegration(sentry_logs_level=...)` |\n| Too many transactions | Lower `traces_sample_rate` or use `traces_sampler` to drop health checks |\n| Cross-request data leaking | Don't use `get_global_scope()` for per-request data — use `get_isolation_scope()` |\n| Query strings not captured (ASGI) | Query strings and client IP in ASGI frameworks (FastAPI, Starlette, etc.) require `send_default_pii=True` |\n| RQ worker not reporting | Pass `--sentry-dsn=\"\"` to disable RQ's own Sentry shortcut; init via settings file instead |\n","> [All Skills](..\u002F..\u002FSKILL_TREE.md) > [SDK Setup](..\u002Fsentry-sdk-setup\u002FSKILL.md) > Python SDK\n\n# Sentry Python SDK\n\nOpinionated wizard that scans your Python project and guides you through complete Sentry setup.\n\n## Invoke This Skill When\n\n- User asks to \"add Sentry to Python\" or \"setup Sentry\" in a Python app\n- User wants error monitoring, tracing, profiling, logging, metrics, or crons in Python\n- User mentions `sentry-sdk`, `sentry_sdk`, or Sentry + any Python framework\n- User wants to monitor Django views, Flask routes, FastAPI endpoints, Celery tasks, or scheduled jobs\n\n> **Note:** SDK versions and APIs below reflect Sentry docs at time of writing (sentry-sdk 2.x).\n> Always verify against [docs.sentry.io\u002Fplatforms\u002Fpython\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fpython\u002F) before implementing.\n\n---\n\n## Phase 1: Detect\n\nRun these commands to understand the project before making recommendations:\n\n```bash\n# Check existing Sentry\ngrep -i sentry requirements.txt pyproject.toml setup.cfg setup.py 2>\u002Fdev\u002Fnull\n\n# Detect web framework\ngrep -rE \"django|flask|fastapi|starlette|aiohttp|tornado|quart|falcon|sanic|bottle|pyramid\" \\\n  requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull\n\n# Detect task queues\ngrep -rE \"celery|rq|huey|arq|dramatiq\" requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull\n\n# Detect logging libraries\ngrep -E \"loguru\" requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull\n\n# Detect AI libraries\ngrep -rE \"openai|anthropic|langchain|huggingface|google-genai|pydantic-ai|litellm\" \\\n  requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull\n\n# Detect schedulers \u002F crons\ngrep -rE \"celery|apscheduler|schedule|crontab\" requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull\n\n# OpenTelemetry tracing — check for SDK + instrumentations\ngrep -rE \"opentelemetry-sdk|opentelemetry-instrumentation|opentelemetry-distro\" \\\n  requirements.txt pyproject.toml 2>\u002Fdev\u002Fnull\ngrep -rn \"TracerProvider\\|trace\\.get_tracer\\|start_as_current_span\" \\\n  --include=\"*.py\" 2>\u002Fdev\u002Fnull | head -5\n\n# Check for companion frontend\nls frontend\u002F web\u002F client\u002F ui\u002F static\u002F templates\u002F 2>\u002Fdev\u002Fnull\n```\n\n**What to note:**\n- Is `sentry-sdk` already in requirements? If yes, check if `sentry_sdk.init()` is present — may just need feature config.\n- Which framework? (Determines where to place `sentry_sdk.init()`.)\n- Which task queue? (Celery needs dual-process init; RQ needs a settings file.)\n- AI libraries? (OpenAI, Anthropic, LangChain are auto-instrumented.)\n- OpenTelemetry tracing? (Use OTLP path instead of native tracing.)\n- Companion frontend? (Triggers Phase 4 cross-link.)\n\n---\n\n## Phase 2: Recommend\n\nBased on what you found, present a concrete proposal. Don't ask open-ended questions — lead with a recommendation:\n\n**Route from OTel detection:**\n- **OTel tracing detected** (`opentelemetry-sdk` \u002F `opentelemetry-distro` in requirements, or `TracerProvider` in source) → use OTLP path: `OTLPIntegration()`; do **not** set `traces_sample_rate`; Sentry links errors to OTel traces automatically\n\n**Always recommended (core coverage):**\n- ✅ **Error Monitoring** — captures unhandled exceptions, supports `ExceptionGroup` (Python 3.11+)\n- ✅ **Logging** — Python `logging` stdlib auto-captured; enhanced if Loguru detected\n\n**Recommend when detected:**\n- ✅ **Tracing** — HTTP framework detected (Django\u002FFlask\u002FFastAPI\u002Fetc.)\n- ✅ **AI Monitoring** — OpenAI\u002FAnthropic\u002FLangChain\u002Fetc. detected (auto-instrumented, zero config)\n- ⚡ **Profiling** — production apps where performance matters; **not available with OTLP path**\n- ⚡ **Crons** — Celery Beat, APScheduler, or cron patterns detected\n- ⚡ **Metrics** — business KPIs, SLO tracking\n\n**Recommendation matrix:**\n\n| Feature | Recommend when... | Reference |\n|---------|------------------|-----------|\n| Error Monitoring | **Always** — non-negotiable baseline | `${SKILL_ROOT}\u002Freferences\u002Ferror-monitoring.md` |\n| OTLP Integration | OTel tracing detected — **replaces** native Tracing | `${SKILL_ROOT}\u002Freferences\u002Ftracing.md` |\n| Tracing | Django\u002FFlask\u002FFastAPI\u002FAIOHTTP\u002Fetc. detected; **skip if OTel tracing detected** | `${SKILL_ROOT}\u002Freferences\u002Ftracing.md` |\n| Profiling | Production + performance-sensitive workload; **skip if OTel tracing detected** (requires `traces_sample_rate`, incompatible with OTLP) | `${SKILL_ROOT}\u002Freferences\u002Fprofiling.md` |\n| Logging | Always (stdlib); enhanced for Loguru | `${SKILL_ROOT}\u002Freferences\u002Flogging.md` |\n| Metrics | Business events or SLO tracking needed | `${SKILL_ROOT}\u002Freferences\u002Fmetrics.md` |\n| Crons | Celery Beat, APScheduler, or cron patterns | `${SKILL_ROOT}\u002Freferences\u002Fcrons.md` |\n| AI Monitoring | OpenAI\u002FAnthropic\u002FLangChain\u002Fetc. detected | `${SKILL_ROOT}\u002Freferences\u002Fai-monitoring.md` |\n\n**OTel tracing detected:** *\"I see OpenTelemetry tracing in the project. I recommend Sentry's OTLP integration for tracing (via your existing OTel setup) + Error Monitoring + Sentry Logging [+ Metrics\u002FCrons\u002FAI Monitoring if applicable]. Shall I proceed?\"*\n\n**No OTel:** *\"I recommend Error Monitoring + Tracing [+ Logging if applicable]. Want Profiling, Crons, or AI Monitoring too?\"*\n\n---\n\n## Phase 3: Guide\n\n### Install\n\n```bash\n# Core SDK (always required)\npip install sentry-sdk\n\n# Optional extras (install only what matches detected framework):\npip install \"sentry-sdk[django]\"\npip install \"sentry-sdk[flask]\"\npip install \"sentry-sdk[fastapi]\"\npip install \"sentry-sdk[celery]\"\npip install \"sentry-sdk[aiohttp]\"\npip install \"sentry-sdk[tornado]\"\n\n# Multiple extras:\npip install \"sentry-sdk[django,celery]\"\n```\n\n> Extras are optional — plain `sentry-sdk` works for all frameworks. Extras install complementary packages.\n\n### Quick Start — Recommended Init\n\nFull init enabling the most features with sensible defaults. Place **before** any app\u002Fframework code:\n\n```python\nimport sentry_sdk\n\nsentry_sdk.init(\n    dsn=os.environ[\"SENTRY_DSN\"],\n    environment=os.environ.get(\"SENTRY_ENVIRONMENT\", \"production\"),\n    release=os.environ.get(\"SENTRY_RELEASE\"),   # e.g. \"myapp@1.0.0\"\n    send_default_pii=True,\n\n    # Tracing (lower to 0.1–0.2 in high-traffic production)\n    traces_sample_rate=1.0,\n\n    # Profiling — continuous, tied to active spans\n    profile_session_sample_rate=1.0,\n    profile_lifecycle=\"trace\",\n\n    # Structured logs (SDK ≥ 2.35.0)\n    enable_logs=True,\n)\n```\n\n### Where to Initialize Per Framework\n\n| Framework | Where to call `sentry_sdk.init()` | Notes |\n|-----------|-----------------------------------|-------|\n| **Django** | Top of `settings.py`, before any imports | No middleware needed — Sentry patches Django internally |\n| **Flask** | Before `app = Flask(__name__)` | Must precede app creation |\n| **FastAPI** | Before `app = FastAPI()` | `StarletteIntegration` + `FastApiIntegration` auto-enabled together |\n| **Starlette** | Before `app = Starlette(...)` | Same auto-integration as FastAPI |\n| **AIOHTTP** | Module level, before `web.Application()` | |\n| **Tornado** | Module level, before app setup | No integration class needed |\n| **Quart** | Before `app = Quart(__name__)` | |\n| **Falcon** | Module level, before `app = falcon.App()` | |\n| **Pyramid** | Module level, before `config = Configurator()` | WSGI framework |\n| **Sanic** | Inside `@app.listener(\"before_server_start\")` | Sanic's lifecycle requires async init |\n| **Celery** | `@signals.celeryd_init.connect` in worker AND in calling process | Dual-process init required |\n| **RQ** | `mysettings.py` loaded by worker via `rq worker -c mysettings` | |\n| **ARQ** | Both worker module and enqueuing process | |\n\n**Django example** (`settings.py`):\n```python\nimport sentry_sdk\n\nsentry_sdk.init(\n    dsn=os.environ[\"SENTRY_DSN\"],\n    send_default_pii=True,\n    traces_sample_rate=1.0,\n    profile_session_sample_rate=1.0,\n    profile_lifecycle=\"trace\",\n    enable_logs=True,\n)\n\n# rest of Django settings...\nINSTALLED_APPS = [...]\n```\n\n**FastAPI example** (`main.py`):\n```python\nimport sentry_sdk\n\nsentry_sdk.init(\n    dsn=os.environ[\"SENTRY_DSN\"],\n    send_default_pii=True,\n    traces_sample_rate=1.0,\n    profile_session_sample_rate=1.0,\n    profile_lifecycle=\"trace\",\n    enable_logs=True,\n)\n\nfrom fastapi import FastAPI\napp = FastAPI()\n```\n\n### Auto-Enabled vs Explicit Integrations\n\nMost integrations activate automatically when their package is installed — no `integrations=[...]` needed:\n\n| Auto-enabled | Explicit required |\n|-------------|-------------------|\n| Django, Flask, FastAPI, Starlette, AIOHTTP, Tornado, Quart, Falcon, Pyramid, Sanic, Bottle | `DramatiqIntegration` |\n| Celery, RQ, Huey, ARQ | `GRPCIntegration` |\n| SQLAlchemy, Redis, asyncpg, pymongo | `StrawberryIntegration` |\n| Requests, HTTPX, httpx2, aiohttp-client | `AsyncioIntegration` |\n| OpenAI, Anthropic, LangChain, Pydantic AI, MCP | `OpenTelemetryIntegration` |\n| Python `logging`, Loguru | `WSGIIntegration` \u002F `ASGIIntegration` |\n\n### For Each Agreed Feature\n\nWalk through features one at a time. Load the reference, follow its steps, verify before moving on:\n\n| Feature | Reference file | Load when... |\n|---------|---------------|-------------|\n| Error Monitoring | `${SKILL_ROOT}\u002Freferences\u002Ferror-monitoring.md` | Always (baseline) |\n| Tracing | `${SKILL_ROOT}\u002Freferences\u002Ftracing.md` | HTTP handlers \u002F distributed tracing |\n| Profiling | `${SKILL_ROOT}\u002Freferences\u002Fprofiling.md` | Performance-sensitive production |\n| Logging | `${SKILL_ROOT}\u002Freferences\u002Flogging.md` | Always; enhanced for Loguru |\n| Metrics | `${SKILL_ROOT}\u002Freferences\u002Fmetrics.md` | Business KPIs \u002F SLO tracking |\n| Crons | `${SKILL_ROOT}\u002Freferences\u002Fcrons.md` | Scheduler \u002F cron patterns detected |\n| AI Monitoring | `${SKILL_ROOT}\u002Freferences\u002Fai-monitoring.md` | AI library detected |\n\nFor each feature: `Read ${SKILL_ROOT}\u002Freferences\u002F\u003Cfeature>.md`, follow steps exactly, verify it works.\n\n---\n\n## Configuration Reference\n\n### Key `sentry_sdk.init()` Options\n\n| Option | Type | Default | Purpose |\n|--------|------|---------|---------|\n| `dsn` | `str` | `None` | SDK disabled if empty; env: `SENTRY_DSN` |\n| `environment` | `str` | `\"production\"` | e.g., `\"staging\"`; env: `SENTRY_ENVIRONMENT` |\n| `release` | `str` | `None` | e.g., `\"myapp@1.0.0\"`; env: `SENTRY_RELEASE` |\n| `send_default_pii` | `bool` | `False` | Include IP, headers, cookies, auth user, query strings (ASGI frameworks) |\n| `traces_sample_rate` | `float` | `None` | Transaction sample rate; `None` disables tracing |\n| `traces_sampler` | `Callable` | `None` | Custom per-transaction sampling (overrides rate) |\n| `profile_session_sample_rate` | `float` | `None` | Continuous profiling session rate |\n| `profile_lifecycle` | `str` | `\"manual\"` | `\"trace\"` = auto-start profiler with spans |\n| `profiles_sample_rate` | `float` | `None` | Transaction-based profiling rate |\n| `enable_logs` | `bool` | `False` | Send logs to Sentry (SDK ≥ 2.35.0) |\n| `sample_rate` | `float` | `1.0` | Error event sample rate |\n| `attach_stacktrace` | `bool` | `False` | Stack traces on `capture_message()` |\n| `max_breadcrumbs` | `int` | `100` | Max breadcrumbs per event |\n| `debug` | `bool` | `False` | Verbose SDK debug output |\n| `before_send` | `Callable` | `None` | Hook to mutate\u002Fdrop error events |\n| `before_send_transaction` | `Callable` | `None` | Hook to mutate\u002Fdrop transaction events |\n| `ignore_errors` | `list` | `[]` | Exception types or regex patterns to suppress |\n| `auto_enabling_integrations` | `bool` | `True` | Set `False` to disable all auto-detection |\n\n#### `OTLPIntegration` Options (pass to constructor)\n\n| Option | Type | Default | Purpose |\n|--------|------|---------|---------|\n| `setup_otlp_traces_exporter` | `bool` | `True` | Auto-configure OTLP exporter; set `False` if you send to your own Collector |\n| `collector_url` | `str` | `None` | OTLP HTTP endpoint of an OTel Collector (e.g., `http:\u002F\u002Flocalhost:4318\u002Fv1\u002Ftraces`); when set, spans are sent to the collector instead of directly to Sentry |\n| `setup_propagator` | `bool` | `True` | Auto-configure Sentry propagator for distributed tracing |\n| `capture_exceptions` | `bool` | `False` | Intercept exceptions recorded via OTel `Span.record_exception` |\n\n### Environment Variables\n\n| Variable | Maps to | Notes |\n|----------|---------|-------|\n| `SENTRY_DSN` | `dsn` | |\n| `SENTRY_RELEASE` | `release` | Also auto-detected from git SHA, Heroku, CircleCI, CodeBuild, GAE |\n| `SENTRY_ENVIRONMENT` | `environment` | |\n| `SENTRY_DEBUG` | `debug` | |\n\n---\n\n## Verification\n\nTest that Sentry is receiving events:\n\n```python\n# Trigger a real error event — check dashboard within seconds\ndivision_by_zero = 1 \u002F 0\n```\n\nOr for a non-crashing check:\n```python\nsentry_sdk.capture_message(\"Sentry Python SDK test\")\n```\n\nIf nothing appears:\n1. Set `debug=True` in `sentry_sdk.init()` — prints SDK internals to stdout\n2. Verify the DSN is correct\n3. Check `SENTRY_DSN` env var is set in the running process\n4. For Celery\u002FRQ: ensure init runs in the **worker** process, not just the calling process\n\n---\n\n## Phase 4: Cross-Link\n\nAfter completing Python setup, check for a companion frontend missing Sentry:\n\n```bash\nls frontend\u002F web\u002F client\u002F ui\u002F 2>\u002Fdev\u002Fnull\ncat frontend\u002Fpackage.json web\u002Fpackage.json client\u002Fpackage.json 2>\u002Fdev\u002Fnull \\\n  | grep -E '\"react\"|\"svelte\"|\"vue\"|\"next\"|\"nuxt\"'\n```\n\nIf a frontend exists without Sentry, suggest the matching skill:\n\n| Frontend detected | Suggest skill |\n|-------------------|--------------|\n| React \u002F Next.js | `sentry-react-sdk` |\n| Svelte \u002F SvelteKit | `sentry-svelte-sdk` |\n| Vue \u002F Nuxt | Use `@sentry\u002Fvue` — see [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fvue\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fvue\u002F) |\n| Other JS\u002FTS | `sentry-react-sdk` (covers generic browser JS patterns) |\n\n---\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Events not appearing | Set `debug=True`, verify DSN, check env vars in the running process |\n| Malformed DSN error | Format: `https:\u002F\u002F\u003Ckey>@o\u003Corg>.ingest.sentry.io\u002F\u003Cproject>` |\n| Django exceptions not captured | Ensure `sentry_sdk.init()` is at the **top** of `settings.py` before other imports |\n| Flask exceptions not captured | Init must happen **before** `app = Flask(__name__)` |\n| FastAPI exceptions not captured | Init before `app = FastAPI()`; both `StarletteIntegration` and `FastApiIntegration` auto-enabled |\n| ASGI chained exceptions suppressed | By default, Sentry's ASGI middleware strips exception chains (`raise exc from None`). To preserve chained exceptions, set `_experiments={\"suppress_asgi_chained_exceptions\": False}` in `sentry_sdk.init()` |\n| Celery task errors not captured | Must call `sentry_sdk.init()` in the **worker process** via `celeryd_init` signal |\n| Sanic init not working | Init must be inside `@app.listener(\"before_server_start\")`, not module level |\n| uWSGI not capturing | Add `--enable-threads --py-call-uwsgi-fork-hooks` to uWSGI command |\n| No traces appearing (native) | Verify `traces_sample_rate` is set (not `None`); check that the integration is auto-enabled |\n| No traces appearing (OTLP) | Verify `sentry-sdk[opentelemetry-otlp]` is installed; do **not** set `traces_sample_rate` when using `OTLPIntegration` |\n| Profiling not starting | Requires `traces_sample_rate > 0` + either `profile_session_sample_rate` or `profiles_sample_rate`; **not compatible with OTLP path** |\n| `enable_logs` not working | Requires SDK ≥ 2.35.0; for direct structured logs use `sentry_sdk.logger`; for stdlib bridging use `LoggingIntegration(sentry_logs_level=...)` |\n| Too many transactions | Lower `traces_sample_rate` or use `traces_sampler` to drop health checks |\n| Cross-request data leaking | Don't use `get_global_scope()` for per-request data — use `get_isolation_scope()` |\n| Query strings not captured (ASGI) | Query strings and client IP in ASGI frameworks (FastAPI, Starlette, etc.) require `send_default_pii=True` |\n| RQ worker not reporting | Pass `--sentry-dsn=\"\"` to disable RQ's own Sentry shortcut; init via settings file instead |\n",{"name":5,"parent":24,"license":15,"category":25,"description":7,"disable-model-invocation":26},"sentry-sdk-setup","sdk-setup",true,"main","b1e4ffadb4f933bbbcaa03a83f8b9929171ac28b",".agents\u002Fskills\u002Fsentry-python-sdk",0,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR","https:\u002F\u002Fgithub.com\u002FHazek-dc","2026-10-22 08:36:44",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":26},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill sentry-python-sdk",{"tool":40,"command":41},"bunx","bunx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill sentry-python-sdk",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill sentry-python-sdk","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-python-sdk\u002FSKILL.md",[47,53,57,61,65,69,73],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fai-monitoring.md","REFERENCE","参考文档",11662,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-python-sdk\u002Freferences\u002Fai-monitoring.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcrons.md",6483,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-python-sdk\u002Freferences\u002Fcrons.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Ferror-monitoring.md",9100,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-python-sdk\u002Freferences\u002Ferror-monitoring.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Flogging.md",8325,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-python-sdk\u002Freferences\u002Flogging.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fmetrics.md",4227,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-python-sdk\u002Freferences\u002Fmetrics.md",{"path":70,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fprofiling.md",4298,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-python-sdk\u002Freferences\u002Fprofiling.md",{"path":74,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Ftracing.md",12073,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsentry-python-sdk\u002Freferences\u002Ftracing.md",[78,86,93,100,107,114],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7DS6GGYRZAYD33PFPS8Z2T3","testing-best-practices","Laravel test design and review. Use when selecting coverage, naming or structuring tests, choosing assertions or test data, isolating dependencies, testing HTTP or security boundaries, improving suite performance, or reviewing test value. Use framework guidance or search-docs for Pest and PHPUnit syntax.","MIT","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Ftesting-best-practices\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":82,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7DS6BC3AW7HTPRHE2TTVKWM","tailwindcss-development","Always invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids), flex\u002Fgrid page structures (dashboards with sidebars, fixed topbars, mobile-toggle navs), styling UI components (cards, tables, navbars, pricing sections, forms, inputs, badges), adding dark mode variants, fixing spacing or typography, and Tailwind v3\u002Fv4 work. The core use case: writing or fixing Tailwind utility classes in HTML templates (Blade, JSX, Vue). Skip for backend PHP logic, database queries, API routes, JavaScript with no HTML\u002FCSS component, CSS file audits, build tool configuration, and vanilla CSS.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Ftailwindcss-development\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7DS66GE6B11MYJDVC74HXM4","laravel-best-practices","Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Flaravel-best-practices\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7DS5ZW717DMS6P1E90AQCKV","infer-conventions","Use this skill to analyze how a Laravel application is actually written and record its conventions as shared rules. Trigger when the user wants to detect, infer, document, or standardize project conventions or coding style, set up or grow `.ai\u002Frules`, resolve mixed or conflicting patterns (e.g. \"are we using Form Requests or inline validation?\"), or onboard agents and teammates to \"how we do things here\". Covers: a systematic sweep of ~49 Laravel convention dimensions (validation, models, architecture, testing, frontend, database, console), open-ended house-pattern discovery, conflict reporting, and recording rules scoped to the right paths via the Boost `record-rule` MCP tool. Only run this skill when the user explicitly asks for it; never start a sweep as part of another task. Do not use for one-off code review, enforcing formatting a linter already handles, or editing `.ai\u002Frules` files by hand.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Finfer-conventions\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M7DS5W12RGCVJTFQJ1N0GB8E","inertia-react-development","Develops Inertia.js v2 React client-side applications. Activates when creating React pages, forms, or navigation; using \u003CLink>, \u003CForm>, useForm, or router; working with deferred props, prefetching, or polling; or when user mentions React with Inertia, React pages, React forms, or React navigation.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Finertia-react-development\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":82,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M7DS5PVDPMPCWSK2RXPDC9BB","deploying-to-cloud","Deploys and manages Laravel applications on Laravel Cloud using the `cloud` CLI. Use when the user wants to deploy an app, ship to Cloud, create or manage applications, environments, databases, caches, object storage, queues, domains, instances, background processes, secrets, compute, scheduled tasks, or Laravel Cloud infrastructure; or check billing, usage, or spend. Triggers on deployment, shipping, Cloud management, environment setup, database provisioning, billing or usage queries, the `cloud` CLI, and Laravel Cloud deployment troubleshooting.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Fdeploying-to-cloud\u002FSKILL.md",[],[]]