AGENTS.md
A Jekyll-based personal portfolio and blog on GitHub Pages at pedroreis.dev.
Dev Commands
bundle install # Install deps
bundle exec jekyll serve # Dev server at http://localhost:4000
bundle exec jekyll build # Build to _site/
No tests, linting, or typechecking.
Architecture
- Minimal Jekyll: only plugin is
jekyll-sitemap;_config.ymlsets justurl. - Custom domain:
CNAMEfile at root points topedroreis.dev. - Gemfile.lock is gitignored — unusual; commit it if you need reproducible builds.
-
Navigation: Top nav bar (
_includes/navigation.html) is rendered in_layouts/default.htmlvia `<nav class="site-nav">
</nav>
. Menu items come from _data/navigation.yml. Active state uses exact URL match except for Blog, which highlights on any /blog/…` path.
-
Social links in
_data/links.yml— rendered on the homepage as pill buttons with inline SVG icons via `GitHub </a>
LinkedIn </a>
Twitter </a>
Strava </a>
Email </a>
`.
- Projects:
index.htmlshows 6 featured projects from_data/repos.json;/projects.htmlshows the full list. assets/js/script.jsis a singleconsole.log("Welcome!")— purely decorative._site/is generated and gitignored — never edit directly.
repos.json Automation
_data/repos.json is populated from the GitHub API:
- Manual:
./.github/skills/update-repos-json/scripts/fetch-repos.sh [username](requiresjq+GITHUB_TOKENin.env). - Auto:
.github/workflows/update-repos.ymlruns on every push tomainand commits changes if repos changed. - Private and archived repos are filtered out by default.
Content
- Posts:
_posts/YYYY-MM-DD-title.mdwith front matterlayout: post,title,author. - Projects: edit
_data/repos.jsonor re-run the fetch script. - Navigation: edit
_data/navigation.yml(then wire it into a layout if you want it visible).
Styling
assets/css/style.css— full custom design system with CSS variables for light and dark mode (--bg,--surface,--accent,--text).- Inter font loaded via Google Fonts.
- Responsive breakpoints at 900px (2-col grid) and 640px (single column / stacked hero).
- Prefer edits in
style.css; avoid new styling systems.