AGENT SKILL

jwt-auth-dotnet

暂无简介

License 许可
MIT
最近更新
2026-05-26
Stars
★ 0
Forks
0

02 资源文件 6

03 SKILL.md 正文

JWT Auth .NET

Follow ../_shared/skill-contract.md.

Purpose

Define JWT issuance and verification shape for ASP.NET Core projects.

Use when

  • authentication tokens are needed

Do not use when

  • the task is only session-less public API work

Inputs required

  • identity source
  • token claims
  • expiry expectations

Outputs expected

  • token shape
  • issuing flow
  • verification rules

Workflow

  1. Define claims.
  2. Define issuance point.
  3. Define expiry and signing rules.
  4. Define verification path.
  5. Verify auth scenarios.

Validation checklist

  • [ ] Claims are explicit
  • [ ] Expiry is documented
  • [ ] Verification path is clear

References

  • ../../prompts/new_feature.md

Karpathy governance

  • Contract: skill.contract.yaml
  • Eval case: eval/cases/governance-smoke/README.md
  • Expected result: eval/cases/governance-smoke/expected_result.json
  • Example: examples/governance-example.md
  • Prompt: prompts/governance-prompt.md

04 同仓库更多 Skills