Summary
มาตรฐานการพัฒนาซอฟต์แวร์ของทีม SSD: React/TypeScript, .NET Core, Python, Git — ใช้เมื่อเขียนโค้ด, review, refactor, ตั้งค่าโปรเจค, หรือถามเรื่อง conventions ของ Smile Solution Development
pratchaya0/ssd-agent-skills · Archived
มาตรฐานการพัฒนาซอฟต์แวร์ของทีม SSD: React/TypeScript, .NET Core, Python, Git — ใช้เมื่อเขียนโค้ด, review, refactor, ตั้งค่าโปรเจค, หรือถามเรื่อง conventions ของ Smile Solution Development
npx skills add pratchaya0/ssd-agent-skills --skill ssd
มาตรฐานการพัฒนาซอฟต์แวร์ของทีม SSD: React/TypeScript, .NET Core, Python, Git — ใช้เมื่อเขียนโค้ด, review, refactor, ตั้งค่าโปรเจค, หรือถามเรื่อง conventions ของ Smile Solution Development
This repository is archived — consider an actively maintained alternative.
ใช้ skill นี้เมื่อใช้งาน Redux ใน React, สร้าง slice, ตั้งค่า rootReducer, หรือ dispatch/subscr…
2 installsใช้ skill นี้เมื่อสร้าง form ใน React ด้วย Formik, ต้องการ validation, ปรับแต่ง MUI component ใ…
2 installsใช้ skill นี้เมื่อเขียน React component, กำหนด Props type, ใช้ Refs/Fragments, ตั้งชื่อ compone…
2 installsใช้ skill นี้เมื่อเรียก API ด้วย Axios ใน React, สร้าง React Query hook, ใช้ NSwag สร้าง API cl…
2 installsRelated neighbors and high-traction skills in the same topics — useful to compare before installing.
Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge F…
263K installsOther skills from pratchaya0/ssd-agent-skills.
npx skills add pratchaya0/ssd-agent-skills
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Files included with this skill beyond the listing page.
SKILL.md
10,282 B
SUMMARY.md
352 B
คุณคือ AI assistant ที่ช่วยทีม Smile Solution Development (SSD) เขียนโค้ดตามมาตรฐานของทีม
พิมพ์ /ssd <command> เพื่อเรียกใช้คำสั่ง เช่น:
/ssd frontend-setup — ตั้งค่าโปรเจค React/TypeScript/ssd git-commit — เขียน commit message ตามมาตรฐาน/ssd python-review — review Python code| Command | รายละเอียด |
|---|---|
frontend-init |
เริ่มโปรเจค Frontend ใหม่จาก react-ts-template-2023 v1.2.0 |
backend-init |
เริ่มโปรเจค Backend ใหม่จาก Net60ApiTemplate2023 (202306) |
frontend-setup |
ตั้งค่าโปรเจค React/TS ใหม่ — folder structure, tools, naming conventions |
frontend-feature |
สร้าง feature ใหม่จาก natural language — components, pages, Redux slice, API client ครบ |
react-component |
มาตรฐาน React functional component, Props typing, hooks |
react-form |
Formik form implementation กับ MUI |
react-state |
Redux slice, dispatch patterns |
react-api |
API client ด้วย Axios, React Query, NSwag |
| Command | รายละเอียด |
|---|---|
backend-setup |
ตั้งค่าโปรเจค ASP.NET Core 6 ใหม่ |
backend-feature |
สร้าง feature ใหม่จาก natural language — Service, Controller, DTO ครบ (database-first, ต้องมี EF Core Model ก่อน) |
dotnet-controller |
ASP.NET API controllers, routing, authorization |
dotnet-service |
Service layer, DTO, AutoMapper |
dotnet-infra |
Serilog logging, Quartz jobs, RestSharp HTTP clients |
dotnet-scaffold |
EF Core Reverse Engineer ผ่าน CLI — dotnet ef dbcontext scaffold พร้อม SSD conventions |
dotnet-ef-query |
EF Core query patterns — AsNoTracking, Include, pagination, transaction, async |
database |
EF Core Reverse Engineer, database naming conventions |
| Command | รายละเอียด |
|---|---|
python-starter |
เริ่มโปรเจค FastAPI ใหม่ด้วย Clean Architecture |
python-feature |
สร้าง feature/endpoint ใหม่จาก natural language — CRUD และ streaming + external service |
python-review |
Review Python code (architecture, HTTP methods, logging, SQLAlchemy) |
python-refactor |
Refactor .py files อย่างปลอดภัยพร้อม pytest |
python-database |
PostgreSQL + SQLAlchemy 2.x: naming, ORM models, Alembic migration |
| Command | รายละเอียด |
|---|---|
ts-fix-unused |
แก้ TS6133/TS6196 build errors — @ts-nocheck สำหรับ NSwag files, @ts-ignore สำหรับ manual code |
frontend-review |
Review React/TypeScript code |
backend-review |
Review C#/.NET code |
frontend-refactor |
Refactor .tsx/.ts files อย่างปลอดภัย |
backend-refactor |
Refactor .cs files อย่างปลอดภัย |
| Command | รายละเอียด |
|---|---|
git-commit |
Conventional Commits, Semantic Versioning |
git-flow |
Git Flow workflow, branch naming, pull request standards |
release-it-setup |
ตั้งค่า release-it สำหรับ automated GitHub releases |
| Command | รายละเอียด |
|---|---|
contact-skill-gen |
สร้าง SKILL.md สำหรับ shared libraries |
bug-auth-redirect |
แก้ white screen / auth redirect loop |
bug-version-checker |
แก้ version cache race condition |
| Command | รายละเอียด |
|---|---|
frontend-doctor |
ตรวจสุขภาพโปรเจค React/TypeScript — dependencies, config, folder structure, ENV pattern |
backend-doctor |
ตรวจสุขภาพโปรเจค ASP.NET Core — NuGet packages, middleware pipeline, appsettings |
python-doctor |
ตรวจสุขภาพโปรเจค FastAPI — dependencies, Clean Architecture layers, main.py wiring |
python-streaming-doctor |
ตรวจ production-readiness ของ SSE/streaming endpoint — proxy buffering, timeout, worker, resource leak, multi-replica |
db-doctor |
ตรวจสุขภาพ Database schema — standard columns, datetime2, naming, SP prefix |
เมื่อผู้ใช้พิมพ์ /ssd <command>:
reference/<command>.md, ปฏิบัติตามมาตรฐาน SSD ที่ระบุในไฟล์นั้นทุกข้อ, เขียนโค้ดตาม conventions ที่กำหนดเท่านั้น ห้ามเบี่ยงเบนhelp / --help / -h / ? / -? — แสดงรายการคำสั่งทั้งหมดข้างต้น (จัดกลุ่มตามหมวด) แล้วถามว่าต้องการใช้คำสั่งใด- เป็น segment แล้วค้นหาคำสั่งที่มี segment ใด segment หนึ่ง "ขึ้นต้น" ด้วยข้อความที่พิมพ์ (prefix match ต่อ segment, ไม่สนตัวพิมพ์เล็ก/ใหญ่) ครอบคลุมทั้ง segment แรก (หมวด) และ segment ท้าย (keyword) เช่น:- พิมพ์ dotn → ตรงกับ segment แรกของ dotnet-controller, dotnet-service, dotnet-infra, dotnet-scaffold, dotnet-ef-query (5 คำสั่ง → แสดงเป็น plain text ห้ามใช้ AskUserQuestion) - พิมพ์ doctor → ตรงกับ segment ท้ายของ frontend-doctor, backend-doctor, python-doctor, db-doctor - พิมพ์ review → ตรงกับ segment ท้ายของ frontend-review, backend-review, python-review - เจอ 1 คำสั่ง — แนะนำคำสั่งนั้นทันที พร้อมคำอธิบายสั้นๆ และบรรทัด "ลองพิมพ์: /ssd <command>" - เจอมากกว่า 1 คำสั่ง แต่ไม่เกิน 4 คำสั่ง — แสดงเฉพาะคำสั่งที่ตรง (ไม่ใช่ทั้งหมด) พร้อมคำอธิบาย แล้วใช้ AskUserQuestion ถามผู้ใช้ว่าต้องการคำสั่งใดจากรายการที่ตรงนั้น (ใส่ทุกคำสั่งที่ตรงเป็น option — AskUserQuestion รับ option ได้สูงสุด 4 ตัวเท่านั้น) - เจอมากกว่า 4 คำสั่ง — ห้ามใช้ AskUserQuestion (option เกิน 4 จะถูกตัดออกบางส่วนโดยไม่มีกฎว่าตัดตัวไหน ทำให้บางคำสั่งเลือกไม่ได้) แสดงรายการคำสั่งที่ตรงทั้งหมดเป็นข้อความ แล้วถามให้ผู้ใช้พิมพ์ชื่อคำสั่งที่ต้องการจากรายการนั้นแทน - ไม่เจอเลย — fallback กลับไปแสดงรายการคำสั่งทั้งหมดและถามว่าต้องการใช้คำสั่งใด (เหมือนข้อ 2)
มาตรฐานเหล่านี้ใช้กับทุก skill:
Stack หลัก:
Encoding: UTF-8, line ending CRLF (Windows)
Naming:
_camelCase (private field)ข้อห้ามสากล:
any type ใน TypeScript{id}/update, {id}/deleteconfig file: .cursorrules