badge-list-consistency

Enforce identical permission checks between notification badge counts and linked list views.

6|8|Updated Apr 22, 2023
One-click install
npx skills add https://github.com/Ansteorra/KMP --skill badge-list-consistency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: badge-list-consistency
Source: https://github.com/Ansteorra/KMP/tree/main/.ai-team/skills/badge-list-consistency
Command: npx skills add https://github.com/Ansteorra/KMP --skill badge-list-consistency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents user confusion and builds trust by ensuring that notification badge counts accurately reflect the items displayed in the corresponding list views they link to.

Core Features & Use Cases

  • Permission Alignment: Guarantees that both badge queries and list view actions use identical permission checks, preventing discrepancies.
  • Subset Integrity: Ensures badge counts are a strict subset of list view results, so users can always find what the badge indicates.
  • Use Case: When a badge shows "3 items needing waivers," clicking it should lead to a list containing exactly those 3 items, not a different set or a larger list with no clear way to identify the 3.

Quick Start

Ensure the badge count query and the list view query for 'uploadWaivers' use the same permission action.

Frequently Asked Questions about badge-list-consistency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync notification badge counts with backend list view results?

To sync notification badge counts with list view results, enforce identical permission checks across both queries and maintain badge counts as a strict subset of list view items using shared query logic.

What causes data integrity issues between notification badges and linked lists?

Data integrity issues arise when badge queries and list view actions use inconsistent permission checks. Aligning permissions ensures badge counts accurately reflect the subset of items displayed in corresponding lists.

How do I ensure permission alignment for notification badge queries?

Ensure permission alignment by applying the exact same permission action checks to both the badge count query and the linked list view query, preventing discrepancies in backend UX consistency.

Can I use shared query logic to maintain badge counts as a subset of list items?

Yes, using shared query logic guarantees badge counts remain a strict subset of list view results, ensuring users can always locate the exact items the notification badge indicates.

When should I enforce strict subset integrity for notification system badges?

Enforce strict subset integrity whenever a badge links to a detailed list, such as displaying '3 items needing waivers', to guarantee the list contains exactly those 3 items and builds user trust.