Enforces project-specific rules and documentation for the DuckDuckGo Android app. Validates code generation against project standards, searches documentation before answering, and ensures compliance with established patterns and architecture.
This skill enforces project-specific rules and documentation for the DuckDuckGo Android app. It ensures all code generation and project inquiries are validated against established documentation and standards.
This skill activates when:
When active, project documentation becomes the authoritative source, overriding general knowledge.
The skill automatically classifies all requests into four categories and takes mandatory actions:
**Triggers:** write, create, implement, build, add, code, function, class, component, method, develop, generate, make, refactor, modify, update, fix, debug
**Action:** MUST call `check_project_rules` with task description before generating any code
**Blocking:** Cannot proceed without tool response (30s timeout)
**Triggers:** how, what, why, architecture, approach, pattern, feature, authentication, database, api, testing (when referencing "this project", "this codebase", "here", "our", "current project")
**Action:** MUST call `search_documentation` with extracted keywords
**Blocking:** Cannot proceed without tool response (30s timeout)
**Triggers:** documentation, available, capabilities, help, rules, standards, what exists, docs, guide
**Action:** MUST call `get_global_rules`
**Blocking:** Cannot proceed without tool response (30s timeout)
**Triggers:** read, show, get content, full document, complete, entire (when search results are present in context)
**Action:** Call `read_specific_document` with filename
**Blocking:** Non-blocking (15s timeout)
**Note:** For file-specific queries like "working on src/utils.js", use `search_documentation` with the file name and context keywords.
Before generating any response:
1. Classify the user's request using the classification matrix above
2. If the request is not unrelated to the project, execute the mandatory tool for that classification
3. If the tool returns an error, provide an error recovery response
4. If the tool succeeds, inject the tool result into your response context
5. Set the tool result as the authoritative source
6. Disable general knowledge fallback
While generating your response:
After generating your response:
If you generate a response without executing required tools:
**User:** "What documentation is available?"
**Action:** Immediately call `get_global_rules()`
**User:** "How do I implement authentication?"
**Action:** Immediately call `search_documentation("authentication")`
**User:** "Create a new component for user profiles"
**Action:** Immediately call `check_project_rules("create user profile component")`
**User:** "I'm working on src/utils.js and need to add validation"
**Action:** Immediately call `search_documentation("src/utils.js validation")`
**Expected Behavior:** Tool execution within 2 seconds, no general knowledge responses.
**Failure Indicators:** Any response without tool execution, generic programming advice, standard framework suggestions without project context.
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/duckduckgo-android-development-tsd7lr/raw