mypens-no-double-date-nav
Never stack DateNavBar with a second recent-dates chip strip — one date control per capture screen (P0 double date chrome).
Install / Use
npx skills add jeromio1987/mypensInstalls into whichever agent you are using.
Cursor Rules
Cursor IDE rules (v2)
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Skill content
View source on GitHubdescription: Never stack DateNavBar with a second recent-dates chip strip — one date control per capture screen (P0 double date chrome). globs: mypens-mobile/**/*.{tsx,ts} alwaysApply: false
myPENS — no double date chrome (P0)
Anti-pattern: Fueling (and other capture tabs) showing Yesterday/Today DateNavBar plus a second horizontal recent-dates chip row (Thu 23 Jul, Sun 26 Jul, …). Fixed once (chips removed from DateNavBar), then reimplemented by restoring “history chips” on top of the pill row.
Hard rule
One date control per capture screen.
- Use shared
DateNavBar(mypens-mobile/components/DateNavBar.tsx) — ← / Yesterday / Today / → + shortLabel, withlookbackDaysfor history. - Do not render a second
recentDateschip strip in the same screen JSX. - Do not re-add a chip strip inside DateNavBar under the pill row. Arrows + lookback are the history UI.
recentDateson DateNavBar is call-site compat only and must stay ignored — do not revive chip rendering.
Checklist before shipping date UI
- [ ] Screen has exactly one of: DateNavBar or a custom date picker — never both stacked
- [ ]
rg DateNavBar/recentDates/shortLabelon the screen — no duplicate date chip map - [ ] wiring-check W5 PASS
Related
- Wiring heuristic: W5 in
.cursor/skills/mypens-adversarial-pre-apk/scripts/wiring-check.mjs - Playbook:
docs/AUDIT-PLAYBOOK.md(P0 double date chrome) - Finish-the-wiring known traps list
Related Skills
claude-howto
41.4kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
ai-job-search
40.9kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
guizang-ppt-skill
25.7kAI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts, social covers, and a WebGL/low-power presentation runtime.
reactive-resume
42.2kA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Security Score
Audited on Invalid Date
