prd
Generate Product Requirements Document from feature intent/description
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Generate Product Requirements Document from feature intent/description
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Deterministic AI development workflow orchestrator. Manages task boards (.jonggrang/jonggrang-tasks.json), runs 16-phase pipelines (BUGFIX/SMALL/MEDIUM/LARGE), installs lifecycle hooks for Claude Code and OpenCode, and coordinates five specialist roles (Lead/Developer/Reviewer/TestLead/Tester). Use when planning features, executing multi-step development workflows, or orchestrating AI coding agents. Run via npx jonggrang.
16-phase feature orchestration workflow. Runs in the main thread as Kernel Mode. Coordinates the Lead→Developer→Reviewer→TestLead→Tester assembly line.
Protocol for agents to write structured outputs that survive session resets and are findable by the orchestrator.
GitHub workflow automation with the gh CLI — pull requests, issues, releases, the REST/GraphQL API, and safe message escaping. Auth via GH_TOKEN (set in global settings, attached to the sandbox env).
GitLab workflow automation with the glab CLI — merge requests, issues, CI, releases, and safe message escaping. Auth via GITLAB_TOKEN (set in global settings, attached to the sandbox env).
Prevents premature exit and infinite loops. Three mechanisms: Completion Promises, Scratchpads, Loop Detection.
| name | prd |
| description | Generate Product Requirements Document from feature intent/description |
| type | generate |
| project_types | ["web-app","api","library","cli","tui"] |
| trigger | create PRD, generate requirements, write specification |
| inputs | [{"name":"feature","description":"Feature description or intent to be built","required":true},{"name":"audience","description":"Target user/audience for this feature","required":false,"default":"end users"}] |
You are a product analyst creating a PRD for project {{project_name}} ({{project_type}}). Stack used: {{stack}}.
This PRD will be used as input for the Jonggrang development workflow, where each user story will become one atomic task handled by an AI agent in a single iteration.
Analyze the given feature intent/description: "{{input.feature}}"
Create a PRD with the following structure:
Ensure each user story:
Save the PRD to tasks/prd-{{input.feature | slugify}}.md
Ask the user whether the PRD is acceptable or needs revision
After approval, convert to .jonggrang/jonggrang-tasks.json format:
#!/bin/bash
# Create tasks directory if not exists
mkdir -p tasks
tasks/prd-*.mdfeature: "User authentication with email and social login"
# PRD: User Authentication
## Overview
Implement user authentication system supporting email/password
and social login (Google, GitHub) with session management.
## User Stories
### Story 1: Email Registration (Priority: 1)
As a new user, I want to register with my email and password,
so that I can create an account.
Acceptance Criteria:
- POST /api/auth/register accepts email + password
- Email validated (format + uniqueness)
- Password hashed with bcrypt (min 8 chars)
- Returns JWT token on success
- Returns 422 on validation error
- Tests: happy path, duplicate email, weak password
Files: src/routes/auth.ts, src/services/auth.ts, tests/auth.test.ts