Bugun boshqa skill topdim:
i-have-adhd. ADHD (diqqat yetishmasligi va giperaktivlik) sindromi bor odamlarga mo'ljallangandek, lekin hamma uchun vaqt tejarkan.Odatiy bunaqa javobni:
Great question! Let me think about this. Your auth flow has a few moving pieces: the middleware, the token verification, and the cookie handling. Looking at src/auth.ts, the verifyToken function (around lines 42-58) seems to be using an older jsonwebtoken API. One approach would be to update the package and rewrite that function. After making the change, you'd want to run the auth tests to confirm nothing breaks. By the way, you might also want to look at your dependency versions overall. Hope this helps! Let me know if you want to dig deeper.
Manavinga aylantiradi:
Run npm install jsonwebtoken@latest, then edit src/auth.ts:42.
1. Open src/auth.ts
2. Replace verifyToken (lines 42–58) with the snippet below
3. Run npm test -- auth.spec.ts
Next: paste the first failing line if any test fails.
Bu yerdan o'rnatiladi: https://github.com/ayghri/i-have-adhd
Yoki manavi qoidalarni maxsus instruksiya sifatida qo'shib qo'yish ham mumkin:
1. Lead with the next action.
2. Number multi-step tasks.
3. End with one concrete next step.
4. Suppress tangents.
5. Restate state every turn.
6. Specific time estimates (minutes, not "a bit").
7. Make wins visible.
8. Matter-of-fact errors.
9. Cap lists to 5 items.
10. No preamble. No recap. No closers.
Aslida, bu qoidalarni odamlarning o'zi ishlatishi ham juda yaxshi odat.