Documentation
¶
Overview ¶
Package views generates human-readable projections from canonical PRDs. This package delegates to github.com/grokify/structured-prd/prd view functions while maintaining backward compatibility with existing agent-team-prd code.
Index ¶
- func RenderExecMarkdown(view *ExecView) string
- func RenderPMMarkdown(view *PMView) string
- func ToJSON(v interface{}) (string, error)
- type ExecAction
- type ExecHeader
- type ExecRisk
- type ExecView
- type MetricsSummary
- type PMView
- type PersonaSummary
- type RequirementsList
- type RiskSummary
- type SolutionSummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderExecMarkdown ¶
RenderExecMarkdown generates markdown output for exec view. Delegates to structured-prd implementation.
func RenderPMMarkdown ¶
RenderPMMarkdown generates markdown output for PM view. Delegates to structured-prd implementation.
Types ¶
type ExecAction ¶
type ExecAction = prd.ExecAction
Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.
type ExecHeader ¶
type ExecHeader = prd.ExecHeader
Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.
type ExecRisk ¶
Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.
type ExecView ¶
Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.
func GenerateExecView ¶
func GenerateExecView(p *prd.PRD, scores *prd.ScoringResult) *ExecView
GenerateExecView creates an executive-friendly view of the PRD. Delegates to structured-prd implementation.
type MetricsSummary ¶
type MetricsSummary = prd.MetricsSummary
MetricsSummary type alias for backward compatibility. Note: structured-prd uses Primary/Supporting/Guardrails fields.
type PMView ¶
Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.
func GeneratePMView ¶
GeneratePMView creates a PM-friendly view of the PRD. Delegates to structured-prd implementation.
type PersonaSummary ¶
type PersonaSummary = prd.PersonaSummary
Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.
type RequirementsList ¶
type RequirementsList = prd.RequirementsList
Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.
type RiskSummary ¶
type RiskSummary = prd.RiskSummary
Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.
type SolutionSummary ¶
type SolutionSummary = prd.SolutionSummary
Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.