Help us shape the future of Go! Take the 2026 Go Developer Survey

views

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2026 License: MIT Imports: 2 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderExecMarkdown

func RenderExecMarkdown(view *ExecView) string

RenderExecMarkdown generates markdown output for exec view. Delegates to structured-prd implementation.

func RenderPMMarkdown

func RenderPMMarkdown(view *PMView) string

RenderPMMarkdown generates markdown output for PM view. Delegates to structured-prd implementation.

func ToJSON

func ToJSON(v interface{}) (string, error)

ToJSON converts a view to JSON.

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 ExecRisk = prd.ExecRisk

Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.

type ExecView

type ExecView = prd.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 PMView = prd.PMView

Type aliases for backward compatibility. These types are defined in structured-prd and re-exported through the prd package.

func GeneratePMView

func GeneratePMView(p *prd.PRD) *PMView

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL