Style guidelines

From zrosenfield/sharepoint-ai-skills · View interactive version

Style guidelines is an AI agent skill from the GitHub repository zrosenfield/sharepoint-ai-skills. Provides a fill-in-the-blank template for creating an organization-specific visual brand skill. Use when drafting, adapting, or documenting brand colors, typography, spacing, component styles, and visual-output rules for AI in SharePoint.

How to use this skill

Skill file

Brand Style Skill — Template

Use this skill whenever creating any visual output, document, web content, presentation, table, list, or interface element for [Your Organization]. This skill ensures all outputs are visually consistent with the brand.

How to use this template: Replace every [placeholder] and the example values below with your organization's actual brand values. Delete this callout when done.


Brand Identity

[Your Organization] is a [brief description — industry, mission, or community focus]. The brand evokes [core brand feeling or theme — e.g., "innovation and trust" or "warmth and community"]. All outputs should feel [adjective], [adjective], and [adjective].


Color Palette

| Role | Name | Hex | Usage |

|------|------|-----|-------|

| Primary | [Name] | #000000 | Headers, primary buttons, key UI elements |

| Accent | [Name] | #000000 | Highlights, CTAs, badges |

| Secondary | [Name] | #000000 | Secondary UI, links, icons |

| Background | [Name] | #000000 | Page and card backgrounds |

| Surface | White | #FFFFFF | Content cards, modals, table rows |

| Text Primary | [Name] | #000000 | Body copy, headings |

| Text Secondary | [Name] | #000000 | Captions, metadata, placeholder text |

| Border | [Name] | #000000 | Dividers, table borders, input outlines |

Color Usage Rules


Typography

Typeface Hierarchy

| Level | Font | Weight | Size | Color |

|-------|------|--------|------|-------|

| Display / Logo | [Font] | 800 ExtraBold | 32–48px | Primary |

| H1 | [Font] | 700 Bold | 28–36px | Primary |

| H2 | [Font] | 600 SemiBold | 22–26px | Text Primary |

| H3 | [Font] | 600 SemiBold | 18–20px | Text Primary |

| Body | [Font] | 400 Regular | 15–16px | Text Primary |

| Caption / Meta | [Font] | 400 Regular | 12–13px | Text Secondary |

| Button / Label | [Font] | 700 Bold | 13–14px | Uppercase |

Typography Rules


Logo Usage


Iconography


Spacing & Layout

| Token | Value | Usage |

|-------|-------|-------|

| space-xs | 4px | Tight inline gaps |

| space-sm | 8px | Component internal padding |

| space-md | 16px | Between related elements |

| space-lg | 24px | Section spacing |

| space-xl | 40px | Major section breaks |

| space-2xl | 64px | Page-level sections |


Component Styles

Buttons

Primary:   bg [Primary]  | text White        | hover: darken 10%
Secondary: bg White      | text [Primary]    | border 2px [Primary] | hover: light bg
Danger:    bg [Danger]   | text White        | hover: darken 10%
Ghost:     bg transparent| text [Primary]    | hover: light bg

Cards

Tables

Header row:  bg [Primary]  | text White  | font [Font] uppercase 12px
Even rows:   bg White
Odd rows:    bg [light tint of Background]
Row hover:   bg [light tint of Primary]
Border:      1px solid [Border color]
Cell padding: 12px 16px

Badges & Tags

Alerts / Banners

| Type | Border-left | Background | Text |

|------|------------|------------|------|

| Info | [Secondary] | [light tint] | Text Primary |

| Success | [Success color] | [light tint] | Text Primary |

| Warning | [Warning color] | [light tint] | Text Primary |

| Error | [Danger color] | [light tint] | Text Primary |

All alerts: 4px left border, 6px border-radius, 16px padding


Voice & Tone (for AI-generated content)


Do / Don't Summary

| ✅ Do | ❌ Don't |

|-------|---------|

| Use [Primary] as the anchor color | Use [Accent] as a dominant background |

| Maintain generous white space | Crowd elements together |

| Use [Heading font] for all headings | Use decorative or script fonts |

| Keep imagery [describe style] | Use [describe what to avoid] |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.