### Install Project Dependencies Source: https://github.com/djebaz/chatgptpanel/blob/main/README.md Installs all necessary packages for the project. Run this after cloning the repository. ```powershell npm install ``` -------------------------------- ### Coverage Audit Configuration Example Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/release-signal-config-task-prompt-focused.md Example JSON structure for coverageAudit, specifying required release signal files and path prefixes. ```json { "coverageAudit": { "requiredReleaseSignalFiles": [], "requiredReleaseSignalPathPrefixes": [] } } ``` -------------------------------- ### Check Code Formatting Source: https://github.com/djebaz/chatgptpanel/blob/main/README.md Checks the code formatting across the project without modifying any files. Use this to see if your code adheres to the project's style guide. ```powershell # Check formatting without rewriting files npm run format ``` -------------------------------- ### Rewrite Code Formatting Source: https://github.com/djebaz/chatgptpanel/blob/main/README.md Automatically formats the code across the project to match the project's style guide. Use this to fix formatting issues. ```powershell # Rewrite formatted files npm run format:write ``` -------------------------------- ### Get Next PR Number for Release Audit Docs Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/release-signal-config-task-prompt-focused.md This command helps capture the next available PR number for release-audit documentation, even if the main branch is behind or the current branch was rebased. ```powershell gh pr list --state all --limit 1 --json number --jq '.[0].number + 1' ``` -------------------------------- ### Build Production Extension Source: https://github.com/djebaz/chatgptpanel/blob/main/devdocs/usage-and-release.md Command to package the extension for production. Uses PowerShell with specific execution policy bypass. ```powershell pwsh -NoProfile -ExecutionPolicy Bypass -File .\scripts\package-extension.ps1 ``` -------------------------------- ### Format Entire Repository Source: https://github.com/djebaz/chatgptpanel/blob/main/README.md Formats all files in the repository, including workflows and developer documentation. This ensures consistency across the entire project. ```powershell # Format the full repo, including workflows and devdocs npm run format:all ``` -------------------------------- ### Run Compact Validation from Repository Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md Execute the PowerShell script for compact release signal configuration validation. Ensure you are in the repository's root directory. ```powershell cd C:\path\to\repo pwsh -NoProfile -File 'scripts/release-signal-config/check-release-signal-config.ps1' ``` -------------------------------- ### Run All Tests Source: https://github.com/djebaz/chatgptpanel/blob/main/README.md Executes the full test suite, including manifest validation, unit tests, and end-to-end tests. This is the primary command for local testing. ```powershell # Run the package test script npm test ``` -------------------------------- ### Run ESLint Source: https://github.com/djebaz/chatgptpanel/blob/main/README.md Executes ESLint to check for code quality and potential errors. This helps maintain code consistency and catch bugs early. ```powershell # Run ESLint npm run lint ``` -------------------------------- ### Release Signal Configuration File Structure Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md The JSON configuration for the release signal system should include version, project details, signal thresholds, conditional file rules, labels, and documentation policy. ```text scripts/release-signal-config.json ``` -------------------------------- ### Dev Build Command Source: https://github.com/djebaz/chatgptpanel/blob/main/devdocs/devbuild-logging.md Use this PowerShell command to initiate a development build. It bypasses profile and execution policy restrictions and specifies the development build flag. ```powershell pwsh -NoProfile -ExecutionPolicy Bypass -File .\scripts\package-extension.ps1 -DevBuild ``` -------------------------------- ### Release Signal Coverage Calculation Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/release-signal-config-task-prompt-focused.md This defines how to calculate the release signal coverage, focusing on highSignal and conditionalFiles. ```text release-signal coverage = highSignal + conditionalFiles ``` -------------------------------- ### Run from Any Directory with Explicit Repo Path Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md Execute the PowerShell validation script from any directory by specifying the repository root path using the -RepoRoot parameter. ```powershell pwsh -NoProfile -File 'scripts/release-signal-config/check-release-signal-config.ps1' ` -RepoRoot 'C:\path\to\repo' ``` -------------------------------- ### Run Release Signal Test Script Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md Execute the release signal test script from the repository's root directory. This script performs tests and provides results regarding release likelihood. ```powershell cd C:\path\to\repo pwsh -NoProfile -File 'scripts/release-signal-config/test-script.ps1' ``` -------------------------------- ### Publish Local Release Source: https://github.com/djebaz/chatgptpanel/blob/main/README.md Publishes a new release locally after the version-bump PR is merged. This command validates the branch and version, packages the extension, creates and pushes a tag, publishes the GitHub release, uploads the zip asset, and verifies the upload. ```powershell npm run release -- -Version "2.0.2" ``` -------------------------------- ### PR Body Format for Release Signal Config Check Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/release-signal-config-task-prompt-focused.md This markdown snippet shows the required format for including validator output in the PR body. Ensure the command used is also included. ```markdown ### Release Signal Config Check Command used: `python scripts\release-signal-config\check-release-signal-config.py` ```text ``` ``` -------------------------------- ### PowerShell Commands for File Operations Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md A list of preferred PowerShell 7+ commands for interacting with files and JSON data within the release signal system. ```powershell Get-ChildItem Get-Content Set-Content Test-Path Join-Path ConvertFrom-Json ConvertTo-Json Select-String ``` -------------------------------- ### Git Commands for Tracking Changes Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/release-signal-config-task-prompt-focused.md Use these git commands to identify file and folder modifications, additions, deletions, and renames since the last configuration update. ```powershell git status --short git log -1 --format=%H -- scripts/release-signal-config.json git diff --name-status ..HEAD ``` -------------------------------- ### Test Script for Release Signal Configuration Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md A test script within the release signal configuration directory, used for verifying the functionality of the release signal system. ```powershell scripts/release-signal-config/test-script.ps1 ``` -------------------------------- ### Execute Test Script for Release Signal Script Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md Test the execution of the release-signal script against a branch difference. This script helps verify the functionality of `scripts/check-release-signal.ps1`. ```powershell pwsh -NoProfile -File 'scripts/release-signal-config/test-script.ps1' ``` -------------------------------- ### Conditional File Rule: Token Any vs. Token All (JavaScript) Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md This rule type is used for JavaScript files to classify releases based on changes to user-facing tokens or actions versus helper-only tokens. It handles ambiguous cases by defaulting to release-significant. ```text token_any_vs_token_all ``` -------------------------------- ### Validate Release Signal Config with Python Fallback Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/release-signal-config-task-prompt-focused.md Use this command as a fallback to validate the release signal configuration if PowerShell 7+ is unavailable. Requires Python 3.11+. ```python python scripts\release-signal-config\check-release-signal-config.py ``` -------------------------------- ### Execute Python Release Signal Config Validator with Explicit Repo Root Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md Run the Python 3.11+ fallback validator, specifying an explicit repository root path. This is useful when executing the script from outside the repository. ```python python scripts/release-signal-config/check-release-signal-config.py \ -RepoRoot 'C:\path\to\repo' ``` -------------------------------- ### PowerShell Script for Checking Release Signal Config Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md This script is part of the release signal configuration directory and likely assists in checking or validating the configuration. ```powershell scripts/release-signal-config/check-release-signal-config.ps1 ``` -------------------------------- ### Execute Python Release Signal Config Validator Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md Use the Python 3.11+ fallback validator when PowerShell 7+ is unavailable. This script performs equivalent configuration checks to the PowerShell version. Execute from any directory. ```python python scripts/release-signal-config/check-release-signal-config.py ``` -------------------------------- ### Run Manifest Validation Only Source: https://github.com/djebaz/chatgptpanel/blob/main/README.md Performs only the manifest validation tests. Useful for quickly checking configuration integrity. ```powershell # Run manifest validation only npm run test:unit ``` -------------------------------- ### Validate Release Signal Config with PowerShell Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/release-signal-config-task-prompt-focused.md Use this command to validate the release signal configuration using PowerShell 7+. It provides a compact summary by default. ```powershell pwsh -NoProfile -File 'scripts\release-signal-config\check-release-signal-config.ps1' ``` -------------------------------- ### Execute Verbose Python Release Signal Config Validator Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md Run the Python 3.11+ fallback validator with verbose output enabled for detailed per-check results. This is used when PowerShell 7+ is unavailable. ```python python scripts/release-signal-config/check-release-signal-config.py -Verbose ``` -------------------------------- ### Release Classification Model Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/release-signal-config-task-prompt-focused.md This is the precise model to use for release classification. It defines when a release is considered likely based on signal matching. ```text releaseLikely = matched highSignal OR matched release-significant conditionalFiles rule OR release:needed label override ``` -------------------------------- ### Release Signal Configuration Schema Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md The schema validates the release signal configuration, enforcing strictness by disallowing additional properties. ```text scripts/release-signal-config.schema.json ``` -------------------------------- ### Verbose Validation with Python Fallback Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/release-signal-config-task-prompt-focused.md Run the Python validator with the -Verbose flag for detailed per-check output when PowerShell 7+ is unavailable. ```python python scripts\release-signal-config\check-release-signal-config.py -Verbose ``` -------------------------------- ### Conditional File Classification Logic Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/release-signal-config-task-prompt-focused.md This table outlines the classification logic for conditional files based on the nature of the changes detected. ```text user-facing token, selector, metadata, parser, UI, or shipped behavior change | release-significant every non-trivial changed line is safely cleanup-only | non-release ambiguous, mixed, or not safely cleanup-only | release-significant ``` -------------------------------- ### Execute PowerShell Release Signal Config Validator Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md Run the comprehensive PowerShell configuration validation script. It checks JSON structure, field completeness, file presence, release-signal coverage, rule consistency, and git alignment. Execute from any directory. ```powershell pwsh -NoProfile -File 'scripts/release-signal-config/check-release-signal-config.ps1' ``` -------------------------------- ### Generic PowerShell Release Signal Evaluator Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md This PowerShell script serves as a generic evaluator for the release signal system. It should not contain project-specific file lists or release reasons. ```powershell scripts/check-release-signal.ps1 ``` -------------------------------- ### Execute Verbose PowerShell Release Signal Config Validator Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md Run the PowerShell configuration validation script with verbose output enabled. This shows detailed per-check results and section headers. Execute from any directory. ```powershell pwsh -NoProfile -File 'scripts/release-signal-config/check-release-signal-config.ps1' -Verbose ``` -------------------------------- ### Verbose Validation with PowerShell Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/release-signal-config-task-prompt-focused.md Run the PowerShell validator with the -Verbose flag for detailed per-check output. ```powershell pwsh -NoProfile -File 'scripts\release-signal-config\check-release-signal-config.ps1' -Verbose ``` -------------------------------- ### Python Release Signal Evaluator Source: https://github.com/djebaz/chatgptpanel/blob/main/scripts/release-signal-config/SKILL.md A Python script used as a fallback validator for the release signal system when PowerShell 7+ is not available. Requires Python 3.11+. ```python scripts/release-signal-config/check-release-signal-config.py ``` -------------------------------- ### Run Playwright End-to-End Tests Only Source: https://github.com/djebaz/chatgptpanel/blob/main/README.md Executes only the end-to-end tests using Playwright. This is useful for debugging UI interactions. ```powershell # Run Playwright E2E only npm run test:e2e ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.