بنقرة واحدة
widget-inference
Guidelines for mathematically deducing advanced widget data on the backend.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Guidelines for mathematically deducing advanced widget data on the backend.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Node.js best practices and runtime configuration for GitData-BackEnd.
Mandatory rule requiring a corresponding Vitest/React Testing Library test file for every React component (.tsx) in GitData frontend.
Catalog of all specialized skills used across the GitData Monorepo project.
Rules for using both GraphQL and REST APIs simultaneously for GitHub data fetching.
Architecture rules for building UI widgets, supporting i18n locales, and multi-theme logic.
Mandatory rule to keep CSS files inside a styles/ folder relative to their component.
| name | widget-inference |
| description | Guidelines for mathematically deducing advanced widget data on the backend. |
GitData's premium UI (like Tech Radar, Achievements, and Dev Clock) requires data that GitHub does not natively provide. Instead of adding complex databases, GitData infers these states algorithmically in the backend (OctokitGithubRepository.ts) using the raw metrics available.
Frontend, Backend, and DevOps/Data. The percentage is calculated by summing the total bytes of languages matching these buckets.prs >= 5 -> Pull Shark, followers >= 10 -> Influencer).created_at timestamp extracted from the last 50 REST API publicEvents.// Inferring an achievement
const achievements = [];
if (prs >= 5) achievements.push({ id: 'pull-shark', title: 'Pull Shark', description: '...', icon: '🦈' });
// Inferring Tech Radar
let frontend = 0;
const feLangs = ['HTML', 'CSS', 'JavaScript', 'TypeScript', 'React'];
Object.keys(languageMap).forEach(lang => {
if (feLangs.includes(lang)) frontend += languageMap[lang];
});