From 102ee9427bd00b51001b7ee9cd7c689e9e5e2adc Mon Sep 17 00:00:00 2001 From: Emanuel Almeida Date: Wed, 28 Oct 2026 16:02:41 +0000 Subject: [PATCH] =?UTF-8?q?chore(scripts):=20padroniza=20cabe=C3=A7alho=20?= =?UTF-8?q?dos=20scripts=20shell?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .specify/scripts/create-new-feature.sh | 5 +++++ .specify/scripts/setup-plan.sh | 5 +++++ scripts/check-task-prerequisites.sh | 7 ++++++- scripts/common.sh | 7 ++++++- scripts/create-new-feature.sh | 7 ++++++- scripts/get-feature-paths.sh | 7 ++++++- scripts/setup-plan.sh | 7 ++++++- scripts/update-agent-context.sh | 7 ++++++- 8 files changed, 46 insertions(+), 6 deletions(-) diff --git a/.specify/scripts/create-new-feature.sh b/.specify/scripts/create-new-feature.sh index da78927..23abd17 100644 --- a/.specify/scripts/create-new-feature.sh +++ b/.specify/scripts/create-new-feature.sh @@ -1,4 +1,9 @@ #!/bin/bash +# create-new-feature.sh +# Author: Descomplicar® Crescimento Digital +# Link: https://descomplicar.pt +# Copyright: 2025 Descomplicar® + # create-new-feature.sh - Spec-Driven Development Feature Creator # Usage: ./create-new-feature.sh --json "feature description" diff --git a/.specify/scripts/setup-plan.sh b/.specify/scripts/setup-plan.sh index 95bea79..61a57d8 100644 --- a/.specify/scripts/setup-plan.sh +++ b/.specify/scripts/setup-plan.sh @@ -1,4 +1,9 @@ #!/bin/bash +# setup-plan.sh +# Author: Descomplicar® Crescimento Digital +# Link: https://descomplicar.pt +# Copyright: 2025 Descomplicar® + # setup-plan.sh - Setup Implementation Plan with Context7 + Web Research integration # Usage: ./setup-plan.sh --json diff --git a/scripts/check-task-prerequisites.sh b/scripts/check-task-prerequisites.sh index b692fcd..57943ce 100644 --- a/scripts/check-task-prerequisites.sh +++ b/scripts/check-task-prerequisites.sh @@ -1,4 +1,9 @@ -#!/usr/bin/env bash +#!/bin/bash +# check-task-prerequisites.sh +# Author: Descomplicar® Crescimento Digital +# Link: https://descomplicar.pt +# Copyright: 2025 Descomplicar® + # Check that implementation plan exists and find optional design documents # Usage: ./check-task-prerequisites.sh [--json] diff --git a/scripts/common.sh b/scripts/common.sh index 310ce4e..dad7a62 100644 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -1,4 +1,9 @@ -#!/usr/bin/env bash +#!/bin/bash +# common.sh +# Author: Descomplicar® Crescimento Digital +# Link: https://descomplicar.pt +# Copyright: 2025 Descomplicar® + # Common functions and variables for all scripts # Get repository root diff --git a/scripts/create-new-feature.sh b/scripts/create-new-feature.sh index 3cd43b9..ac154c3 100644 --- a/scripts/create-new-feature.sh +++ b/scripts/create-new-feature.sh @@ -1,4 +1,9 @@ -#!/usr/bin/env bash +#!/bin/bash +# create-new-feature.sh +# Author: Descomplicar® Crescimento Digital +# Link: https://descomplicar.pt +# Copyright: 2025 Descomplicar® + # Create a new feature with branch, directory structure, and template # Usage: ./create-new-feature.sh "feature description" # ./create-new-feature.sh --json "feature description" diff --git a/scripts/get-feature-paths.sh b/scripts/get-feature-paths.sh index b1e1fbc..aa9e065 100644 --- a/scripts/get-feature-paths.sh +++ b/scripts/get-feature-paths.sh @@ -1,4 +1,9 @@ -#!/usr/bin/env bash +#!/bin/bash +# get-feature-paths.sh +# Author: Descomplicar® Crescimento Digital +# Link: https://descomplicar.pt +# Copyright: 2025 Descomplicar® + # Get paths for current feature branch without creating anything # Used by commands that need to find existing feature files diff --git a/scripts/setup-plan.sh b/scripts/setup-plan.sh index ea0e023..588d66f 100644 --- a/scripts/setup-plan.sh +++ b/scripts/setup-plan.sh @@ -1,4 +1,9 @@ -#!/usr/bin/env bash +#!/bin/bash +# setup-plan.sh +# Author: Descomplicar® Crescimento Digital +# Link: https://descomplicar.pt +# Copyright: 2025 Descomplicar® + # Setup implementation plan structure for current branch # Returns paths needed for implementation plan generation # Usage: ./setup-plan.sh [--json] diff --git a/scripts/update-agent-context.sh b/scripts/update-agent-context.sh index 21b77aa..7f5a7fd 100644 --- a/scripts/update-agent-context.sh +++ b/scripts/update-agent-context.sh @@ -1,4 +1,9 @@ -#!/usr/bin/env bash +#!/bin/bash +# update-agent-context.sh +# Author: Descomplicar® Crescimento Digital +# Link: https://descomplicar.pt +# Copyright: 2025 Descomplicar® + # Incrementally update agent context files based on new feature plan # Supports: CLAUDE.md, GEMINI.md, and .github/copilot-instructions.md # O(1) operation - only reads current context file and new plan.md