Example prompts for vibe coding and AI-assisted development
Summarize
Summary of Example prompts for vibe coding and AI-assisted development
This guide provides ServiceNow customers with practical example prompts to utilize the AI-powered Build Agent for vibe coding and AI-assisted app development. It covers how to create data models, security roles, business rules, user interfaces, and more within the ServiceNow AI Platform. The prompts help customers accelerate app building, extend existing applications, and ensure governance compliance.
Show less
Key Features
- Prompt Reference by Goal: Ready-to-use prompt templates for common development tasks such as planning, prototyping apps, brainstorming, extending tables, debugging, documenting, and testing.
- Starter Prompts: Patterns to safely extend apps, prototype new applications, and modify base system tables with approval plans and automated test generation.
- Governance Integration: Guidance on embedding security, compliance, audit logging, and testing requirements directly into prompts to produce secure and compliant applications aligned with organizational standards.
- Prompting Best Practices: Recommendations to draft prompts carefully, track prompt usage, and iteratively refine app functionality through ongoing Build Agent interactions.
- Example Prompts: Sample Build Agent inputs illustrating how to build apps with custom data models, add role-based security, create business rules, and generate different user interfaces tailored to roles.
Practical Use and Outcomes
ServiceNow customers can leverage these example prompts to:
- Quickly generate comprehensive app plans including tables, fields, roles, and business rules for approval before development.
- Prototype functional applications with working UIs, flows, and roles to accelerate delivery.
- Extend existing scoped or base system apps safely with documented state capture, change plans, and automated test creation.
- Incorporate governance controls such as ACLs, encryption, audit logging, and compliance tracking seamlessly into app builds.
- Document and summarize app architectures, workflows, and security for stakeholder reviews or knowledge sharing.
- Iteratively improve and customize apps by prompting Build Agent for UI enhancements, test plans, release notes, and training materials.
By following the guidance and prompt examples, customers can effectively harness ServiceNow’s AI-assisted development capabilities to build secure, compliant, and well-documented applications faster and with less manual effort.
Use these example prompts to build data models, implement security, create business rules, and generate user interfaces when building an app with ServiceNow AI Platform vibe coding and AI-assisted development tools.
To learn more about prompting, see this Community article on The fastest way to learn Build Agent prompting? Ask Build Agent.
Prompting overview and tips
For more guidelines on prompting, see General guidelines for Build Agent.
Get started with prompting
Additional prompt suggestions
- Improve generated user interfaces
- Create ATF tests
- Create QA and UAT test plans
- Create a summary of all application functionality
- Add additional industry-specific use cases
- Create an announcement
- Create a user guide
- Generate release notes
- Draft change management plans
- Create training materials for end users
- Build data migration plans
- Generate workflow optimization suggestions
- Prepare executive summary for stakeholders
Example Build Agent prompt to build an app
Prompt: Create an application that handles several types of issues related to cash management. Create a custom data model with tables for each type of request. Add fields that are typical for these types of issues to each table. Request tables should extend the Task table. Create custom states for each request type to track issue resolution.
Example Build Agent prompt to add security to an app
- Requesters who submit issues and can only view their own requests.
- Fulfillers who can view and edit all requests.
Example Build Agent prompt to add business rules to an app
Prompt: Create business rules for each request that is triggered by state changes in the workflow. Design the business rules to work together to create business processes aligned to industry best practices for each type of issue.
Example Build Agent prompt to generate different UIs for an app
Prompt 1: Create an easy to use UI for users with the cash management fulfiller role to view all issues, update and complete them.
Prompt 2: Create a UI for cash management requesters to submit issues and view or edit issues that they have previously created.
Example prompts for governance
Prompting with governance requirements helps produce secure and compliant applications on the ServiceNow AI Platform. By embedding governance requirements directly into your prompts, you help the AI produce results aligned with your organizational standards for security, compliance, and quality.
For more information on governance, see Build Agent governance.