[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F2F6YB1GFF6JKVSQ7D2N11":3,"skill-same:01M7F2F6YB1GFF6JKVSQ7D2N11":66},{"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":33,"updatedAt":34,"install":35,"resources":47},"01M7F2F6YB1GFF6JKVSQ7D2N11","backend-core",null,"FastAPI backend routes, auth credentials, data services, migrations, tests, and service-layer troubleshooting for Open Wearables.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fopen-wearables\u002Fsub-skills\u002Fbackend-core\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: backend-core\ndescription: \"FastAPI backend routes, auth credentials, data services,\n  migrations, tests, and service-layer troubleshooting for Open Wearables.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: MIT\n---\n\n# Backend Core\n\nUse this sub-skill for Open Wearables FastAPI backend work: API routes, developer auth, API keys, SDK applications, users, connections, summaries, events, health scores, timeseries, sync status, seed data, outgoing webhooks, service\u002Frepository\u002Fmodel\u002Fschema patterns, configuration, migrations, Celery\u002FRedis orchestration, and backend tests.\n\n## Route the task\n\n- For endpoint families, auth requirements, route registration, OpenAPI\u002Fdocs navigation, and API-change checklists, read [api-routes.md](references\u002Fapi-routes.md).\n- For data models, repositories, service layer patterns, schemas, summaries\u002Fevents\u002Ftimeseries flow, sync status, seed data, and outgoing webhook internals, read [data-model-and-services.md](references\u002Fdata-model-and-services.md).\n- For concrete backend commands, local Docker\u002Fuv workflows, migrations, seeding, targeted pytest selection, and endpoint implementation steps, read [workflows.md](references\u002Fworkflows.md).\n- For PostgreSQL\u002FRedis\u002Ftestcontainers, auth\u002FAPI-key, Svix, AWS, Celery, OpenAPI, pagination\u002Fdate, and migration failures, read [troubleshooting.md](references\u002Ftroubleshooting.md).\n- When a checkout is available, run the safe static checker before or after backend edits: `python skills\u002Fdisco\u002Fopen-wearables\u002Fsub-skills\u002Fbackend-core\u002Fscripts\u002Fcheck_backend_core.py --repo-root .`. Add `--import-openapi` only when backend dependencies and config are ready; it still avoids network and writes.\n\n## Boundaries\n\nThis sub-skill owns generic backend\u002FAPI behavior. Route provider-specific OAuth, provider factory registration, coverage constants, vendor workout parsing, provider webhook parsing, historical backfill internals, and provider-specific import normalization to [provider-integrations](..\u002Fprovider-integrations\u002FSKILL.md). Route React portal pages, API hooks, query keys, runtime frontend config, and UI presentation to [frontend-portal](..\u002Ffrontend-portal\u002FSKILL.md). Route FastMCP tools, assistant configs, and MCP REST-client behavior to [mcp-server](..\u002Fmcp-server\u002FSKILL.md).\n\nWhen work crosses boundaries, keep the shared endpoint contract, auth, database schema, service\u002Frepository changes, migrations, and external API docs navigation here; ask the owning sibling sub-skill to handle provider internals or frontend\u002FMCP callers.\n\n## Non-negotiable backend rules\n\n- Preserve the route hierarchy: module routers are prefix-free, the v1 router attaches prefixes\u002Ftags, the head router attaches the API version prefix, and `app.main` includes the head router.\n- Do not use trailing slash route roots on prefixed routers. Use `\"\"` for a prefixed router's root endpoint; `\"\u002F\"` can create 307 redirects behind reverse proxies.\n- Keep route handlers thin. Validate\u002Fparse request inputs, call services, and return Pydantic response models; do not call repositories directly from routes.\n- Keep repositories database-only and model-only. Pydantic schemas and business decisions belong in services or route schemas, not repository methods.\n- Use SQLAlchemy 2.0 `Mapped[...]` model fields and the existing `app.mappings` aliases for IDs, FKs, constrained strings, dates, decimals, JSON, and relationships.\n- Use Pydantic v2 schema style with `ConfigDict(from_attributes=True)` for ORM reads and schema defaults for generated IDs\u002Ftimestamps where appropriate.\n- Protect public\u002Fexternal data APIs with `ApiKeyDep` unless the route is intentionally token\u002FSDK\u002FOAuth\u002Fsystem-specific; protect dashboard\u002Fadmin routes with `DeveloperDep`.\n- If you add, remove, rename, or retag an endpoint tagged `External: *`, update the API Reference navigation in `docs\u002Fdocs.json` in the same change.\n- Treat credentials as secrets. Never log API keys, JWTs, application secrets, provider OAuth tokens, Svix tokens, AWS keys, or master encryption material.\n- Run focused backend quality checks after changes when dependencies are available: targeted `pytest`, `ruff check`, `ruff format --check` or format, and `ty check` for type-impacting work.\n\n## Fast start for future agents\n\n1. Classify the task as route\u002FAPI contract, data-service\u002Fmodel, background\u002Fsync\u002Fwebhook, migration\u002Fconfig, test failure, or troubleshooting.\n2. Read the nearest reference in this sub-skill; avoid reopening source files unless you are implementing or verifying drift.\n3. For endpoint changes, update the route module, schemas, service, repository\u002Fmodel\u002Fmigration if needed, route registration\u002Ftags, tests, and external API docs navigation together.\n4. For data ingestion or sync changes, verify the affected data-source identity, event\u002Ftimeseries upsert semantics, sync-status events, and outgoing webhook side effects.\n5. Prefer the smallest safe test set first, then expand to the native candidate files listed in [workflows.md](references\u002Fworkflows.md) when the change scope requires it.\n","# Backend Core\n\nUse this sub-skill for Open Wearables FastAPI backend work: API routes, developer auth, API keys, SDK applications, users, connections, summaries, events, health scores, timeseries, sync status, seed data, outgoing webhooks, service\u002Frepository\u002Fmodel\u002Fschema patterns, configuration, migrations, Celery\u002FRedis orchestration, and backend tests.\n\n## Route the task\n\n- For endpoint families, auth requirements, route registration, OpenAPI\u002Fdocs navigation, and API-change checklists, read [api-routes.md](references\u002Fapi-routes.md).\n- For data models, repositories, service layer patterns, schemas, summaries\u002Fevents\u002Ftimeseries flow, sync status, seed data, and outgoing webhook internals, read [data-model-and-services.md](references\u002Fdata-model-and-services.md).\n- For concrete backend commands, local Docker\u002Fuv workflows, migrations, seeding, targeted pytest selection, and endpoint implementation steps, read [workflows.md](references\u002Fworkflows.md).\n- For PostgreSQL\u002FRedis\u002Ftestcontainers, auth\u002FAPI-key, Svix, AWS, Celery, OpenAPI, pagination\u002Fdate, and migration failures, read [troubleshooting.md](references\u002Ftroubleshooting.md).\n- When a checkout is available, run the safe static checker before or after backend edits: `python skills\u002Fdisco\u002Fopen-wearables\u002Fsub-skills\u002Fbackend-core\u002Fscripts\u002Fcheck_backend_core.py --repo-root .`. Add `--import-openapi` only when backend dependencies and config are ready; it still avoids network and writes.\n\n## Boundaries\n\nThis sub-skill owns generic backend\u002FAPI behavior. Route provider-specific OAuth, provider factory registration, coverage constants, vendor workout parsing, provider webhook parsing, historical backfill internals, and provider-specific import normalization to [provider-integrations](..\u002Fprovider-integrations\u002FSKILL.md). Route React portal pages, API hooks, query keys, runtime frontend config, and UI presentation to [frontend-portal](..\u002Ffrontend-portal\u002FSKILL.md). Route FastMCP tools, assistant configs, and MCP REST-client behavior to [mcp-server](..\u002Fmcp-server\u002FSKILL.md).\n\nWhen work crosses boundaries, keep the shared endpoint contract, auth, database schema, service\u002Frepository changes, migrations, and external API docs navigation here; ask the owning sibling sub-skill to handle provider internals or frontend\u002FMCP callers.\n\n## Non-negotiable backend rules\n\n- Preserve the route hierarchy: module routers are prefix-free, the v1 router attaches prefixes\u002Ftags, the head router attaches the API version prefix, and `app.main` includes the head router.\n- Do not use trailing slash route roots on prefixed routers. Use `\"\"` for a prefixed router's root endpoint; `\"\u002F\"` can create 307 redirects behind reverse proxies.\n- Keep route handlers thin. Validate\u002Fparse request inputs, call services, and return Pydantic response models; do not call repositories directly from routes.\n- Keep repositories database-only and model-only. Pydantic schemas and business decisions belong in services or route schemas, not repository methods.\n- Use SQLAlchemy 2.0 `Mapped[...]` model fields and the existing `app.mappings` aliases for IDs, FKs, constrained strings, dates, decimals, JSON, and relationships.\n- Use Pydantic v2 schema style with `ConfigDict(from_attributes=True)` for ORM reads and schema defaults for generated IDs\u002Ftimestamps where appropriate.\n- Protect public\u002Fexternal data APIs with `ApiKeyDep` unless the route is intentionally token\u002FSDK\u002FOAuth\u002Fsystem-specific; protect dashboard\u002Fadmin routes with `DeveloperDep`.\n- If you add, remove, rename, or retag an endpoint tagged `External: *`, update the API Reference navigation in `docs\u002Fdocs.json` in the same change.\n- Treat credentials as secrets. Never log API keys, JWTs, application secrets, provider OAuth tokens, Svix tokens, AWS keys, or master encryption material.\n- Run focused backend quality checks after changes when dependencies are available: targeted `pytest`, `ruff check`, `ruff format --check` or format, and `ty check` for type-impacting work.\n\n## Fast start for future agents\n\n1. Classify the task as route\u002FAPI contract, data-service\u002Fmodel, background\u002Fsync\u002Fwebhook, migration\u002Fconfig, test failure, or troubleshooting.\n2. Read the nearest reference in this sub-skill; avoid reopening source files unless you are implementing or verifying drift.\n3. For endpoint changes, update the route module, schemas, service, repository\u002Fmodel\u002Fmigration if needed, route registration\u002Ftags, tests, and external API docs navigation together.\n4. For data ingestion or sync changes, verify the affected data-source identity, event\u002Ftimeseries upsert semantics, sync-status events, and outgoing webhook side effects.\n5. Prefer the smallest safe test set first, then expand to the native candidate files listed in [workflows.md](references\u002Fworkflows.md) when the change scope requires it.\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":26},{"disco-role":25},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fopen-wearables\u002Fsub-skills\u002Fbackend-core",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":26},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill backend-core",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill backend-core",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill backend-core","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fopen-wearables\u002Fsub-skills\u002Fbackend-core\u002FSKILL.md",[48,54,58,62],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fapi-routes.md","REFERENCE","参考文档",13061,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fopen-wearables\u002Fsub-skills\u002Fbackend-core\u002Freferences\u002Fapi-routes.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fdata-model-and-services.md",19869,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fopen-wearables\u002Fsub-skills\u002Fbackend-core\u002Freferences\u002Fdata-model-and-services.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Ftroubleshooting.md",14243,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fopen-wearables\u002Fsub-skills\u002Fbackend-core\u002Freferences\u002Ftroubleshooting.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fworkflows.md",14934,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fopen-wearables\u002Fsub-skills\u002Fbackend-core\u002Freferences\u002Fworkflows.md",[67,74,79,86,93,100],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":75,"name":69,"nameZh":6,"description":70,"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},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\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},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\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":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\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":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\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":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]