feat: Add openspec-sync-specs and openspec-verify-change skills

- Introduced `openspec-sync-specs` skill to sync delta specs to main specs, allowing intelligent merging of requirements.
- Added `openspec-verify-change` skill to verify implementation against change artifacts, ensuring completeness, correctness, and coherence before archiving.

docs: Create CLAUDE.md for project guidance

- Added CLAUDE.md to provide an overview of the PCLI project, including build, test commands, architecture, and resource addition guidelines.

chore: Add new change and design documents for project filter in status command

- Created `.openspec.yaml`, `design.md`, `proposal.md`, and `tasks.md` for the `add-project-filter-to-status` change.
- Updated specs for CLI commands and status command to include project filtering functionality.

feat: Expand board included parsing in API client

- Added parsing for `labels`, `cardLabels`, and `cardMemberships` in the `GetBoard` response.
- Updated `ListCardsByBoard` to enrich card output with label names, enhancing usability in kanban sync workflows.
This commit is contained in:
Steve Cliff
2026-02-18 21:27:02 +00:00
parent 94dffdf8fc
commit 22d5848e1a
44 changed files with 494 additions and 77 deletions
+22 -2
View File
@@ -11,15 +11,33 @@ import (
var statusCmd = &cobra.Command{
Use: "status",
Short: "Show status summary of all boards and their lists",
Long: "Displays a summary of all boards, their lists, and the number of cards in each list",
Short: "Show status summary of boards and their lists",
Long: "Displays a summary of boards, their lists, and the number of cards in each list.\nUse --project to filter by project name.",
RunE: func(cmd *cobra.Command, args []string) error {
projectName, _ := cmd.Flags().GetString("project")
// Get all boards
boards, err := getClient().ListBoards(getContext())
if err != nil {
return fmt.Errorf("failed to list boards: %w", err)
}
// Filter boards by project if --project flag is provided
if projectName != "" {
projectID, err := resolveProjectNameToID(projectName)
if err != nil {
return err
}
filtered := boards[:0]
for _, board := range boards {
if board.ProjectID == projectID {
filtered = append(filtered, board)
}
}
boards = filtered
}
// Build status summary with error collection
summary := model.StatusSummary{
TotalBoards: len(boards),
@@ -102,4 +120,6 @@ var statusCmd = &cobra.Command{
func init() {
rootCmd.AddCommand(statusCmd)
statusCmd.Flags().String("project", "", "Filter status by project name")
}