मुख्य सामग्री पर जाएँ
Skillpedia
वेबसाइट और UI (frontend)8.0k · #12651

antislop-layoutmobile

यह क्या करती है

यह एक AI कोडिंग असिस्टेंट को रिस्पॉन्सिव लेआउट के नियम देती है, जो अलग-अलग स्क्रीन साइज़ में खुद को ढालते हैं। यह उन डेवलपर्स के लिए है जो चाहते हैं कि पेज फ़ोन और कंप्यूटर दोनों पर अच्छा दिखे और काम करे।

कब इस्तेमाल करें

  • ✓जब कोई डेवलपर ऐसा लेआउट बनाता है जो फ़ोन और डेस्कटॉप दोनों स्क्रीन पर चलना चाहिए।
  • ✓जब डेवलपर के पेज को छोटी स्क्रीन पर साइड में बाहर निकलना पड़ता हो या वह टूट जाता हो।
  • ✓जब डेवलपर चाहता हो कि फ़ोन पर बटन और लिंक आसानी से टैप हो सकें।

Skill का लिंक

https://github.com/miqdadbadjuber/anti-slop/blob/main/skills/antislop-layoutmobile/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/miqdadbadjuber/anti-slop/blob/main/skills/antislop-layoutmobile/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरी साइट फ़ोन पर स्क्रीन से बाहर चली जाती है। लेआउट ठीक कीजिए ताकि वह सही तरह से फ़िट हो जाए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह स्किल मोबाइल लेआउट को अलग डिज़ाइन मानती है, जिसमें कंटेंट को सोच-समझकर दोबारा लगाया, नए आकार में ढाला और उसका क्रम बदला जाता है। यह ब्रेकपॉइंट, ग्रिड, बाहर निकलने की समस्या, टैप साइज़ और नेविगेशन जाँचती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

antislop-layoutmobile

Anti Slop: Rules for AI Coding Agents. Mobile Layout skill

Part of the antislop system. Read together with antislop.md (the core). This skill deep-dives the responsive layout concern: how a layout must reflow across screen sizes, phone to desktop. Breakpoints, scale, grids, overflow, tap targets, and navigation. It references core rules by number and never duplicates or renumbers them. Load it when the task builds or edits a layout that has to hold up at any screen width.

How to use this skill

  • Load together with antislop.md whenever the task is mobile or responsive layout work. The core holds the mechanism (the purpose test, the three tiers, the Delivery Gate); this skill holds mobile-layout depth.
  • Every entry has the same shape: Tell (the pattern), Why (why it reads as slop), Fix (what to do instead), with the governing core rule cited as R-XX.
  • The principle behind this skill: mobile layout is a different layout, not the desktop layout at a smaller size. It must reflow: re-stack, rescale, and re-order with intent. Every pattern below is a way a layout fails to reflow.
  • The Delivery Gate in the core remains the gate. The "Layoutmobile Skill Checklist" at the end of this file is the mobile-specific supplement to run alongside it.

Breakpoints

Desktop-Only Layout

  • Tell: one layout state for every screen; the mobile view is the desktop layout squeezed into a phone.
  • Why: R-03 requires a mobile layout that is perfect, not an afterthought. A page that only shrinks has no mobile design at all: cards that worked side by side overlap, and text meant for a wide canvas crowds into a narrow one.
  • Fix: define a real mobile state at the breakpoint where the content stops working. The mobile layout reflows: columns stack, sizes drop, and order changes where the content needs it. If the mobile view is just the desktop view at a smaller width, the layout is not done.

Breakpoint Driven by Device List

  • Tell: breakpoints named after phone widths (375px, 414px, 768px) chosen because "that is the iPhone size", not because the content breaks there.
  • Why: device widths change every year and every model. A breakpoint is a point where the layout stops holding; forcing it to match a device list makes the layout follow a spec sheet instead of the content (R-03).
  • Fix: place breakpoints where the content actually breaks: when a column stops being readable, when a row of cards gets too narrow. Test by narrowing the viewport and watching where it snaps, then set the breakpoint there.

Mobile Styled Last

  • Tell: mobile rules bolted on as a trailing override: a long desktop stylesheet with a small media query at the end fixing one or two things.
  • Why: an override patch is not a mobile design. It fixes the symptom that got reported and leaves the next one, and the base styles stay tuned for a wide screen (R-03).
  • Fix: treat mobile as a designed state, not an override. Give the narrow viewport its own deliberate sizes and stacking, and verify the whole layout there, not just the patched spots (R-35).

Two-State Layout

  • Tell: a layout with exactly two states: a single stacked column below one breakpoint, and a wide multi-column grid above it, with nothing defined in between. A tablet or small laptop width then inherits whichever state is closest: the phone stack stretched absurdly wide, or the desktop grid crammed into a fraction of its intended canvas.
  • Why: a page is a continuous range of widths, and R-03 demands it hold up at every one of them, not just two chosen breakpoints. Two states leave the whole middle band of the range (roughly 600 to 1024 px, where tablets and small laptops live) as an accident: content that neither stacks with intent nor sits in a grid that fits. The layout reads as designed only at its two sample points and broken everywhere between.
  • Fix: define real states at the widths where the content stops working, and let them be as many as the content needs. A typical reflow is three states, not two: single column, then a two-column grid when cards get too wide as a single stack, then the full multi-column grid only when it genuinely fits. Verify by dragging the viewport through the whole range, not by checking two widths and calling it done (R-35).

Scale & Sizing

Desktop-Sized Everything

  • Tell: padding, gaps, hero heights, and card sizes carried unchanged from desktop t
अक्सर पूछे जाने वाले सवाल

क्या मोबाइल लेआउट बस एक छोटा डेस्कटॉप लेआउट होता है?

नहीं। स्किल कहती है कि फ़ोन का लेआउट सोच-समझकर दोबारा बनाना चाहिए, सिर्फ़ छोटा करके नहीं।

क्या यह टैप टार्गेट जाँचती है?

हाँ। इसमें टैप टार्गेट शामिल हैं, ताकि फ़ोन पर बटन आसानी से दबाए जा सकें।

क्या इसके लिए मुख्य antislop फ़ाइल चाहिए?

हाँ। यह मुख्य antislop फ़ाइल के साथ इस्तेमाल होने के लिए बनी है, जिसमें साझा नियम हैं।

जानकारी

लेखक का मूल विवरण

Mobile layout skill for antislop. Use for layouts that reflow across screen sizes, phone to desktop: grids, overflow, tap targets. Load with the core.

repo: miqdadbadjuber/anti-slop

लोकप्रियता

GitHub स्टार
8.0k
रैंकिंग में स्थान
#12651
लाइसेंस
MIT
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

antislop-code

8.0k

यह आपके एजेंट को AI जैसे लगने वाले कोड कमेंट साफ़ करने में मदद करती है, सजावटी और स्पष्ट कमेंट हटाकर उपयोगी कमेंट रखते हुए, कोड को छुए बिना।

कोडिंगसामान्य कोडिंग

antislop-copywriting

8.0k

यह आपके एजेंट को मार्केटिंग टेक्स्ट, हेडलाइन और कॉल-टू-एक्शन सरल, मानवीय भाषा में लिखने और संपादित करने में मदद करती है, आम AI लेखन पैटर्न और गढ़े हुए तथ्यों से बचते हुए।

मार्केटिंगकॉपी और सेल्स

antislop-human

8.0k

यह आपके एजेंट को ऐसे इंटरफ़ेस बनाने में मदद करती है जो सबके लिए काम करें, जिनमें साफ़ कंट्रास्ट और कीबोर्ड सपोर्ट हो।

कोडिंगवेबसाइट और UI (frontend)

antislop-ui

8.0k

यह आपके एजेंट को ऐसे इंटरफ़ेस बनाने में मदद करती है जो आम AI जैसे नहीं, बल्कि सोच-समझकर बने लगें, सही रंगों और उपयोगी मूवमेंट के साथ।

डिज़ाइनइंटरफ़ेस (UI/UX)

मिलती-जुलती skills