Skip to Main
schemawp
Back to docs

Site Instructions

Site Instructions are short, plain-language rules for this site. The agent reads them before every session and treats them as constraints. Instructions are set on a per-site basis.

Site Instructions should not be confused with Agent Behavior. Instructions define project rules and constraints. Behaviors control how the agent communicates and what safety checks it performs.

Where to find it

SchemaWP → Context → Site Instructions

What to write

  • Keep it short. Maximum 500 characters.
  • Write rules and constraints, not implementation details.
  • Be specific. If it is vague, the agent will guess.

Good examples

“Never change the primary color. It is approved by the client.”

“Never enable the card or icon frameworks on this site.”

“This is a B2B SaaS site. Keep spacing compact and typography calm. No rounded corners.”

Bad examples

“Here are 500 characters of CSS specs…” (too long — use Agent Skills instead)

“Use #2563eb as primary, 28px base spacing, 1.37 scale, 8px radius, and adjust every token accordingly.” (over-prescriptive)

How the agent uses it

  • Instructions are injected into the agent’s context before every response.
  • The agent will avoid suggestions that conflict with your rules.
  • If you ask for something that contradicts your instructions, the agent should warn you.

Example

If you write “never use rounded corners,” the agent will:

  • Avoid radius changes in recommendations
  • Warn you if you request softer corners
  • Default to sharp radius choices