Skip to content
Open
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ pnpm-debug.log*
.agents/
.claude/
skills-lock.json
branch_structure.json
temp_auto_push.bat
temp_interactive_push.bat
1 change: 1 addition & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { defineConfig } from "astro/config";

import tailwindcss from "@tailwindcss/vite";


// https://astro.build/config
export default defineConfig({
vite: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import { defineConfig } from "astro/config"
import node from "@astrojs/node"
import clerk from "@clerk/astro"


export default defineConfig({
integrations: [clerk()],
adapter: node({ mode: "standalone" }),
output: "server",
})
});
Comment on lines +5 to +10

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

actual=$(sha256sum packages/autoskills/skills-registry/clerk-astro-patterns/templates/astro-basic-auth/astro.config.mjs | awk '{print $1}')
expected=$(jq -r '."clerk-astro-patterns".sha256["templates/astro-basic-auth/astro.config.mjs"]' packages/autoskills/skills-registry/index.json)
test "$actual" = "$expected"

Repository: midudev/autoskills

Length of output: 199


🏁 Script executed:

python3 - <<'PY'
import hashlib, json, pathlib

file_path = pathlib.Path("packages/autoskills/skills-registry/clerk-astro-patterns/templates/astro-basic-auth/astro.config.mjs")
index_path = pathlib.Path("packages/autoskills/skills-registry/index.json")

data = file_path.read_bytes()
actual = hashlib.sha256(data).hexdigest()

index = json.loads(index_path.read_text())
expected = index["clerk-astro-patterns"]["sha256"]["templates/astro-basic-auth/astro.config.mjs"]

print("actual =", actual)
print("expected =", expected)
print("match =", actual == expected)
PY

Repository: midudev/autoskills

Length of output: 263


🏁 Script executed:

python3 - <<'PY'
import json, pathlib

index_path = pathlib.Path("packages/autoskills/skills-registry/index.json")
index = json.loads(index_path.read_text())

print("top-level keys:", list(index.keys())[:20])
for k, v in index.items():
    if isinstance(v, dict) and "sha256" in v:
        print("entry key:", k)
        print("sha256 keys sample:", list(v["sha256"].keys())[:20])
        break
PY

Repository: midudev/autoskills

Length of output: 221


🏁 Script executed:

python3 - <<'PY'
import pathlib

p = pathlib.Path("packages/autoskills/skills-registry/index.json")
text = p.read_text()
for needle in ["clerk", "astro", "templates/astro-basic-auth/astro.config.mjs"]:
    print(f"--- {needle} ---")
    for i, line in enumerate(text.splitlines(), 1):
        if needle in line:
            print(f"{i}: {line}")
PY

Repository: midudev/autoskills

Length of output: 4471


🏁 Script executed:

python3 - <<'PY'
import hashlib, json, pathlib

file_path = pathlib.Path("packages/autoskills/skills-registry/clerk-astro-patterns/templates/astro-basic-auth/astro.config.mjs")
index_path = pathlib.Path("packages/autoskills/skills-registry/index.json")

actual = hashlib.sha256(file_path.read_bytes()).hexdigest()
index = json.loads(index_path.read_text())
expected = index["skills"]["clerk-astro-patterns"]["sha256"]["templates/astro-basic-auth/astro.config.mjs"]

print("actual =", actual)
print("expected =", expected)
print("match =", actual == expected)
PY

Repository: midudev/autoskills

Length of output: 320


Actualiza el hash del template en el registro
packages/autoskills/skills-registry/index.json tiene sha256 desfasado para packages/autoskills/skills-registry/clerk-astro-patterns/templates/astro-basic-auth/astro.config.mjs; debería ser 0082ecc32befa3751c50dbae23bef6098fa2ede8f3c8ce7621836df837beb226.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@packages/autoskills/skills-registry/clerk-astro-patterns/templates/astro-basic-auth/astro.config.mjs`
around lines 5 - 10, Actualiza el registro de skills en index.json para que el
hash sha256 asociado a la plantilla astro-basic-auth/astro.config.mjs sea
0082ecc32befa3751c50dbae23bef6098fa2ede8f3c8ce7621836df837beb226, sin modificar
el contenido de la configuración ni otros hashes.

Loading