Skip to content

AI Instructions

Guides

AI Instructions - Customize AI Behavior

AI Instructions allow you to customize how the AI behaves across your organization and projects. Set organization-wide standards that can be overridden at the project level, ensuring the AI follows your company’s specific writing style, naming conventions, and project requirements.

AI Instructions provide a powerful way to guide the AI’s behavior in Storywise. You can define how user stories are written, how epics are structured, how acceptance criteria are formatted, and provide context about your company’s practices and project-specific requirements. These instructions are applied to all AI calls, including the AI Chat, ensuring consistent output that matches your organization’s standards.

AI Instructions are organized into two main categories:

General Context

General context is information that is included with every AI request to provide background and constraints:

  • Tenant Context - Organization-level context that applies to all projects in your organization

    • Company-wide standards and practices
    • Organization naming conventions
    • General business context
    • Default behavior for all projects
  • Project Context - Project-specific context that overrides or supplements tenant context

    • Project-specific requirements (e.g., “This is an offline project that must work without internet”)
    • Domain-specific terminology for this project
    • Special constraints or regulations (e.g., HIPAA compliance)
    • Project-specific business context

Rules for Entity Creation

Rules define how specific entities should be created and formatted. You can set rules for:

  • Epics - How epics should be structured, named, and described
  • Stories - Format and style for user stories
  • Tasks - How tasks should be written and organized
  • Original Sentences - Guidelines for processing original requirement sentences
  • One Sentences - Format for one-sentence summaries
  • Roles, Entities, and Glossary Entries - Naming and definition standards
  • Acceptance Criteria - Format and style requirements for acceptance criteria
  • Test Scenarios - How test scenarios should be written (for acceptance criteria)
  • Features - Structure and naming conventions for features
  • Releases - Format and organization standards for releases

Each rule type can be configured at both the tenant (organization) and project level, with project-level rules overriding tenant-level defaults.

Organization-wide context that applies to all projects:

  • “We use camelCase for all technical terms and feature names”
  • “All acceptance criteria must be written as numbered lists with Given-When-Then format”
  • “Epics should be written as high-level features, not as collections of stories”

Project-specific context that overrides or supplements tenant context:

  • “This is an offline project - all functionality must work without internet connectivity”
  • “This project is for a healthcare application - all features must comply with HIPAA regulations”
  • “This is a mobile-first project - prioritize mobile user experience in all suggestions”
  • “This is a financial services project - use banking terminology and ensure PCI compliance”
  • “This project uses domain-driven design principles - structure entities accordingly”

Rules for creating specific entity types:

Stories:

  • “User stories must include a clear value statement in the ‘so that’ clause”
  • “Each story should be independently testable and deliverable”

Epics:

  • “Epics should be named using the pattern: [Module]-[Functionality]”
  • “Epic descriptions must include business objectives”

Acceptance Criteria:

  • “Acceptance criteria must be written in Given-When-Then format”
  • “Each criterion should be testable and measurable”

Roles and Entities:

  • “User roles should always bear a persona name and get a description”

Test Scenarios:

  • “Test scenarios must be written in Gherkin format”
  • “Each scenario should cover positive and negative test cases”

What the AI Knows — and What It Doesn’t

Section titled “What the AI Knows — and What It Doesn’t”

The AI in Storywise works exclusively with the knowledge available in your project. Understanding this boundary helps you get better results and avoid over-relying on the AI for information it cannot access.

What the AI has access to:

  • All stories, epics, tasks, and acceptance criteria in the current document
  • Roles, entities, and glossary entries you have defined
  • AI Instructions configured at the organization and project level (tenant context, project context, and entity rules)

What the AI does not have access to:

  • External systems such as Jira, Azure DevOps, or Confluence (in beta)
  • Not yet: Code repositories or technical documentation outside of Storywise
  • Other projects in your organization
  • Corporate knowledge bases, intranets, or wikis

To give the AI access to company-specific knowledge — such as internal terminology, regulatory context, architectural decisions, or background about your domain — add it explicitly to your AI Instructions:

  • Glossary entries — define terms and abbreviations so the AI recognizes and uses them correctly
  • Tenant context — add organization-wide background that applies to all projects
  • Project context — add project-specific constraints, domain context, or special requirements

For deep integration with external knowledge bases (e.g., vector databases or RAG systems), a custom endpoint configuration is required. Contact us if this is relevant for your organization.

  1. Configure Tenant Context - Set organization-wide context in organization settings
  2. Set Entity Rules - Define rules for each entity type (Epics, Stories, Tasks, etc.) at the organization level
  3. Add Project Context - Override or supplement with project-specific context when needed
  4. Override Project Rules - Customize entity rules for specific projects if necessary