product-context-aggregator

Aggregate external product artifacts into a consolidated documentation context file.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/joleques/northstar-ai --skill product-context-aggregator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: product-context-aggregator
Source: https://github.com/joleques/northstar-ai/tree/main/.codex/skills/product-context-aggregator
Command: npx skills add https://github.com/joleques/northstar-ai --skill product-context-aggregator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Consolidates existing product reference artifacts scattered across repositories or local folders into the project's documentation context so the final documentation reflects verified sources rather than ad-hoc claims.

Core Features & Use Cases

  • User prompting and validation: Asks the user for absolute paths to directories with existing documentation and validates their existence.
  • Safe linking: Creates symlinks under /documentacao/{titulo}/extra/ using the last path segment as the link name and resolves naming conflicts.
  • Artifact analysis: Reads and classifies common file types (md, json, yaml, swagger, proto, etc.), identifies complements, confirmations, and inconsistencies relative to Phase 1 interview context.
  • Consolidation output: Produces contexto-consolidado.md summarizing sources, complements, detected inconsistencies, and actions required.
  • Use case: Ideal after an initial product interview to enrich product knowledge with specs, API definitions, diagrams, and wikis before generating final documentation.

Quick Start

Provide absolute paths to your existing documentation directories so the skill can create symlinks, analyze the files, and generate a consolidated product context file.

Frequently Asked Questions about product-context-aggregator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I consolidate external product docs and specs into a single project context?

To consolidate external product docs, you provide absolute paths to existing directories containing specs, Swagger, diagrams, and wikis. The tool links these directories via symlinks, reads common file formats, and generates a unified contexto-consolidado.md file summarizing the verified product context.

What file formats can be analyzed when consolidating product documentation artifacts?

When consolidating product documentation artifacts, the tool reads and classifies common file formats including markdown, JSON, YAML, Swagger, and protocol buffer files. It analyzes these formats to identify complements, confirmations, and inconsistencies relative to your initial product context.

How does symlink creation work for linking external documentation directories?

Symlink creation works by validating the absolute paths you provide for external documentation directories, then safely creating symlinks under /documentacao/{titulo}/extra/. It uses the last path segment as the link name and automatically resolves any naming conflicts.

Can I detect inconsistencies between existing API definitions and initial product interview notes?

Yes, you can detect inconsistencies between API definitions and interview notes. After linking external directories, the artifact analysis phase reads files like Swagger and markdown, identifies complements and confirmations, and flags inconsistencies against the Phase 1 interview context for resolution.

When should I use product context aggregation in my documentation workflow?

You should use product context aggregation immediately after an initial product interview but before generating final documentation. It enriches product knowledge by verifying scattered reference artifacts, ensuring your documentation reflects verified sources rather than ad-hoc claims.

What happens if a provided path for external documentation does not exist?

If a provided path for external documentation does not exist, the filesystem validation step will detect the missing directory. The tool prompts users for absolute paths to existing documentation directories and validates their existence before proceeding with artifact analysis and symlink creation.