[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K283EVXP20HBX2JCZ16C84":3,"skill-same:01M6K283EVXP20HBX2JCZ16C84":65},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6K283EVXP20HBX2JCZ16C84","minipower-backend-authentication-dotnet-basic",null,"Đăng ký Jarvis HTTP Basic AddCoreBasic trong callback AddJarvisAuthentication — mặc định ConfigBasicCredentialProvider đọc config Users, hoặc custom IBasicCredentialProvider cho DB. Dùng khi client gửi Authorization Basic.","hoangnh2412\u002Fminipower","hoangnh2412","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9604921?v=4","01M6K2685NFX1C55B4TR54NT7S","Hoàng Nguyễn","01M6K268AEV8J57BMZJEKCJNZE",7,"MIT","https:\u002F\u002Fgithub.com\u002Fhoangnh2412\u002Fminipower\u002Fblob\u002Fmain\u002Fsrc\u002Fbackend\u002Fskills\u002Fminipower-backend-authentication-dotnet\u002Fproviders\u002Fbasic\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"dotnet","authentication","backend","basic","minipower backend authentication dotnet","minipower backend authentication dotnet basic","config","http","authorization","jarvis","db","client","users","khi","callback","custom","2026-11-10 10:12:30",false,"---\nname: minipower-backend-authentication-dotnet-basic\ndescription: Đăng ký Jarvis HTTP Basic AddCoreBasic trong callback AddJarvisAuthentication — mặc định ConfigBasicCredentialProvider đọc config Users, hoặc custom IBasicCredentialProvider cho DB. Dùng khi client gửi Authorization Basic.\ndependencies:\n  - Jarvis.Authentications.Basic\n---\n\n# HTTP Basic\n\n## Package\n\n```xml\n\u003CPackageReference Include=\"Jarvis.Authentications.Basic\" Version=\"1.0.1\" \u002F>\n```\n\n## Program.cs\n\nĐăng ký **trong callback** `AddJarvisAuthentication`. Provider truyền qua generic — mặc định `ConfigBasicCredentialProvider` (đọc config):\n\n```csharp\nusing Jarvis.Authentication;         \u002F\u002F AddJarvisAuthentication\nusing Jarvis.Authentication.Basic;   \u002F\u002F AddCoreBasic, ConfigBasicCredentialProvider\n\nbuilder.Services.AddJarvisAuthentication(builder.Configuration, auth =>\n{\n    auth.AddCoreBasic\u003CConfigBasicCredentialProvider>(builder.Configuration);\n});\n```\n\nScheme mặc định `\"Basic\"`. Handler `JarvisBasicAuthenticationHandler` giải mã `Authorization: Basic base64(user:pass)` rồi ủy xác thực cho provider. Challenge trả `WWW-Authenticate: Basic realm=\"...\"`.\n\n## Custom provider (DB có password hash)\n\n```csharp\nauth.AddCoreBasic\u003CMyDbBasicCredentialProvider>(builder.Configuration);\n```\n\n- Implement `IBasicCredentialProvider.AuthenticateAsync(scheme, user, password, ct)` → `BasicValidationResult?` (null = fail).\n- **Đăng ký Singleton** (tự động) — tra DB → `IDbContextFactory` \u002F `IServiceScopeFactory`.\n\n## appsettings.json\n\nSection `Authentication:Basic:{realm}` — `Realm` (header challenge) + `Users` (dict user → Password, Roles):\n\n```json\n{\n  \"Authentication\": {\n    \"Basic\": {\n      \"Default\": {\n        \"Realm\": \"Jarvis API\",\n        \"Users\": {\n          \"demo\": { \"Password\": \"\", \"Roles\": [ \"User\" ] }\n        }\n      }\n    }\n  }\n}\n```\n\n⚠️ `Password` plain-text trong config — **chỉ dev\u002Ftest** hoặc service-to-service nội bộ.\nProduction dùng custom `IBasicCredentialProvider` với password đã hash. Password — env \u002F secret store.\n\n## Validate\n\n- Thiếu \u002F sai credential → 401 (+ header `WWW-Authenticate: Basic`)\n- `Authorization: Basic base64(demo:pass)` hợp lệ → 200, claims gồm Name + Roles\n","# HTTP Basic\n\n## Package\n\n```xml\n\u003CPackageReference Include=\"Jarvis.Authentications.Basic\" Version=\"1.0.1\" \u002F>\n```\n\n## Program.cs\n\nĐăng ký **trong callback** `AddJarvisAuthentication`. Provider truyền qua generic — mặc định `ConfigBasicCredentialProvider` (đọc config):\n\n```csharp\nusing Jarvis.Authentication;         \u002F\u002F AddJarvisAuthentication\nusing Jarvis.Authentication.Basic;   \u002F\u002F AddCoreBasic, ConfigBasicCredentialProvider\n\nbuilder.Services.AddJarvisAuthentication(builder.Configuration, auth =>\n{\n    auth.AddCoreBasic\u003CConfigBasicCredentialProvider>(builder.Configuration);\n});\n```\n\nScheme mặc định `\"Basic\"`. Handler `JarvisBasicAuthenticationHandler` giải mã `Authorization: Basic base64(user:pass)` rồi ủy xác thực cho provider. Challenge trả `WWW-Authenticate: Basic realm=\"...\"`.\n\n## Custom provider (DB có password hash)\n\n```csharp\nauth.AddCoreBasic\u003CMyDbBasicCredentialProvider>(builder.Configuration);\n```\n\n- Implement `IBasicCredentialProvider.AuthenticateAsync(scheme, user, password, ct)` → `BasicValidationResult?` (null = fail).\n- **Đăng ký Singleton** (tự động) — tra DB → `IDbContextFactory` \u002F `IServiceScopeFactory`.\n\n## appsettings.json\n\nSection `Authentication:Basic:{realm}` — `Realm` (header challenge) + `Users` (dict user → Password, Roles):\n\n```json\n{\n  \"Authentication\": {\n    \"Basic\": {\n      \"Default\": {\n        \"Realm\": \"Jarvis API\",\n        \"Users\": {\n          \"demo\": { \"Password\": \"\", \"Roles\": [ \"User\" ] }\n        }\n      }\n    }\n  }\n}\n```\n\n⚠️ `Password` plain-text trong config — **chỉ dev\u002Ftest** hoặc service-to-service nội bộ.\nProduction dùng custom `IBasicCredentialProvider` với password đã hash. Password — env \u002F secret store.\n\n## Validate\n\n- Thiếu \u002F sai credential → 401 (+ header `WWW-Authenticate: Basic`)\n- `Authorization: Basic base64(demo:pass)` hợp lệ → 200, claims gồm Name + Roles\n",{"name":5,"description":7,"dependencies":40},[41],"Jarvis.Authentications.Basic","main","6a33a408b13c0b55ce2c7c5558e6f239e9c091b2","src\u002Fbackend\u002Fskills\u002Fminipower-backend-authentication-dotnet\u002Fproviders\u002Fbasic",0,"https:\u002F\u002Fgithub.com\u002Fhoangnh2412\u002Fminipower","https:\u002F\u002Fgithub.com\u002Fhoangnh2412","http:\u002F\u002Fhoangnh.com","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fhoangnh91\u002F","2026-11-09 04:22:29",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add hoangnh2412\u002Fminipower --skill minipower-backend-authentication-dotnet-basic",{"tool":57,"command":58},"bunx","bunx skills add hoangnh2412\u002Fminipower --skill minipower-backend-authentication-dotnet-basic",{"tool":60,"command":61},"pnpm","pnpm dlx skills add hoangnh2412\u002Fminipower --skill minipower-backend-authentication-dotnet-basic","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhoangnh2412\u002Fminipower\u002Fblob\u002Fmain\u002Fsrc\u002Fbackend\u002Fskills\u002Fminipower-backend-authentication-dotnet\u002Fproviders\u002Fbasic\u002FSKILL.md",true,[],[66,87,104,117,132,140],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":35},"01M6K2MXJSPKZ79031YX0HB546","minipower-vcs-gitlab","Tra GitLab (search, issue, pipeline, MR), soạn MR\u002Fcomment, tạo MR và commit\u002Fpush sau L2. Dùng khi merge request, GitLab MCP, code_provider gitlab — không scaffold .NET, không force-push.","https:\u002F\u002Fgithub.com\u002Fhoangnh2412\u002Fminipower\u002Fblob\u002Fmain\u002Fsrc\u002Fvcs\u002Fskills\u002Fminipower-vcs-gitlab\u002FSKILL.md",[],[73,74,75,76,77,78,79,80,81,82,83,84,85,86,32],"gitlab","minipower vcs gitlab","MCP","github","commit","merge","scaffold","code","push","search","pipeline","issue","provider","l2",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":35},"01M6K2MQXWTZWXG7PKARYT0RNY","minipower-toolbox-skill-author","Viết và soát skill lá-rời Minipower (minipower-{module}-{capability}) — chọn module bằng 3 câu hỏi ADR-022, dựng cây SKILL.md\u002FREADME.md\u002Fworkflows\u002Fproviders, đặt description kích hoạt được, cập nhật hub và test canh. Hỏi người xác nhận trước mọi quyết định, không tự chốt. Dùng khi tạo skill mới, thêm provider\u002Fpattern\u002Fworkflow, mở module mới, hoặc soát skill có sẵn lệch chuẩn.","https:\u002F\u002Fgithub.com\u002Fhoangnh2412\u002Fminipower\u002Fblob\u002Fmain\u002Fsrc\u002Ftoolbox\u002Fskills\u002Fminipower-toolbox-skill-author\u002FSKILL.md",[],[94,95,85,96,97,98,99,32,100,101,76,102,103],"minipower toolbox skill author","Providers","pattern","hub","README","module","adr","workflows","workflow","test",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":35},"01M6K2MJD0DJNJA538148044K6","minipower-tasks-lark","Đọc, lọc, tìm, soạn nháp và ghi task Lark (tasklist \u002F task) theo L1–L3. Dùng khi việc trên Lark, sprint, tasklist, \"tìm task\", \"tạo task\", tasks_provider lark — không dùng cho tin nhắn nhóm hay wiki.","https:\u002F\u002Fgithub.com\u002Fhoangnh2412\u002Fminipower\u002Fblob\u002Fmain\u002Fsrc\u002Ftasks\u002Fskills\u002Fminipower-tasks-lark\u002FSKILL.md",[],[111,112,113,32,76,114,85,115,116],"tasks","lark","minipower tasks lark","wiki","task","sprint",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":35},"01M6K2ME2K0QBN64PQKSB2W3VX","minipower-support-registry","Rà registry DOC theo project_mode, nhắc owner thiếu ID hoặc chỗ lưu sai. Dùng khi doc-registry, thiếu DOC, rà soát tiêu chuẩn — không tự sửa FR, không init.","https:\u002F\u002Fgithub.com\u002Fhoangnh2412\u002Fminipower\u002Fblob\u002Fmain\u002Fsrc\u002Fsupport\u002Fskills\u002Fminipower-support-registry\u002FSKILL.md",[],[124,125,126,127,76,128,129,130,32,131],"minipower support registry","registry","support","id","init","doc","project","mode",{"skillNo":133,"name":134,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":35},"01M6K2MB1B4C4AP9VCSRBAT83D","minipower-support-publish","https:\u002F\u002Fgithub.com\u002Fhoangnh2412\u002Fminipower\u002Fblob\u002Fmain\u002Fsrc\u002Fsupport\u002Fskills\u002Fminipower-support-publish\u002FSKILL.md",[],[138,139,126],"publish","minipower support publish",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":35},"01M6K2M4Q4N1QHA0VGD58WFJNF","minipower-router","Phân loại intent Minipower rồi gợi ý đúng một pack nghề hoặc kênh. Dùng khi làm gì tiếp, chọn skill, dispatcher, không biết mở pack nào — không tự gọi MCP L3, không spawn agent.","https:\u002F\u002Fgithub.com\u002Fhoangnh2412\u002Fminipower\u002Fblob\u002Fmain\u002Fsrc\u002Frouter\u002Fskills\u002Fminipower-router\u002FSKILL.md",[],[147,148,76,149,150,151,152,32,153,75],"minipower router","router","dispatcher","spawn","intent","spawn agent","pack"]