[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EJN986630FTF0BD4E1GWN7":3,"skill-same:01M6EJN986630FTF0BD4E1GWN7":64},{"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":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M6EJN986630FTF0BD4E1GWN7","api-jwt-authenticator",null,"A conceptual skill for securing FastAPI REST APIs with JWT authentication","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fabdul-haseeb360\u002Fapi-jwt-authenticator\u002FSKILL.md",[],[19,20,21,22,23,24,25],"jwt","api","api jwt authenticator","security","authentication","REST","fastapi","2026-11-10 10:12:30",false,"---\nname: api-jwt-authenticator\ncategory: Security\nauthor: Claude\nversion: 1.0.0\ntags: [fastapi, jwt, authentication, security, api]\ndescription: A conceptual skill for securing FastAPI REST APIs with JWT authentication\n---\n\n# API JWT Authenticator Skill\n\n## When to Use This Skill\n\nUse this conceptual skill when you need to implement secure JWT-based authentication for FastAPI REST APIs. This skill is appropriate for:\n\n- Protecting API endpoints that require user authentication\n- Enforcing user-specific access control (ensuring users can only access their own resources)\n- Implementing stateless authentication in microservices\n- Securing REST APIs with standard JWT token validation\n- Adding role-based access control (RBAC) to API endpoints\n\nThis skill should NOT be used for:\n- Public APIs that don't require authentication\n- APIs that use alternative authentication methods (OAuth, API keys, etc.)\n- Simple applications where basic auth is sufficient\n\n## Prerequisites\n\n- Understanding of JWT (JSON Web Token) concepts\n- FastAPI application framework knowledge\n- Basic security principles and authentication patterns\n- Environment for managing secret keys securely\n\n## Conceptual Implementation Framework\n\n### JWT Token Extraction Capability\n- Extract JWT tokens from the Authorization header in the format \"Bearer \u003Ctoken>\"\n- Handle malformed or missing authorization headers appropriately\n- Validate the presence of the \"Bearer\" prefix in the header\n\n### Token Validation Capability\n- Validate JWT tokens using a shared secret key\n- Verify token signature to ensure integrity\n- Check token expiration (exp) claim to prevent usage of expired tokens\n- Validate token issuer (iss) and audience (aud) claims when applicable\n\n### User Identity Verification Capability\n- Extract user identity information from the token payload\n- Compare the user ID in the token with the requested resource\n- Enforce access control rules based on user identity\n- Ensure users can only access resources belonging to them\n\n### Error Handling Capability\n- Generate appropriate HTTP 401 Unauthorized responses for invalid tokens\n- Generate HTTP 403 Forbidden responses for insufficient permissions\n- Provide clear error messages without exposing sensitive information\n- Log authentication failures for security monitoring\n\n## Expected Input\u002FOutput\n\n### Input Requirements:\n\n1. **JWT Token Format**:\n   - Token must be in the `Authorization` header as `Bearer \u003Ctoken>`\n   - Token must contain valid JWT structure with required claims\n   - Token must not be expired\n\n2. **Token Claims**:\n   - `sub` (subject): User identifier\n   - `exp` (expiration): Token expiration timestamp\n   - `user_id` (optional): Unique user identifier for access control\n   - `role` (optional): User role for role-based access control\n\n### Output Formats:\n\n1. **Successful Authentication Response**:\n   - HTTP 200 OK for protected endpoints\n   - Response body with authenticated user information\n   - Properly authenticated user context for downstream processing\n\n2. **401 Unauthorized Response** (Invalid\u002FExpired Token):\n   - HTTP 401 status code\n   - Error message: \"Could not validate credentials\"\n   - Appropriate WWW-Authenticate header\n\n3. **403 Forbidden Response** (Insufficient Permissions):\n   - HTTP 403 status code\n   - Error message: \"Access forbidden: Insufficient permissions\"\n   - Clear indication of permission issue\n\n4. **Token Generation Response** (when applicable):\n   - HTTP 200 OK\n   - Response body containing access token and token type\n   - Secure token delivery mechanism\n\n## Security Considerations\n\n1. **Token Transmission**: Always use HTTPS in production to prevent token interception\n2. **Token Storage**: Store secret keys securely in environment variables or secure vaults\n3. **Token Expiration**: Set appropriate expiration times to limit exposure windows\n4. **Token Validation**: Always validate token signature and claims before trusting\n5. **Information Disclosure**: Avoid exposing sensitive information in error messages\n6. **Rate Limiting**: Implement rate limiting to prevent brute force attacks\n7. **Logging**: Log authentication events for security monitoring without storing tokens\n\n## Integration Patterns\n\n### Dependency Injection Pattern\n- Use FastAPI's dependency system to inject authentication requirements\n- Apply authentication dependencies to specific routes or entire routers\n- Combine multiple authentication requirements as needed\n\n### Middleware Integration\n- Implement authentication as middleware for global application\n- Handle authentication at the application level\n- Centralize authentication logic for consistent enforcement\n\n### Role-Based Access Control (RBAC)\n- Define roles and permissions in token claims\n- Implement role verification in authentication dependencies\n- Enforce role-based access to specific endpoints\n\n## Testing Considerations\n\n- Test authentication failure scenarios (invalid tokens, expired tokens)\n- Verify user-specific access control rules\n- Test role-based access restrictions\n- Validate error response formats and status codes\n- Test token refresh mechanisms (if implemented)\n\n## Performance Implications\n\n- JWT validation has minimal computational overhead\n- Consider token caching strategies for high-traffic applications\n- Balance token expiration time with performance requirements\n- Monitor authentication-related latency in production","# API JWT Authenticator Skill\n\n## When to Use This Skill\n\nUse this conceptual skill when you need to implement secure JWT-based authentication for FastAPI REST APIs. This skill is appropriate for:\n\n- Protecting API endpoints that require user authentication\n- Enforcing user-specific access control (ensuring users can only access their own resources)\n- Implementing stateless authentication in microservices\n- Securing REST APIs with standard JWT token validation\n- Adding role-based access control (RBAC) to API endpoints\n\nThis skill should NOT be used for:\n- Public APIs that don't require authentication\n- APIs that use alternative authentication methods (OAuth, API keys, etc.)\n- Simple applications where basic auth is sufficient\n\n## Prerequisites\n\n- Understanding of JWT (JSON Web Token) concepts\n- FastAPI application framework knowledge\n- Basic security principles and authentication patterns\n- Environment for managing secret keys securely\n\n## Conceptual Implementation Framework\n\n### JWT Token Extraction Capability\n- Extract JWT tokens from the Authorization header in the format \"Bearer \u003Ctoken>\"\n- Handle malformed or missing authorization headers appropriately\n- Validate the presence of the \"Bearer\" prefix in the header\n\n### Token Validation Capability\n- Validate JWT tokens using a shared secret key\n- Verify token signature to ensure integrity\n- Check token expiration (exp) claim to prevent usage of expired tokens\n- Validate token issuer (iss) and audience (aud) claims when applicable\n\n### User Identity Verification Capability\n- Extract user identity information from the token payload\n- Compare the user ID in the token with the requested resource\n- Enforce access control rules based on user identity\n- Ensure users can only access resources belonging to them\n\n### Error Handling Capability\n- Generate appropriate HTTP 401 Unauthorized responses for invalid tokens\n- Generate HTTP 403 Forbidden responses for insufficient permissions\n- Provide clear error messages without exposing sensitive information\n- Log authentication failures for security monitoring\n\n## Expected Input\u002FOutput\n\n### Input Requirements:\n\n1. **JWT Token Format**:\n   - Token must be in the `Authorization` header as `Bearer \u003Ctoken>`\n   - Token must contain valid JWT structure with required claims\n   - Token must not be expired\n\n2. **Token Claims**:\n   - `sub` (subject): User identifier\n   - `exp` (expiration): Token expiration timestamp\n   - `user_id` (optional): Unique user identifier for access control\n   - `role` (optional): User role for role-based access control\n\n### Output Formats:\n\n1. **Successful Authentication Response**:\n   - HTTP 200 OK for protected endpoints\n   - Response body with authenticated user information\n   - Properly authenticated user context for downstream processing\n\n2. **401 Unauthorized Response** (Invalid\u002FExpired Token):\n   - HTTP 401 status code\n   - Error message: \"Could not validate credentials\"\n   - Appropriate WWW-Authenticate header\n\n3. **403 Forbidden Response** (Insufficient Permissions):\n   - HTTP 403 status code\n   - Error message: \"Access forbidden: Insufficient permissions\"\n   - Clear indication of permission issue\n\n4. **Token Generation Response** (when applicable):\n   - HTTP 200 OK\n   - Response body containing access token and token type\n   - Secure token delivery mechanism\n\n## Security Considerations\n\n1. **Token Transmission**: Always use HTTPS in production to prevent token interception\n2. **Token Storage**: Store secret keys securely in environment variables or secure vaults\n3. **Token Expiration**: Set appropriate expiration times to limit exposure windows\n4. **Token Validation**: Always validate token signature and claims before trusting\n5. **Information Disclosure**: Avoid exposing sensitive information in error messages\n6. **Rate Limiting**: Implement rate limiting to prevent brute force attacks\n7. **Logging**: Log authentication events for security monitoring without storing tokens\n\n## Integration Patterns\n\n### Dependency Injection Pattern\n- Use FastAPI's dependency system to inject authentication requirements\n- Apply authentication dependencies to specific routes or entire routers\n- Combine multiple authentication requirements as needed\n\n### Middleware Integration\n- Implement authentication as middleware for global application\n- Handle authentication at the application level\n- Centralize authentication logic for consistent enforcement\n\n### Role-Based Access Control (RBAC)\n- Define roles and permissions in token claims\n- Implement role verification in authentication dependencies\n- Enforce role-based access to specific endpoints\n\n## Testing Considerations\n\n- Test authentication failure scenarios (invalid tokens, expired tokens)\n- Verify user-specific access control rules\n- Test role-based access restrictions\n- Validate error response formats and status codes\n- Test token refresh mechanisms (if implemented)\n\n## Performance Implications\n\n- JWT validation has minimal computational overhead\n- Consider token caching strategies for high-traffic applications\n- Balance token expiration time with performance requirements\n- Monitor authentication-related latency in production",{"name":5,"tags":31,"author":32,"version":33,"category":34,"description":7},[25,19,23,22,20],"Claude","1.0.0","Security","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Fabdul-haseeb360\u002Fapi-jwt-authenticator",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill api-jwt-authenticator",{"tool":50,"command":51},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill api-jwt-authenticator",{"tool":53,"command":54},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill api-jwt-authenticator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fabdul-haseeb360\u002Fapi-jwt-authenticator\u002FSKILL.md",true,[58],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"skill-report.json","REFERENCE","参考文档",9927,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fabdul-haseeb360\u002Fapi-jwt-authenticator\u002Fskill-report.json",[65,74,83,92,98,104],{"skillNo":66,"name":67,"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":68,"categories":69,"keywords":70,"publishedAt":26},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[71,72,73],"model","model hierarchy","model hierarchy skill",{"skillNo":75,"name":76,"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":77,"categories":78,"keywords":79,"publishedAt":26},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[80,81,82],"MCP","zoom","zoom mcp",{"skillNo":84,"name":85,"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":86,"categories":87,"keywords":88,"publishedAt":26},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[89,90,91,81],"sdk","zoom apps sdk","apps",{"skillNo":93,"name":94,"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":95,"categories":96,"keywords":97,"publishedAt":26},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[94],{"skillNo":99,"name":100,"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":101,"categories":102,"keywords":103,"publishedAt":26},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[100],{"skillNo":105,"name":106,"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":107,"categories":108,"keywords":109,"publishedAt":26},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[106]]