[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79V4KD28SN4VBJ6QG43MH8A":3,"skill-same:01M79V4KD28SN4VBJ6QG43MH8A":61},{"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},"01M79V4KD28SN4VBJ6QG43MH8A","db-alembic-schema",null,"Write or modify SQLAlchemy ORM models in apps\u002Fapi\u002Fapp\u002Finfrastructure\u002F and execute safe Alembic migrations. Use for database model, relation, index, enum changes, or schema-to-domain-layer sync.","irosadie\u002Fopen-grounding","irosadie","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F25891018?v=4","01M6D9VT1T5RGGX753ARTN5J8N","Imron Rosadi","01M79V448QN8WY103SCY8408F9",2,"MIT","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-grounding\u002Fblob\u002Fdevelop\u002F.agents\u002Fskills\u002Fdb-alembic-schema\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: db-alembic-schema\ndescription: Write or modify SQLAlchemy ORM models in apps\u002Fapi\u002Fapp\u002Finfrastructure\u002F and execute safe Alembic migrations. Use for database model, relation, index, enum changes, or schema-to-domain-layer sync.\n---\n\n# Skill: DB Alembic Schema\n\n## Context (Required)\n- Folder scope + code samples: `references\u002Fcontext.md`\n- Execution checklist: `templates\u002Fchecklist.md`\n\nApply schema changes minimally and safely using SQLAlchemy ORM models and Alembic migrations.\n\n## Naming Conventions\n\n### Tables & Columns\n\n| Category | Table Prefix | Example |\n|----------|-------------|---------|\n| Master \u002F reference data | `master_` | `master_service_types` |\n| Transaction \u002F business data | `business_` | `business_shipments` |\n| Membership data | `member_` | `member_profiles` |\n| User \u002F auth data | *(no prefix)* | `users`, `auth_sessions` |\n| System config data | *(no prefix)* | `configurations` |\n\n- Table names: `snake_case` plural (e.g., `users`, `auth_sessions`)\n- Column names: `snake_case` (e.g., `created_at`, `is_active`)\n\n### Boolean Fields — prefix `is` or `has`\n### Enum Values — SCREAMING_SNAKE_CASE\n\nIf a field has a fixed set of values, declare a Python `StrEnum` in `apps\u002Fapi\u002Fapp\u002Fdomain\u002Fmodels.py` as the source of truth. Use `Enum(PythonEnum)` in the SQLAlchemy column.\n\n```python\n# domain\u002Fmodels.py (source of truth)\nclass UserStatus(StrEnum):\n    ACTIVE = \"ACTIVE\"\n    SUSPENDED = \"SUSPENDED\"\n```\n\n```python\n# infrastructure\u002Fdatabase.py — use Enum(StrEnum)\nstatus: Mapped[UserStatus] = mapped_column(Enum(UserStatus, name=\"UserStatus\"), default=UserStatus.ACTIVE, nullable=False)\n```\n\n### Required Standard Fields\n\n```python\nid: Mapped[str] = mapped_column(Uuid(as_uuid=False), primary_key=True)\ncreated_at: Mapped[datetime] = mapped_column(\"created_at\", DateTime(timezone=False), default=utc_now, nullable=False)\nupdated_at: Mapped[datetime] = mapped_column(\"updated_at\", DateTime(timezone=False), default=utc_now, onupdate=utc_now, nullable=False)\ndeleted_at: Mapped[datetime | None] = mapped_column(\"deleted_at\", DateTime(timezone=False), nullable=True)\n```\n\n## Workflow\n\n1. Read `apps\u002Fapi\u002Fapp\u002Finfrastructure\u002Fdatabase.py` to understand existing ORM records.\n2. Read `apps\u002Fapi\u002Fapp\u002Fdomain\u002Fmodels.py` to ensure entities and StrEnums are in sync.\n3. Identify breaking vs non-breaking changes.\n4. Write minimal diff to the ORM record class.\n5. Run: `uv run alembic revision --autogenerate -m \"\u003Cdescription>\"`\n6. Review the generated migration file in `alembic\u002Fversions\u002F`.\n7. Run: `uv run alembic upgrade head`\n8. If a new entity\u002Ffield is added, sync `domain\u002Fmodels.py` and `domain\u002Frepositories.py`.\n\n## Prohibitions\n\n- **NEVER** rename a table, column, or enum without a clear requirement.\n- **NEVER** drop an existing column or relation without documenting the migration impact.\n- **NEVER** leave placeholders or names that violate the prefix convention.\n- **NEVER** edit files outside the ORM\u002Fmigration scope unless the task requires it.\n- **NEVER** run `alembic downgrade` on a shared database without explicit confirmation.\n\n## Pre-Completion Checklist\n\n- [ ] Table naming follows the category prefix\n- [ ] Table name is `snake_case` plural\n- [ ] Column names are `snake_case`\n- [ ] Boolean fields prefixed `is` or `has`\n- [ ] Enum values in SCREAMING_SNAKE_CASE\n- [ ] Standard fields present: id, created_at, updated_at\n- [ ] `StrEnum` declared in `domain\u002Fmodels.py` (if new enum)\n- [ ] `uv run alembic revision --autogenerate -m \"\u003Cdesc>\" run\n- [ ] Migration file reviewed\n- [ ] `uv run alembic upgrade head` passes\n- [ ] `uv run mypy app` passes\n- [ ] Every file ends with a newline (EOF)\n","# Skill: DB Alembic Schema\n\n## Context (Required)\n- Folder scope + code samples: `references\u002Fcontext.md`\n- Execution checklist: `templates\u002Fchecklist.md`\n\nApply schema changes minimally and safely using SQLAlchemy ORM models and Alembic migrations.\n\n## Naming Conventions\n\n### Tables & Columns\n\n| Category | Table Prefix | Example |\n|----------|-------------|---------|\n| Master \u002F reference data | `master_` | `master_service_types` |\n| Transaction \u002F business data | `business_` | `business_shipments` |\n| Membership data | `member_` | `member_profiles` |\n| User \u002F auth data | *(no prefix)* | `users`, `auth_sessions` |\n| System config data | *(no prefix)* | `configurations` |\n\n- Table names: `snake_case` plural (e.g., `users`, `auth_sessions`)\n- Column names: `snake_case` (e.g., `created_at`, `is_active`)\n\n### Boolean Fields — prefix `is` or `has`\n### Enum Values — SCREAMING_SNAKE_CASE\n\nIf a field has a fixed set of values, declare a Python `StrEnum` in `apps\u002Fapi\u002Fapp\u002Fdomain\u002Fmodels.py` as the source of truth. Use `Enum(PythonEnum)` in the SQLAlchemy column.\n\n```python\n# domain\u002Fmodels.py (source of truth)\nclass UserStatus(StrEnum):\n    ACTIVE = \"ACTIVE\"\n    SUSPENDED = \"SUSPENDED\"\n```\n\n```python\n# infrastructure\u002Fdatabase.py — use Enum(StrEnum)\nstatus: Mapped[UserStatus] = mapped_column(Enum(UserStatus, name=\"UserStatus\"), default=UserStatus.ACTIVE, nullable=False)\n```\n\n### Required Standard Fields\n\n```python\nid: Mapped[str] = mapped_column(Uuid(as_uuid=False), primary_key=True)\ncreated_at: Mapped[datetime] = mapped_column(\"created_at\", DateTime(timezone=False), default=utc_now, nullable=False)\nupdated_at: Mapped[datetime] = mapped_column(\"updated_at\", DateTime(timezone=False), default=utc_now, onupdate=utc_now, nullable=False)\ndeleted_at: Mapped[datetime | None] = mapped_column(\"deleted_at\", DateTime(timezone=False), nullable=True)\n```\n\n## Workflow\n\n1. Read `apps\u002Fapi\u002Fapp\u002Finfrastructure\u002Fdatabase.py` to understand existing ORM records.\n2. Read `apps\u002Fapi\u002Fapp\u002Fdomain\u002Fmodels.py` to ensure entities and StrEnums are in sync.\n3. Identify breaking vs non-breaking changes.\n4. Write minimal diff to the ORM record class.\n5. Run: `uv run alembic revision --autogenerate -m \"\u003Cdescription>\"`\n6. Review the generated migration file in `alembic\u002Fversions\u002F`.\n7. Run: `uv run alembic upgrade head`\n8. If a new entity\u002Ffield is added, sync `domain\u002Fmodels.py` and `domain\u002Frepositories.py`.\n\n## Prohibitions\n\n- **NEVER** rename a table, column, or enum without a clear requirement.\n- **NEVER** drop an existing column or relation without documenting the migration impact.\n- **NEVER** leave placeholders or names that violate the prefix convention.\n- **NEVER** edit files outside the ORM\u002Fmigration scope unless the task requires it.\n- **NEVER** run `alembic downgrade` on a shared database without explicit confirmation.\n\n## Pre-Completion Checklist\n\n- [ ] Table naming follows the category prefix\n- [ ] Table name is `snake_case` plural\n- [ ] Column names are `snake_case`\n- [ ] Boolean fields prefixed `is` or `has`\n- [ ] Enum values in SCREAMING_SNAKE_CASE\n- [ ] Standard fields present: id, created_at, updated_at\n- [ ] `StrEnum` declared in `domain\u002Fmodels.py` (if new enum)\n- [ ] `uv run alembic revision --autogenerate -m \"\u003Cdesc>\" run\n- [ ] Migration file reviewed\n- [ ] `uv run alembic upgrade head` passes\n- [ ] `uv run mypy app` passes\n- [ ] Every file ends with a newline (EOF)\n",{"name":5,"description":7},"develop","b6680e8ea54cc5b974974e9502f89036a44ff17a",".agents\u002Fskills\u002Fdb-alembic-schema",0,"https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-grounding","https:\u002F\u002Fgithub.com\u002Firosadie","http:\u002F\u002Fimronrosadi.com","The Hatless Engineer 👨‍💻","2026-10-12 05:51:56",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add irosadie\u002Fopen-grounding --skill db-alembic-schema",{"tool":39,"command":40},"bunx","bunx skills add irosadie\u002Fopen-grounding --skill db-alembic-schema",{"tool":42,"command":43},"pnpm","pnpm dlx skills add irosadie\u002Fopen-grounding --skill db-alembic-schema","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-grounding\u002Fblob\u002Fdevelop\u002F.agents\u002Fskills\u002Fdb-alembic-schema\u002FSKILL.md",true,[47,53,57],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"agents\u002Fopenai.yaml","REFERENCE","参考文档",306,"https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-grounding\u002Fblob\u002Fdevelop\u002F.agents\u002Fskills\u002Fdb-alembic-schema\u002Fagents\u002Fopenai.yaml",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcontext.md",3003,"https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-grounding\u002Fblob\u002Fdevelop\u002F.agents\u002Fskills\u002Fdb-alembic-schema\u002Freferences\u002Fcontext.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"templates\u002Fchecklist.md",900,"https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-grounding\u002Fblob\u002Fdevelop\u002F.agents\u002Fskills\u002Fdb-alembic-schema\u002Ftemplates\u002Fchecklist.md",[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M79V84Q1X3Q0G5KP14XNYHET","web-slicing","Convert screenshot\u002FFigma designs into pixel-perfect frontend UI with reusable components. Use when the task focuses on visual and layout implementation.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-grounding\u002Fblob\u002Fdevelop\u002F.claude\u002Fskills\u002Fweb-slicing\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M79V8283XST1FAKK8VG9NG7P","web-seo-geo-friendly","Optimize public Next.js App Router pages for SEO and GEO (Generative Engine Optimization). Use when the user explicitly requests SEO\u002FGEO optimization on public pages.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-grounding\u002Fblob\u002Fdevelop\u002F.claude\u002Fskills\u002Fweb-seo-geo-friendly\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M79V7ZP6V69K006384HR71ZD","web-code-review","Review frontend code with a firm senior-lead standard, focusing on bugs, regressions, architecture risks, and test gaps in apps\u002Fweb and the shared contracts the frontend depends on.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-grounding\u002Fblob\u002Fdevelop\u002F.claude\u002Fskills\u002Fweb-code-review\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M79V7XGC46DNQ0VR5V5TQ6QA","web-bugfix","Fix frontend bugs with minimum-touch changes, keep other surfaces stable, and sync schema, types, hooks, constants, tests, and related docs when impacted.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-grounding\u002Fblob\u002Fdevelop\u002F.claude\u002Fskills\u002Fweb-bugfix\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M79V7TZ5GPXFCZ752RZAGTA9","web-api-integrated","Integrate API endpoints into the frontend with Zod schemas, response types, constants, and react-query hooks. Use when implementing endpoints from an API contract, Postman, or Swagger.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-grounding\u002Fblob\u002Fdevelop\u002F.claude\u002Fskills\u002Fweb-api-integrated\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M79V7QRSYY2RGMQCVBY1GQ34","skill-creator","Create a new skill from scratch with full structure — SKILL.md, references, templates, openai.yaml, Claude wrapper, and registration in manifest + AGENTS.md + CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Firosadie\u002Fopen-grounding\u002Fblob\u002Fdevelop\u002F.claude\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[]]