src/lya/infrastructure/skills/Library/bundled/project-continuity/SKILL.md
Ensure LLM works on existing projects using version control, never creates duplicate projects
npx skillsauth add Shojaeei/Lya project-continuityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
NEVER create a new project when an existing one should be improved.
When asked to fix, update, improve, or enhance something, the LLM MUST:
Before ANY code change, ALWAYS:
✅ CHECK: Is this an existing project?
- Look for: .git, pyproject.toml, package.json, requirements.txt, Cargo.toml
- If found → This is EXISTING project
- If not found → ASK user before creating new
✅ CHECK: What is the project root?
- Run: git rev-parse --show-toplevel
- Work within this directory
✅ BEFORE creating any file:
- Search for similar/existing files: Glob, Grep
- Check if functionality already exists
- Prefer modifying existing files over creating new ones
✅ Pattern to follow:
1. Search → 2. Read → 3. Modify (or create if truly new)
✅ Before starting work:
- git status (check current state)
- git log --oneline -5 (understand recent changes)
✅ During work:
- Make incremental commits
- Use descriptive commit messages
- Reference issue numbers if applicable
✅ After completing:
- git add <specific-files>
- git commit with proper message
- git push (if requested)
Create duplicate projects
/home/user/myproject, don't create /home/user/myproject-newCreate parallel implementations
auth.py exists, don't create auth_new.pyauth.py insteadStart from scratch without asking
Ignore existing code
Skip git for "small changes"
1. Understand: User wants existing X fixed
2. Search: Find where X is implemented
3. Read: Understand the existing implementation
4. Modify: Fix X in its current location
5. Test: Verify the fix works
6. Commit: git commit with descriptive message
1. Check: Does Y already exist?
2. If exists: Enhance it in place
3. If not:
a. Find the appropriate module
b. Check existing patterns
c. Add Y following those patterns
d. Update related files
1. Analyze: What is Z currently?
2. Identify: Where can improvements be made?
3. Refactor: Improve Z in place
4. Maintain: Backward compatibility where possible
5. Document: Update comments/docs
For significant changes:
# Create feature branch
git checkout -b feature/description
# Work on changes
# ... make modifications ...
# Commit incrementally
git add <files>
git commit -m "descriptive message"
# When ready to merge
git checkout main
git merge feature/description
# Clean up
git branch -d feature/description
When implementing changes:
| Priority | Action | When to Use | |----------|--------|-------------| | 1 | Modify existing file | Same functionality location | | 2 | Extend existing module | Adding to existing feature | | 3 | Create new file in existing module | New but related functionality | | 4 | Create new module | New major feature area |
User: "Fix the authentication bug"
LLM: "I'll create a new auth system in auth_v2.py"
Result: Two auth systems, confusion, technical debt
User: "Fix the authentication bug"
LLM:
1. Searches for auth-related files
2. Finds auth.py with the bug
3. Reads and understands the code
4. Fixes the specific bug
5. git commit -m "fix: resolve auth token expiration issue"
User: "Update the API to use new format"
LLM: Makes changes, no git operations
Result: No history, can't revert, can't track changes
User: "Update the API to use new format"
LLM:
1. git checkout -b feature/api-format-update
2. Modifies api.py
3. Updates tests
4. git add api.py tests/
5. git commit -m "feat: update API to use new format"
6. git checkout main && git merge feature/api-format-update
Before writing code, ask yourself:
If any answer is NO → STOP and correct approach.
This skill is ALWAYS ACTIVE for any code modification request:
The default behavior is: MODIFY EXISTING, DON'T CREATE NEW.
tools
A brief description of this skill's purpose
development
Web application testing principles. E2E, Playwright, deep audit strategies.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
testing
Advanced vulnerability analysis principles. OWASP 2025, Supply Chain Security, attack surface mapping, risk prioritization.