context-map

Generate a context map of files, dependencies, and tests for Protheus ADVPL/TLPP changes.

115|54|Updated May 25, 2026
One-click install
npx skills add https://github.com/totvs/engpro-advpl-tlpp-skills --skill context-map-totvs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-map
Source: https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/context-map
Command: npx skills add https://github.com/totvs/engpro-advpl-tlpp-skills --skill context-map-totvs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents risky, incomplete modifications by helping you understand which files, dependencies, tests, and existing patterns are relevant before implementing changes.

Core Features & Use Cases

  • Pre-implementation codebase analysis: identifies all files related to a task so you can plan changes more accurately.
  • Dependency and test discovery: surfaces direct dependencies and likely affected tests to reduce regressions.
  • Reference pattern matching: locates similar implementations to follow established conventions in the codebase.
  • Risk assessment checklist: prompts you to consider breaking changes, migrations, and configuration impacts.

Quick Start

Ask the AI to generate a context map for your change by providing what you want to implement and the relevant scope, such as: “Map the codebase for this ADVPL/TLPP change and list files to modify, dependencies, tests, and reference patterns before starting implementation.”

Frequently Asked Questions about context-map

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

FAQPage Schema
What is a codebase context map for Protheus ADVPL changes?

A codebase context map identifies all relevant files, dependencies, and tests before implementing Protheus ADVPL or TLPP changes. It surfaces direct dependencies and reference patterns to prevent risky modifications and reduce regressions.

How do I map impacted files before modifying an ADVPL codebase?

To map impacted files before modifying an ADVPL codebase, analyze the task scope to search related files, identify direct dependencies, locate affected tests, and find reference patterns matching established conventions.

Can I use context mapping to identify test impact for TLPP codebases?

Yes, you can use context mapping to identify test impact for TLPP codebases by discovering likely affected tests during the pre-implementation analysis phase. This dependency discovery reduces the risk of regressions.

What's the best way to plan code changes in a Protheus codebase?

The best way to plan Protheus code changes is generating a context map that identifies files to modify, dependencies, tests, and reference patterns. This structured risk assessment ensures incomplete modifications are caught before implementation.

Does context mapping include a risk assessment for breaking changes?

Yes, context mapping includes a risk assessment checklist that prompts you to consider breaking changes, migrations, and configuration impacts. This assessment must be structured for reviewer approval before any code modifications begin.

Why should I analyze reference patterns before implementing TLPP code?

You should analyze reference patterns before implementing TLPP code to locate similar existing implementations and follow established conventions. This matching process ensures new changes align with the current codebase structure.