Skip to content

Instantly share code, notes, and snippets.

# Feature Brief Template & AI Prompts for VS Code
This document contains a template for a detailed "Feature Brief" and a series of prompts to use with GitHub Copilot Chat to analyze requirements and generate user stories for Azure DevOps.
---
## Part 1: Feature Brief Template
*Create a new file named `feature-brief.md` in your VS Code workspace and paste the following template into it. Fill it out with the specifics of your feature.*
@GJivan
GJivan / cleanup_mirrors.sh
Created August 31, 2025 17:06
Repo Clones
#!/bin/bash
# Exit immediately if a command exits with a non-zero status.
set -e
#################################################################
# CONFIGURE THESE VARIABLES (Should match mirror_version.sh) #
#################################################################
# Your personal GitHub username where the mirrored repos exist.
# Enable git prompt functionality
source /usr/share/git-core/contrib/completion/git-prompt.sh
# Set the PS1
PS1='\u@\h:\[\033[34m\]\w\[\033[32m\]$(__git_ps1)\[\033[0m\] \$ '
const fs = require('fs');
const path = require('path');
const envFilePath = path.resolve(__dirname, '.env');
// Function to read the .env file and return its content as an array of lines
function readEnvFile() {
return fs.readFileSync(envFilePath, 'utf8').split('\n');
}
@GJivan
GJivan / pingWithTimestamp.bat
Created January 17, 2022 23:19
Ping Bat Script with TimeStamp
@echo off
Rem ######## Replace Log File Location ##########
set logfile=logFile1.txt
echo.
set /p IP="Enter IP Address to ping: "
echo.
echo.
set /p INTERVAL="Enter time (in seconds) to wait between pings: "