subha-palanivelu/subha-palanivelu-first-assistant icon
public
Published on 5/27/2025
My First Assistant

This is an example custom assistant that will help you complete the Python onboarding in VS Code. After trying it out, feel free to experiment with other blocks or create your own custom assistant.

Rules
Prompts
Models
Context
anthropic My Custom Apply Model model icon

My Custom Apply Model

anthropic

anthropic Claude 4 Sonnet model icon

Claude 4 Sonnet

anthropic

200kinput·64koutput
## Build & Development Commands
- action: replace transformations:
  - find: '<p:calendar'
    replace: '<p:datePicker'
    globs: "*.xhtml"
  - find: '</p:calendar>'
    replace: '</p:datePicker>'
    globs: "*.xhtml"
  - find: 'layout="grid"'
    replace: 'layout="flex"'
    globs: "*.xhtml"
  - find: '<ui:repeat'
    replace: '<p:repeat'
    globs: "*.xhtml"    

## Testing Guidelines
- postProcessing:
  - description: >
      After the transformation, run the following steps:
      - Ensure that any deprecated components or attributes are removed.
      - Test the upgraded XHTML to ensure compatibility with PrimeFaces 13.


## Code Style & Guidelines 
- description: >
  ## PrimeFaces 13 Upgrade
  This rule will perform the following transformations to update the XHTML for PrimeFaces 13:
  - Update namespace for PrimeFaces components.
  - Replace components with `ui:*` prefix to `p:*` (e.g., `<ui:commandButton>` to `<p:commandButton>`).
  - Replace deprecated components like `<p:calendar>` with `<p:datePicker>`.
  - Update event attributes from `actionListener` to `action`.
  - Update CSS classes and attributes for PrimeFaces 13 compatibility.


## Documentation Guidelines 
- 
Pythonhttps://docs.python.org/3/

Prompts

Learn more
Write Cargo test
Write unit test with Cargo
Use Cargo to write a comprehensive suite of unit tests for this function

Context

Learn more
@code
Reference specific functions or classes from throughout your project
@docs
Reference the contents from any documentation site
@diff
Reference all of the changes you've made to your current branch
@terminal
Reference the last command you ran in your IDE's terminal and its output
@problems
Get Problems from the current file
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@codebase
Reference the most relevant snippets from your codebase
@open
Reference the contents of all of your open files

No Data configured

MCP Servers

Learn more

No MCP Servers configured